@likec4/diagram 1.30.0 → 1.31.0
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/README.md +324 -5
- package/bundle/chunk-BBzMXzCg.js +21383 -0
- package/bundle/custom.js +62 -0
- package/bundle/index.js +17459 -38163
- package/dist/LikeC4CustomColors.js +2 -2
- package/dist/LikeC4Diagram.d.ts +1 -1
- package/dist/LikeC4Diagram.js +4 -2
- package/dist/LikeC4Diagram.props.d.ts +6 -1
- package/dist/LikeC4ModelProvider.d.ts +3 -3
- package/dist/LikeC4ModelProvider.js +0 -1
- package/dist/StaticLikeC4Diagram.d.ts +1 -1
- package/dist/base/BaseXYFlow.js +3 -3
- package/dist/base/primitives/compound/CompoundActionButton.d.ts +3 -2
- package/dist/base/primitives/compound/CompoundDetailsButton.d.ts +3 -2
- package/dist/base/primitives/compound/CompoundNodeContainer.d.ts +7 -3
- package/dist/base/primitives/compound/CompoundNodeContainer.js +3 -2
- package/dist/base/primitives/customEdge.d.ts +2 -35
- package/dist/base/primitives/customEdge.js +2 -2
- package/dist/base/primitives/customNode.d.ts +2 -2
- package/dist/base/primitives/customNode.js +9 -2
- package/dist/base/primitives/edge/EdgeContainer.js +0 -1
- package/dist/base/primitives/edge/EdgeLabel.js +0 -1
- package/dist/base/primitives/edge/EdgeLabelContainer.js +0 -2
- package/dist/base/primitives/edge/EdgePath.js +2 -2
- package/dist/base/primitives/element/ElementNodeContainer.d.ts +24 -22
- package/dist/base/primitives/element/ElementNodeContainer.js +66 -68
- package/dist/base/primitives/element/ElementShape.d.ts +8 -4
- package/dist/base/primitives/element/ElementShape.js +4 -3
- package/dist/base/primitives/element/ElementTitle.css.d.ts +1 -1
- package/dist/base/primitives/element/ElementTitle.js +0 -1
- package/dist/base/types.d.ts +5 -5
- package/dist/bundle/LikeC4View.js +6 -3
- package/dist/bundle/LikeC4View.props.d.ts +5 -1
- package/dist/bundle/ReactLikeC4.js +1 -2
- package/dist/bundle/ShadowRoot.js +3 -3
- package/dist/bundle/custom.d.ts +1 -0
- package/dist/bundle/index.d.ts +3 -1
- package/dist/bundle/index.js +9 -0
- package/dist/bundle/styles.css.js +5 -5
- package/dist/components/SearchControl.js +2 -2
- package/dist/context/ControlsCustomLayout.js +0 -1
- package/dist/context/DiagramEventHandlers.js +5 -5
- package/dist/context/DiagramFeatures.d.ts +2 -4
- package/dist/context/DiagramFeatures.js +15 -16
- package/dist/context/EnsureMantine.js +9 -4
- package/dist/context/FramerMotionConfig.js +0 -1
- package/dist/context/IconRenderer.js +7 -7
- package/dist/context/ReduceGraphics.js +6 -6
- package/dist/context/RootContainer.js +5 -5
- package/dist/context/index.d.ts +1 -1
- package/dist/custom/components.d.ts +5 -0
- package/dist/custom/customNodes.d.ts +218 -0
- package/dist/custom/hooks.d.ts +10 -0
- package/dist/custom/index.d.ts +4 -0
- package/dist/hooks/safeContext.js +3 -3
- package/dist/hooks/useCurrentViewId.d.ts +5 -1
- package/dist/hooks/useCurrentViewId.js +1 -2
- package/dist/hooks/useDiagram.d.ts +14 -12544
- package/dist/hooks/useDiagram.js +3 -5
- package/dist/hooks/useMantinePortalProps.js +2 -2
- package/dist/hooks/useSetState.js +3 -3
- package/dist/hooks/useUpdateEffect.js +0 -1
- package/dist/hooks/useXYFlow.d.ts +64 -64
- package/dist/hooks/useXYFlow.js +2 -2
- package/dist/index.d.ts +2 -4
- package/dist/index.js +8 -3
- package/dist/likec4diagram/DiagramUI.js +2 -2
- package/dist/likec4diagram/DiagramXYFlow.d.ts +1 -1
- package/dist/likec4diagram/DiagramXYFlow.js +25 -7
- package/dist/likec4diagram/custom/edges/NotePopover.js +2 -2
- package/dist/likec4diagram/custom/edges/RelationshipEdge.d.ts +9 -13
- package/dist/likec4diagram/custom/edges/RelationshipEdge.js +8 -8
- package/dist/likec4diagram/custom/edges/RelationshipsDropdownMenu.js +14 -12
- package/dist/likec4diagram/custom/index.d.ts +15 -19
- package/dist/likec4diagram/custom/index.js +3 -3
- package/dist/likec4diagram/custom/nodes/CompoundActions.js +2 -2
- package/dist/likec4diagram/custom/nodes/ElementActions.d.ts +27 -4
- package/dist/likec4diagram/custom/nodes/ElementActions.js +67 -53
- package/dist/likec4diagram/custom/nodes/index.d.ts +8 -0
- package/dist/likec4diagram/custom/nodes/nodes.d.ts +10 -0
- package/dist/likec4diagram/custom/nodes/{nodeTypes.js → nodes.js} +39 -39
- package/dist/likec4diagram/custom/nodes/toolbar/ColorButton.js +2 -2
- package/dist/likec4diagram/custom/nodes/toolbar/CompoundToolbar.js +6 -7
- package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +3 -3
- package/dist/likec4diagram/custom/nodes/toolbar/Toolbar.d.ts +3 -2
- package/dist/likec4diagram/custom/nodes/toolbar/Toolbar.js +2 -2
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.d.ts +2 -2
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +2 -2
- package/dist/likec4diagram/types.d.ts +15 -7
- package/dist/likec4diagram/ui/controls/ChangeAutoLayoutButton.js +4 -4
- package/dist/likec4diagram/ui/controls/Controls.js +2 -2
- package/dist/likec4diagram/ui/diagram-title/DiagramTitlePanel.js +2 -2
- package/dist/likec4diagram/ui/notation/NotationPanel.js +6 -8
- package/dist/likec4diagram/ui/search/ElementsColumn.js +6 -7
- package/dist/likec4diagram/ui/search/LikeC4Search.js +3 -3
- package/dist/likec4diagram/ui/search/SearchInput.js +0 -1
- package/dist/likec4diagram/ui/search/_shared.css.d.ts +1 -1
- package/dist/likec4diagram/ui/search/state.js +3 -4
- package/dist/likec4diagram/ui/walkthrough/DynamicViewWalkthrough.js +4 -4
- package/dist/likec4diagram/useLayoutConstraints.js +3 -4
- package/dist/likec4diagram/useViewToNodesEdges.js +2 -0
- package/dist/likec4model/LikeC4ModelContext.d.ts +2 -2
- package/dist/likec4model/LikeC4ModelContext.js +2 -2
- package/dist/likec4model/useLikeC4ElementsTree.d.ts +1 -1
- package/dist/likec4model/useLikeC4ElementsTree.js +3 -3
- package/dist/likec4model/useLikeC4Model.d.ts +1 -1
- package/dist/likec4model/useLikeC4Model.js +2 -2
- package/dist/overlays/Overlays.d.ts +2 -3
- package/dist/overlays/Overlays.js +5 -6
- package/dist/overlays/element-details/ElementDetailsCard.css.js +13 -9
- package/dist/overlays/element-details/ElementDetailsCard.js +98 -105
- package/dist/overlays/element-details/TabPanelDeployments.js +4 -4
- package/dist/overlays/element-details/TabPanelRelationships.js +2 -2
- package/dist/overlays/element-details/TabPanelStructure.js +3 -3
- package/dist/overlays/element-details/actor.d.ts +6905 -19690
- package/dist/overlays/element-details/actor.js +0 -2
- package/dist/overlays/element-details/actorContext.js +3 -3
- package/dist/overlays/overlay/Overlay.d.ts +11 -1
- package/dist/overlays/overlay/Overlay.js +8 -8
- package/dist/overlays/overlaysActor.d.ts +4 -2
- package/dist/overlays/overlaysActor.js +2 -1
- package/dist/overlays/relationship-details/RelationshipDetails.d.ts +4 -8
- package/dist/overlays/relationship-details/RelationshipDetails.js +12 -12
- package/dist/overlays/relationship-details/SelectEdge.js +2 -3
- package/dist/overlays/relationship-details/_types.d.ts +6 -5
- package/dist/overlays/relationship-details/actor.d.ts +3 -3
- package/dist/overlays/relationship-details/compute.js +3 -3
- package/dist/overlays/relationship-details/custom/edgeTypes.d.ts +4 -8
- package/dist/overlays/relationship-details/custom/edgeTypes.js +2 -2
- package/dist/overlays/relationship-details/custom/nodeTypes.d.ts +3 -31
- package/dist/overlays/relationship-details/hooks.d.ts +27 -27
- package/dist/overlays/relationship-details/hooks.js +4 -4
- package/dist/overlays/relationship-details/layout.js +2 -3
- package/dist/overlays/relationships-browser/RelationshipsBrowser.d.ts +4 -8
- package/dist/overlays/relationships-browser/RelationshipsBrowser.js +8 -8
- package/dist/overlays/relationships-browser/SelectElement.js +5 -5
- package/dist/overlays/relationships-browser/_types.d.ts +6 -5
- package/dist/overlays/relationships-browser/actor.d.ts +63 -428
- package/dist/overlays/relationships-browser/custom/edgeTypes.d.ts +4 -8
- package/dist/overlays/relationships-browser/custom/edgeTypes.js +2 -2
- package/dist/overlays/relationships-browser/custom/nodeTypes.d.ts +10 -14
- package/dist/overlays/relationships-browser/custom/nodeTypes.js +1 -2
- package/dist/overlays/relationships-browser/hooks.d.ts +4 -61
- package/dist/overlays/relationships-browser/hooks.js +4 -4
- package/dist/overlays/relationships-browser/layout.js +3 -4
- package/dist/state/DiagramActorProvider.js +3 -3
- package/dist/state/diagram-machine.d.ts +186 -10369
- package/dist/state/diagram-machine.js +2 -1
- package/dist/state/hotkeyActor.d.ts +4 -2
- package/dist/state/syncManualLayoutActor.d.ts +14 -3
- package/dist/state/syncManualLayoutActor.js +2 -1
- package/dist/state/types.d.ts +5 -4
- package/dist/state/utils.d.ts +1 -1
- package/dist/styles-font.css +1 -0
- package/dist/styles-min.css +1 -0
- package/dist/styles-xyflow.css +1 -0
- package/dist/styles.css +1 -0
- package/dist/styles.css2.js +3 -0
- package/package.json +46 -21
- package/panda.buildinfo.json +979 -0
- package/src/LikeC4Diagram.props.ts +7 -1
- package/src/LikeC4Diagram.tsx +2 -0
- package/src/LikeC4ModelProvider.tsx +3 -3
- package/src/StaticLikeC4Diagram.tsx +1 -0
- package/src/base/Background.tsx +0 -4
- package/src/base/primitives/compound/CompoundActionButton.tsx +7 -4
- package/src/base/primitives/compound/CompoundDetailsButton.tsx +7 -4
- package/src/base/primitives/compound/CompoundNodeContainer.tsx +8 -7
- package/src/base/primitives/customEdge.ts +1 -1
- package/src/base/primitives/{customNode.ts → customNode.tsx} +11 -3
- package/src/base/primitives/element/ElementNodeContainer.tsx +87 -80
- package/src/base/primitives/element/ElementShape.tsx +11 -10
- package/src/base/types.ts +28 -33
- package/src/bundle/LikeC4View.props.ts +6 -1
- package/src/bundle/LikeC4View.tsx +3 -0
- package/src/bundle/ReactLikeC4.tsx +1 -1
- package/src/bundle/custom.ts +1 -0
- package/src/bundle/index.ts +20 -1
- package/src/bundle/styles.css.ts +1 -1
- package/src/components/SearchControl.tsx +1 -1
- package/src/context/DiagramFeatures.tsx +12 -8
- package/src/context/EnsureMantine.tsx +13 -3
- package/src/context/IconRenderer.tsx +1 -1
- package/src/context/ReduceGraphics.tsx +6 -6
- package/src/context/index.ts +0 -1
- package/src/custom/components.ts +47 -0
- package/src/custom/customNodes.tsx +244 -0
- package/src/custom/hooks.ts +35 -0
- package/src/custom/index.ts +5 -0
- package/src/hooks/useCurrentViewId.ts +9 -1
- package/src/hooks/useDiagram.ts +30 -9
- package/src/index.ts +4 -8
- package/src/likec4diagram/DiagramXYFlow.tsx +28 -5
- package/src/likec4diagram/custom/edges/RelationshipEdge.tsx +1 -1
- package/src/likec4diagram/custom/edges/RelationshipsDropdownMenu.tsx +9 -7
- package/src/likec4diagram/custom/{index.tsx → index.ts} +2 -2
- package/src/likec4diagram/custom/nodes/CompoundActions.tsx +2 -2
- package/src/likec4diagram/custom/nodes/ElementActions.tsx +100 -57
- package/src/likec4diagram/custom/nodes/index.ts +17 -0
- package/src/likec4diagram/custom/nodes/{nodeTypes.tsx → nodes.tsx} +52 -36
- package/src/likec4diagram/custom/nodes/toolbar/CompoundToolbar.tsx +3 -4
- package/src/likec4diagram/custom/nodes/toolbar/ElementToolbar.tsx +3 -3
- package/src/likec4diagram/custom/nodes/toolbar/Toolbar.tsx +5 -4
- package/src/likec4diagram/types.ts +19 -9
- package/src/likec4diagram/ui/diagram-title/DiagramTitlePanel.tsx +1 -1
- package/src/likec4diagram/ui/notation/NotationPanel.tsx +1 -2
- package/src/likec4diagram/ui/search/ElementsColumn.tsx +2 -4
- package/src/likec4diagram/ui/walkthrough/DynamicViewWalkthrough.tsx +1 -1
- package/src/likec4diagram/useViewToNodesEdges.ts +2 -0
- package/src/likec4model/LikeC4ModelContext.ts +2 -2
- package/src/likec4model/useLikeC4ElementsTree.ts +3 -1
- package/src/likec4model/useLikeC4Model.ts +1 -1
- package/src/overlays/Overlays.tsx +2 -3
- package/src/overlays/element-details/ElementDetailsCard.css.ts +14 -22
- package/src/overlays/element-details/ElementDetailsCard.tsx +18 -16
- package/src/overlays/overlay/Overlay.tsx +3 -4
- package/src/overlays/overlaysActor.ts +4 -3
- package/src/overlays/relationship-details/RelationshipDetails.tsx +1 -1
- package/src/overlays/relationship-details/SelectEdge.tsx +0 -2
- package/src/overlays/relationship-details/_types.ts +16 -13
- package/src/overlays/relationship-details/custom/edgeTypes.tsx +2 -2
- package/src/overlays/relationships-browser/_types.ts +18 -15
- package/src/overlays/relationships-browser/actor.ts +2 -2
- package/src/overlays/relationships-browser/custom/edgeTypes.tsx +2 -2
- package/src/overlays/relationships-browser/custom/nodeTypes.tsx +1 -2
- package/src/state/DiagramActorProvider.tsx +2 -2
- package/src/state/diagram-machine.ts +13 -8
- package/src/state/hotkeyActor.ts +4 -2
- package/src/state/syncManualLayoutActor.ts +9 -3
- package/src/state/types.ts +9 -3
- package/src/state/utils.ts +3 -3
- package/src/styles-min.css +2 -0
- package/src/styles-xyflow.css +1 -0
- package/dist/_virtual/_commonjsHelpers.js +0 -5
- package/dist/_virtual/default-map.js +0 -7
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index2.js +0 -3
- package/dist/_virtual/react.production.js +0 -3
- package/dist/_virtual/set.js +0 -5
- package/dist/_virtual/set2.js +0 -3
- package/dist/base/xyflowMachine.d.ts +0 -212
- package/dist/likec4diagram/custom/nodes/nodeTypes.d.ts +0 -8
- package/dist/node_modules/.pnpm/mnemonist@0.40.3_patch_hash_5c12abb43fcff6fd81e53021b89075d53249640d165a2556cc1e58d71201a13a/node_modules/mnemonist/default-map.js +0 -172
- package/dist/node_modules/.pnpm/mnemonist@0.40.3_patch_hash_5c12abb43fcff6fd81e53021b89075d53249640d165a2556cc1e58d71201a13a/node_modules/mnemonist/set.js +0 -369
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react.production.js +0 -556
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/index.js +0 -15
- package/dist/packages/core/src/compute-view/relationships-view/compute.js +0 -123
- package/dist/packages/core/src/compute-view/relationships-view/utils.js +0 -68
- package/dist/packages/core/src/errors/index.js +0 -15
- package/dist/packages/core/src/model/connection/model/ConnectionModel.js +0 -121
- package/dist/packages/core/src/model/connection/model/find.js +0 -39
- package/dist/packages/core/src/model/connection/ops.js +0 -7
- package/dist/packages/core/src/utils/const.js +0 -3
- package/dist/packages/core/src/utils/fqn.js +0 -51
- package/dist/packages/core/src/utils/guards.js +0 -7
- package/dist/packages/core/src/utils/iterable/filter.js +0 -21
- package/dist/packages/core/src/utils/iterable/find.js +0 -21
- package/dist/packages/core/src/utils/iterable/map.js +0 -18
- package/dist/packages/core/src/utils/iterable/some.js +0 -21
- package/dist/packages/core/src/utils/iterable/to.js +0 -14
- package/dist/packages/core/src/utils/set.js +0 -48
- package/dist/packages/core/src/utils/string-hash.js +0 -13
- package/dist/styles.css.js +0 -3
- package/src/base/xyflowMachine.ts +0 -75
- /package/dist/{bundle/font.css.js → styles-font.css2.js} +0 -0
- /package/src/{bundle/font.css → styles-font.css} +0 -0
|
@@ -26,7 +26,7 @@ export type Input = {
|
|
|
26
26
|
enableSelectSubject?: boolean;
|
|
27
27
|
enableChangeScope?: boolean;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export interface Context {
|
|
30
30
|
subject: Fqn;
|
|
31
31
|
viewId: ViewId | null;
|
|
32
32
|
scope: 'global' | 'view';
|
|
@@ -39,7 +39,7 @@ export type Context = Readonly<{
|
|
|
39
39
|
navigateFromNode: string | null;
|
|
40
40
|
xynodes: RelationshipsBrowserTypes.Node[];
|
|
41
41
|
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
42
|
-
}
|
|
42
|
+
}
|
|
43
43
|
export type Events = {
|
|
44
44
|
type: 'xyflow.init';
|
|
45
45
|
instance: XYFLowInstance;
|
|
@@ -102,20 +102,7 @@ export type Events = {
|
|
|
102
102
|
} | {
|
|
103
103
|
type: 'close';
|
|
104
104
|
};
|
|
105
|
-
export declare const relationshipsBrowserLogic: StateMachine<
|
|
106
|
-
subject: Fqn;
|
|
107
|
-
viewId: ViewId | null;
|
|
108
|
-
scope: "global" | "view";
|
|
109
|
-
closeable: boolean;
|
|
110
|
-
enableSelectSubject: boolean;
|
|
111
|
-
enableChangeScope: boolean;
|
|
112
|
-
xyflow: XYFLowInstance | null;
|
|
113
|
-
xystore: XYStoreApi | null;
|
|
114
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
115
|
-
navigateFromNode: string | null;
|
|
116
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
117
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
118
|
-
}>, Events, {
|
|
105
|
+
export declare const relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
119
106
|
layouter?: ActorRefFromLogic< PromiseActorLogic<{
|
|
120
107
|
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
121
108
|
xynodes: RelationshipsBrowserTypes.Node[];
|
|
@@ -217,6 +204,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
217
204
|
focusable?: boolean;
|
|
218
205
|
type: "relationship";
|
|
219
206
|
data: {
|
|
207
|
+
hovered?: boolean;
|
|
208
|
+
active?: boolean;
|
|
209
|
+
dimmed?: Base.Dimmed;
|
|
220
210
|
sourceFqn: Fqn;
|
|
221
211
|
targetFqn: Fqn;
|
|
222
212
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -225,9 +215,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
225
215
|
navigateTo: ViewId | null;
|
|
226
216
|
line: RelationshipLineType;
|
|
227
217
|
existsInCurrentView: boolean;
|
|
228
|
-
hovered?: boolean;
|
|
229
|
-
active?: boolean;
|
|
230
|
-
dimmed?: Base.Dimmed;
|
|
231
218
|
};
|
|
232
219
|
}[];
|
|
233
220
|
xynodes: RelationshipsBrowserTypes.Node[];
|
|
@@ -270,6 +257,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
270
257
|
focusable?: boolean;
|
|
271
258
|
type: "relationship";
|
|
272
259
|
data: {
|
|
260
|
+
hovered?: boolean;
|
|
261
|
+
active?: boolean;
|
|
262
|
+
dimmed?: Base.Dimmed;
|
|
273
263
|
sourceFqn: Fqn;
|
|
274
264
|
targetFqn: Fqn;
|
|
275
265
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -278,9 +268,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
278
268
|
navigateTo: ViewId | null;
|
|
279
269
|
line: RelationshipLineType;
|
|
280
270
|
existsInCurrentView: boolean;
|
|
281
|
-
hovered?: boolean;
|
|
282
|
-
active?: boolean;
|
|
283
|
-
dimmed?: Base.Dimmed;
|
|
284
271
|
};
|
|
285
272
|
}[];
|
|
286
273
|
xynodes: RelationshipsBrowserTypes.Node[];
|
|
@@ -330,6 +317,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
330
317
|
focusable?: boolean;
|
|
331
318
|
type: "relationship";
|
|
332
319
|
data: {
|
|
320
|
+
hovered?: boolean;
|
|
321
|
+
active?: boolean;
|
|
322
|
+
dimmed?: Base.Dimmed;
|
|
333
323
|
sourceFqn: Fqn;
|
|
334
324
|
targetFqn: Fqn;
|
|
335
325
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -338,9 +328,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
338
328
|
navigateTo: ViewId | null;
|
|
339
329
|
line: RelationshipLineType;
|
|
340
330
|
existsInCurrentView: boolean;
|
|
341
|
-
hovered?: boolean;
|
|
342
|
-
active?: boolean;
|
|
343
|
-
dimmed?: Base.Dimmed;
|
|
344
331
|
};
|
|
345
332
|
}[];
|
|
346
333
|
xynodes: RelationshipsBrowserTypes.Node[];
|
|
@@ -361,20 +348,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
361
348
|
} & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
|
|
362
349
|
};
|
|
363
350
|
input: Input;
|
|
364
|
-
self: ActorRef<MachineSnapshot<
|
|
365
|
-
subject: Fqn;
|
|
366
|
-
viewId: ViewId | null;
|
|
367
|
-
scope: "global" | "view";
|
|
368
|
-
closeable: boolean;
|
|
369
|
-
enableSelectSubject: boolean;
|
|
370
|
-
enableChangeScope: boolean;
|
|
371
|
-
xyflow: XYFLowInstance | null;
|
|
372
|
-
xystore: XYStoreApi | null;
|
|
373
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
374
|
-
navigateFromNode: string | null;
|
|
375
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
376
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
377
|
-
}>, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
|
|
351
|
+
self: ActorRef<MachineSnapshot<Context, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
|
|
378
352
|
}) => {
|
|
379
353
|
subject: Fqn;
|
|
380
354
|
viewId: ViewId | null;
|
|
@@ -421,20 +395,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
421
395
|
readonly params: {
|
|
422
396
|
readonly duration: 0;
|
|
423
397
|
};
|
|
424
|
-
}, ActionFunction<
|
|
425
|
-
subject: Fqn;
|
|
426
|
-
viewId: ViewId | null;
|
|
427
|
-
scope: "global" | "view";
|
|
428
|
-
closeable: boolean;
|
|
429
|
-
enableSelectSubject: boolean;
|
|
430
|
-
enableChangeScope: boolean;
|
|
431
|
-
xyflow: XYFLowInstance | null;
|
|
432
|
-
xystore: XYStoreApi | null;
|
|
433
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
434
|
-
navigateFromNode: string | null;
|
|
435
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
436
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
437
|
-
}>, Events, Events, undefined, never, never, never, never, never>];
|
|
398
|
+
}, ActionFunction<Context, Events, Events, undefined, never, never, never, never, never>];
|
|
438
399
|
readonly target: "active";
|
|
439
400
|
}, {
|
|
440
401
|
readonly target: "initializing";
|
|
@@ -445,20 +406,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
445
406
|
readonly tags: readonly ["active"];
|
|
446
407
|
readonly on: {
|
|
447
408
|
readonly 'xyflow.nodeClick': {
|
|
448
|
-
readonly actions: ActionFunction<
|
|
449
|
-
subject: Fqn;
|
|
450
|
-
viewId: ViewId | null;
|
|
451
|
-
scope: "global" | "view";
|
|
452
|
-
closeable: boolean;
|
|
453
|
-
enableSelectSubject: boolean;
|
|
454
|
-
enableChangeScope: boolean;
|
|
455
|
-
xyflow: XYFLowInstance | null;
|
|
456
|
-
xystore: XYStoreApi | null;
|
|
457
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
458
|
-
navigateFromNode: string | null;
|
|
459
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
460
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
461
|
-
}>, {
|
|
409
|
+
readonly actions: ActionFunction<Context, {
|
|
462
410
|
type: "xyflow.nodeClick";
|
|
463
411
|
node: RelationshipsBrowserTypes.Node;
|
|
464
412
|
}, Events, undefined, {
|
|
@@ -519,20 +467,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
519
467
|
};
|
|
520
468
|
readonly 'xyflow.edgeClick': {
|
|
521
469
|
readonly guard: "hasViewId";
|
|
522
|
-
readonly actions: ActionFunction<
|
|
523
|
-
subject: Fqn;
|
|
524
|
-
viewId: ViewId | null;
|
|
525
|
-
scope: "global" | "view";
|
|
526
|
-
closeable: boolean;
|
|
527
|
-
enableSelectSubject: boolean;
|
|
528
|
-
enableChangeScope: boolean;
|
|
529
|
-
xyflow: XYFLowInstance | null;
|
|
530
|
-
xystore: XYStoreApi | null;
|
|
531
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
532
|
-
navigateFromNode: string | null;
|
|
533
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
534
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
535
|
-
}>, {
|
|
470
|
+
readonly actions: ActionFunction<Context, {
|
|
536
471
|
type: "xyflow.edgeClick";
|
|
537
472
|
edge: RelationshipsBrowserTypes.Edge;
|
|
538
473
|
}, Events, undefined, {
|
|
@@ -592,20 +527,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
592
527
|
}>, never, EventObject>;
|
|
593
528
|
};
|
|
594
529
|
readonly 'navigate.to': {
|
|
595
|
-
readonly actions: readonly [ ActionFunction<
|
|
596
|
-
subject: Fqn;
|
|
597
|
-
viewId: ViewId | null;
|
|
598
|
-
scope: "global" | "view";
|
|
599
|
-
closeable: boolean;
|
|
600
|
-
enableSelectSubject: boolean;
|
|
601
|
-
enableChangeScope: boolean;
|
|
602
|
-
xyflow: XYFLowInstance | null;
|
|
603
|
-
xystore: XYStoreApi | null;
|
|
604
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
605
|
-
navigateFromNode: string | null;
|
|
606
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
607
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
608
|
-
}>, {
|
|
530
|
+
readonly actions: readonly [ ActionFunction<Context, {
|
|
609
531
|
type: "navigate.to";
|
|
610
532
|
subject: Fqn;
|
|
611
533
|
fromNode?: string | undefined;
|
|
@@ -633,20 +555,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
633
555
|
readonly target: ".layouting";
|
|
634
556
|
};
|
|
635
557
|
readonly 'change.scope': {
|
|
636
|
-
readonly actions: ActionFunction<
|
|
637
|
-
subject: Fqn;
|
|
638
|
-
viewId: ViewId | null;
|
|
639
|
-
scope: "global" | "view";
|
|
640
|
-
closeable: boolean;
|
|
641
|
-
enableSelectSubject: boolean;
|
|
642
|
-
enableChangeScope: boolean;
|
|
643
|
-
xyflow: XYFLowInstance | null;
|
|
644
|
-
xystore: XYStoreApi | null;
|
|
645
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
646
|
-
navigateFromNode: string | null;
|
|
647
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
648
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
649
|
-
}>, {
|
|
558
|
+
readonly actions: ActionFunction<Context, {
|
|
650
559
|
type: "change.scope";
|
|
651
560
|
scope: "global" | "view";
|
|
652
561
|
}, Events, undefined, {
|
|
@@ -671,60 +580,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
671
580
|
readonly actions: {
|
|
672
581
|
readonly type: "xyflow:fitDiagram";
|
|
673
582
|
readonly params: (data: {
|
|
674
|
-
context:
|
|
675
|
-
subject: Fqn;
|
|
676
|
-
viewId: ViewId | null;
|
|
677
|
-
scope: "global" | "view";
|
|
678
|
-
closeable: boolean;
|
|
679
|
-
enableSelectSubject: boolean;
|
|
680
|
-
enableChangeScope: boolean;
|
|
681
|
-
xyflow: XYFLowInstance | null;
|
|
682
|
-
xystore: XYStoreApi | null;
|
|
683
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
684
|
-
navigateFromNode: string | null;
|
|
685
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
686
|
-
xyedges: {
|
|
687
|
-
id: string;
|
|
688
|
-
source: string;
|
|
689
|
-
target: string;
|
|
690
|
-
sourceHandle?: string | null;
|
|
691
|
-
targetHandle?: string | null;
|
|
692
|
-
animated?: boolean;
|
|
693
|
-
hidden?: boolean;
|
|
694
|
-
deletable?: boolean;
|
|
695
|
-
selectable?: boolean;
|
|
696
|
-
selected?: boolean;
|
|
697
|
-
markerStart?: EdgeMarkerType;
|
|
698
|
-
markerEnd?: EdgeMarkerType;
|
|
699
|
-
zIndex?: number;
|
|
700
|
-
ariaLabel?: string;
|
|
701
|
-
interactionWidth?: number;
|
|
702
|
-
label?: ReactNode;
|
|
703
|
-
labelStyle?: CSSProperties;
|
|
704
|
-
labelShowBg?: boolean;
|
|
705
|
-
labelBgStyle?: CSSProperties;
|
|
706
|
-
labelBgPadding?: [number, number];
|
|
707
|
-
labelBgBorderRadius?: number;
|
|
708
|
-
style?: CSSProperties;
|
|
709
|
-
className?: string;
|
|
710
|
-
reconnectable?: boolean | HandleType;
|
|
711
|
-
focusable?: boolean;
|
|
712
|
-
type: "relationship";
|
|
713
|
-
data: {
|
|
714
|
-
sourceFqn: Fqn;
|
|
715
|
-
targetFqn: Fqn;
|
|
716
|
-
relations: NonEmptyArray<RelationId>;
|
|
717
|
-
color: Color | undefined;
|
|
718
|
-
label: string | null;
|
|
719
|
-
navigateTo: ViewId | null;
|
|
720
|
-
line: RelationshipLineType;
|
|
721
|
-
existsInCurrentView: boolean;
|
|
722
|
-
hovered?: boolean;
|
|
723
|
-
active?: boolean;
|
|
724
|
-
dimmed?: Base.Dimmed;
|
|
725
|
-
};
|
|
726
|
-
}[];
|
|
727
|
-
}>;
|
|
583
|
+
context: Context;
|
|
728
584
|
event: {
|
|
729
585
|
type: "fitDiagram";
|
|
730
586
|
duration?: number;
|
|
@@ -738,35 +594,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
738
594
|
};
|
|
739
595
|
};
|
|
740
596
|
readonly 'xyflow.resized': {
|
|
741
|
-
readonly actions: readonly [ CancelAction<
|
|
742
|
-
subject: Fqn;
|
|
743
|
-
viewId: ViewId | null;
|
|
744
|
-
scope: "global" | "view";
|
|
745
|
-
closeable: boolean;
|
|
746
|
-
enableSelectSubject: boolean;
|
|
747
|
-
enableChangeScope: boolean;
|
|
748
|
-
xyflow: XYFLowInstance | null;
|
|
749
|
-
xystore: XYStoreApi | null;
|
|
750
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
751
|
-
navigateFromNode: string | null;
|
|
752
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
753
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
754
|
-
}>, {
|
|
597
|
+
readonly actions: readonly [ CancelAction<Context, {
|
|
755
598
|
type: "xyflow.resized";
|
|
756
|
-
}, undefined, Events>, ActionFunction<
|
|
757
|
-
subject: Fqn;
|
|
758
|
-
viewId: ViewId | null;
|
|
759
|
-
scope: "global" | "view";
|
|
760
|
-
closeable: boolean;
|
|
761
|
-
enableSelectSubject: boolean;
|
|
762
|
-
enableChangeScope: boolean;
|
|
763
|
-
xyflow: XYFLowInstance | null;
|
|
764
|
-
xystore: XYStoreApi | null;
|
|
765
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
766
|
-
navigateFromNode: string | null;
|
|
767
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
768
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
769
|
-
}>, {
|
|
599
|
+
}, undefined, Events>, ActionFunction<Context, {
|
|
770
600
|
type: "xyflow.resized";
|
|
771
601
|
}, Events, undefined, never, never, never, never, never>];
|
|
772
602
|
};
|
|
@@ -782,20 +612,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
782
612
|
readonly idle: {
|
|
783
613
|
readonly on: {
|
|
784
614
|
readonly 'xyflow.edgeMouseEnter': {
|
|
785
|
-
readonly actions: readonly [ ActionFunction<
|
|
786
|
-
subject: Fqn;
|
|
787
|
-
viewId: ViewId | null;
|
|
788
|
-
scope: "global" | "view";
|
|
789
|
-
closeable: boolean;
|
|
790
|
-
enableSelectSubject: boolean;
|
|
791
|
-
enableChangeScope: boolean;
|
|
792
|
-
xyflow: XYFLowInstance | null;
|
|
793
|
-
xystore: XYStoreApi | null;
|
|
794
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
795
|
-
navigateFromNode: string | null;
|
|
796
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
797
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
798
|
-
}>, {
|
|
615
|
+
readonly actions: readonly [ ActionFunction<Context, {
|
|
799
616
|
type: "xyflow.edgeMouseEnter";
|
|
800
617
|
edge: RelationshipsBrowserTypes.Edge;
|
|
801
618
|
}, Events, undefined, {
|
|
@@ -811,71 +628,19 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
811
628
|
update: LayoutRelationshipsViewResult;
|
|
812
629
|
}, EventObject>;
|
|
813
630
|
id: "layouter";
|
|
814
|
-
}, never, never, never, never>, CancelAction<
|
|
815
|
-
subject: Fqn;
|
|
816
|
-
viewId: ViewId | null;
|
|
817
|
-
scope: "global" | "view";
|
|
818
|
-
closeable: boolean;
|
|
819
|
-
enableSelectSubject: boolean;
|
|
820
|
-
enableChangeScope: boolean;
|
|
821
|
-
xyflow: XYFLowInstance | null;
|
|
822
|
-
xystore: XYStoreApi | null;
|
|
823
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
824
|
-
navigateFromNode: string | null;
|
|
825
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
826
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
827
|
-
}>, {
|
|
631
|
+
}, never, never, never, never>, CancelAction<Context, {
|
|
828
632
|
type: "xyflow.edgeMouseEnter";
|
|
829
633
|
edge: RelationshipsBrowserTypes.Edge;
|
|
830
|
-
}, undefined, Events>, CancelAction<
|
|
831
|
-
subject: Fqn;
|
|
832
|
-
viewId: ViewId | null;
|
|
833
|
-
scope: "global" | "view";
|
|
834
|
-
closeable: boolean;
|
|
835
|
-
enableSelectSubject: boolean;
|
|
836
|
-
enableChangeScope: boolean;
|
|
837
|
-
xyflow: XYFLowInstance | null;
|
|
838
|
-
xystore: XYStoreApi | null;
|
|
839
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
840
|
-
navigateFromNode: string | null;
|
|
841
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
842
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
843
|
-
}>, {
|
|
634
|
+
}, undefined, Events>, CancelAction<Context, {
|
|
844
635
|
type: "xyflow.edgeMouseEnter";
|
|
845
636
|
edge: RelationshipsBrowserTypes.Edge;
|
|
846
|
-
}, undefined, Events>, ActionFunction<
|
|
847
|
-
subject: Fqn;
|
|
848
|
-
viewId: ViewId | null;
|
|
849
|
-
scope: "global" | "view";
|
|
850
|
-
closeable: boolean;
|
|
851
|
-
enableSelectSubject: boolean;
|
|
852
|
-
enableChangeScope: boolean;
|
|
853
|
-
xyflow: XYFLowInstance | null;
|
|
854
|
-
xystore: XYStoreApi | null;
|
|
855
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
856
|
-
navigateFromNode: string | null;
|
|
857
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
858
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
859
|
-
}>, {
|
|
637
|
+
}, undefined, Events>, ActionFunction<Context, {
|
|
860
638
|
type: "xyflow.edgeMouseEnter";
|
|
861
639
|
edge: RelationshipsBrowserTypes.Edge;
|
|
862
640
|
}, Events, undefined, never, never, never, never, never>];
|
|
863
641
|
};
|
|
864
642
|
readonly 'xyflow.edgeMouseLeave': {
|
|
865
|
-
readonly actions: readonly [ ActionFunction<
|
|
866
|
-
subject: Fqn;
|
|
867
|
-
viewId: ViewId | null;
|
|
868
|
-
scope: "global" | "view";
|
|
869
|
-
closeable: boolean;
|
|
870
|
-
enableSelectSubject: boolean;
|
|
871
|
-
enableChangeScope: boolean;
|
|
872
|
-
xyflow: XYFLowInstance | null;
|
|
873
|
-
xystore: XYStoreApi | null;
|
|
874
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
875
|
-
navigateFromNode: string | null;
|
|
876
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
877
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
878
|
-
}>, {
|
|
643
|
+
readonly actions: readonly [ ActionFunction<Context, {
|
|
879
644
|
type: "xyflow.edgeMouseLeave";
|
|
880
645
|
edge: RelationshipsBrowserTypes.Edge;
|
|
881
646
|
}, Events, undefined, {
|
|
@@ -891,55 +656,16 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
891
656
|
update: LayoutRelationshipsViewResult;
|
|
892
657
|
}, EventObject>;
|
|
893
658
|
id: "layouter";
|
|
894
|
-
}, never, never, never, never>, CancelAction<
|
|
895
|
-
subject: Fqn;
|
|
896
|
-
viewId: ViewId | null;
|
|
897
|
-
scope: "global" | "view";
|
|
898
|
-
closeable: boolean;
|
|
899
|
-
enableSelectSubject: boolean;
|
|
900
|
-
enableChangeScope: boolean;
|
|
901
|
-
xyflow: XYFLowInstance | null;
|
|
902
|
-
xystore: XYStoreApi | null;
|
|
903
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
904
|
-
navigateFromNode: string | null;
|
|
905
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
906
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
907
|
-
}>, {
|
|
659
|
+
}, never, never, never, never>, CancelAction<Context, {
|
|
908
660
|
type: "xyflow.edgeMouseLeave";
|
|
909
661
|
edge: RelationshipsBrowserTypes.Edge;
|
|
910
|
-
}, undefined, Events>, ActionFunction<
|
|
911
|
-
subject: Fqn;
|
|
912
|
-
viewId: ViewId | null;
|
|
913
|
-
scope: "global" | "view";
|
|
914
|
-
closeable: boolean;
|
|
915
|
-
enableSelectSubject: boolean;
|
|
916
|
-
enableChangeScope: boolean;
|
|
917
|
-
xyflow: XYFLowInstance | null;
|
|
918
|
-
xystore: XYStoreApi | null;
|
|
919
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
920
|
-
navigateFromNode: string | null;
|
|
921
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
922
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
923
|
-
}>, {
|
|
662
|
+
}, undefined, Events>, ActionFunction<Context, {
|
|
924
663
|
type: "xyflow.edgeMouseLeave";
|
|
925
664
|
edge: RelationshipsBrowserTypes.Edge;
|
|
926
665
|
}, Events, undefined, never, never, never, never, never>];
|
|
927
666
|
};
|
|
928
667
|
readonly 'dim.nonhovered.edges': {
|
|
929
|
-
readonly actions: ActionFunction<
|
|
930
|
-
subject: Fqn;
|
|
931
|
-
viewId: ViewId | null;
|
|
932
|
-
scope: "global" | "view";
|
|
933
|
-
closeable: boolean;
|
|
934
|
-
enableSelectSubject: boolean;
|
|
935
|
-
enableChangeScope: boolean;
|
|
936
|
-
xyflow: XYFLowInstance | null;
|
|
937
|
-
xystore: XYStoreApi | null;
|
|
938
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
939
|
-
navigateFromNode: string | null;
|
|
940
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
941
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
942
|
-
}>, {
|
|
668
|
+
readonly actions: ActionFunction<Context, {
|
|
943
669
|
type: "dim.nonhovered.edges";
|
|
944
670
|
}, Events, undefined, {
|
|
945
671
|
src: "layouter";
|
|
@@ -957,20 +683,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
957
683
|
}, never, never, never, never>;
|
|
958
684
|
};
|
|
959
685
|
readonly 'undim.edges': {
|
|
960
|
-
readonly actions: ActionFunction<
|
|
961
|
-
subject: Fqn;
|
|
962
|
-
viewId: ViewId | null;
|
|
963
|
-
scope: "global" | "view";
|
|
964
|
-
closeable: boolean;
|
|
965
|
-
enableSelectSubject: boolean;
|
|
966
|
-
enableChangeScope: boolean;
|
|
967
|
-
xyflow: XYFLowInstance | null;
|
|
968
|
-
xystore: XYStoreApi | null;
|
|
969
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
970
|
-
navigateFromNode: string | null;
|
|
971
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
972
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
973
|
-
}>, {
|
|
686
|
+
readonly actions: ActionFunction<Context, {
|
|
974
687
|
type: "undim.edges";
|
|
975
688
|
}, Events, undefined, {
|
|
976
689
|
src: "layouter";
|
|
@@ -988,20 +701,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
988
701
|
}, never, never, never, never>;
|
|
989
702
|
};
|
|
990
703
|
readonly 'xyflow.selectionChange': {
|
|
991
|
-
readonly actions: ActionFunction<
|
|
992
|
-
subject: Fqn;
|
|
993
|
-
viewId: ViewId | null;
|
|
994
|
-
scope: "global" | "view";
|
|
995
|
-
closeable: boolean;
|
|
996
|
-
enableSelectSubject: boolean;
|
|
997
|
-
enableChangeScope: boolean;
|
|
998
|
-
xyflow: XYFLowInstance | null;
|
|
999
|
-
xystore: XYStoreApi | null;
|
|
1000
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
1001
|
-
navigateFromNode: string | null;
|
|
1002
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
1003
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
1004
|
-
}>, {
|
|
704
|
+
readonly actions: ActionFunction<Context, {
|
|
1005
705
|
type: "xyflow.selectionChange";
|
|
1006
706
|
nodes: RelationshipsBrowserTypes.Node[];
|
|
1007
707
|
edges: RelationshipsBrowserTypes.Edge[];
|
|
@@ -1068,35 +768,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1068
768
|
readonly id: "layouter";
|
|
1069
769
|
readonly src: "layouter";
|
|
1070
770
|
readonly input: ({ context }: {
|
|
1071
|
-
context:
|
|
1072
|
-
subject: Fqn;
|
|
1073
|
-
viewId: ViewId | null;
|
|
1074
|
-
scope: "global" | "view";
|
|
1075
|
-
closeable: boolean;
|
|
1076
|
-
enableSelectSubject: boolean;
|
|
1077
|
-
enableChangeScope: boolean;
|
|
1078
|
-
xyflow: XYFLowInstance | null;
|
|
1079
|
-
xystore: XYStoreApi | null;
|
|
1080
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
1081
|
-
navigateFromNode: string | null;
|
|
1082
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
1083
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
1084
|
-
}>;
|
|
771
|
+
context: Context;
|
|
1085
772
|
event: Events;
|
|
1086
|
-
self: ActorRef<MachineSnapshot<
|
|
1087
|
-
subject: Fqn;
|
|
1088
|
-
viewId: ViewId | null;
|
|
1089
|
-
scope: "global" | "view";
|
|
1090
|
-
closeable: boolean;
|
|
1091
|
-
enableSelectSubject: boolean;
|
|
1092
|
-
enableChangeScope: boolean;
|
|
1093
|
-
xyflow: XYFLowInstance | null;
|
|
1094
|
-
xystore: XYStoreApi | null;
|
|
1095
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
1096
|
-
navigateFromNode: string | null;
|
|
1097
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
1098
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
1099
|
-
}>, Events, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
|
|
773
|
+
self: ActorRef<MachineSnapshot<Context, Events, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
|
|
1100
774
|
}) => {
|
|
1101
775
|
subjectId: Fqn;
|
|
1102
776
|
navigateFromNode: string | null;
|
|
@@ -1128,6 +802,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1128
802
|
focusable?: boolean;
|
|
1129
803
|
type: "relationship";
|
|
1130
804
|
data: {
|
|
805
|
+
hovered?: boolean;
|
|
806
|
+
active?: boolean;
|
|
807
|
+
dimmed?: Base.Dimmed;
|
|
1131
808
|
sourceFqn: Fqn;
|
|
1132
809
|
targetFqn: Fqn;
|
|
1133
810
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -1136,9 +813,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1136
813
|
navigateTo: ViewId | null;
|
|
1137
814
|
line: RelationshipLineType;
|
|
1138
815
|
existsInCurrentView: boolean;
|
|
1139
|
-
hovered?: boolean;
|
|
1140
|
-
active?: boolean;
|
|
1141
|
-
dimmed?: Base.Dimmed;
|
|
1142
816
|
};
|
|
1143
817
|
}> & ViewportHelperFunctions & {
|
|
1144
818
|
viewportInitialized: boolean;
|
|
@@ -1172,6 +846,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1172
846
|
focusable?: boolean;
|
|
1173
847
|
type: "relationship";
|
|
1174
848
|
data: {
|
|
849
|
+
hovered?: boolean;
|
|
850
|
+
active?: boolean;
|
|
851
|
+
dimmed?: Base.Dimmed;
|
|
1175
852
|
sourceFqn: Fqn;
|
|
1176
853
|
targetFqn: Fqn;
|
|
1177
854
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -1180,9 +857,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1180
857
|
navigateTo: ViewId | null;
|
|
1181
858
|
line: RelationshipLineType;
|
|
1182
859
|
existsInCurrentView: boolean;
|
|
1183
|
-
hovered?: boolean;
|
|
1184
|
-
active?: boolean;
|
|
1185
|
-
dimmed?: Base.Dimmed;
|
|
1186
860
|
};
|
|
1187
861
|
}>;
|
|
1188
862
|
setState: (partial: ReactFlowState<RelationshipsBrowserTypes.Node, {
|
|
@@ -1213,6 +887,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1213
887
|
focusable?: boolean;
|
|
1214
888
|
type: "relationship";
|
|
1215
889
|
data: {
|
|
890
|
+
hovered?: boolean;
|
|
891
|
+
active?: boolean;
|
|
892
|
+
dimmed?: Base.Dimmed;
|
|
1216
893
|
sourceFqn: Fqn;
|
|
1217
894
|
targetFqn: Fqn;
|
|
1218
895
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -1221,9 +898,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1221
898
|
navigateTo: ViewId | null;
|
|
1222
899
|
line: RelationshipLineType;
|
|
1223
900
|
existsInCurrentView: boolean;
|
|
1224
|
-
hovered?: boolean;
|
|
1225
|
-
active?: boolean;
|
|
1226
|
-
dimmed?: Base.Dimmed;
|
|
1227
901
|
};
|
|
1228
902
|
}> | Partial< ReactFlowState<RelationshipsBrowserTypes.Node, {
|
|
1229
903
|
id: string;
|
|
@@ -1253,6 +927,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1253
927
|
focusable?: boolean;
|
|
1254
928
|
type: "relationship";
|
|
1255
929
|
data: {
|
|
930
|
+
hovered?: boolean;
|
|
931
|
+
active?: boolean;
|
|
932
|
+
dimmed?: Base.Dimmed;
|
|
1256
933
|
sourceFqn: Fqn;
|
|
1257
934
|
targetFqn: Fqn;
|
|
1258
935
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -1261,9 +938,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1261
938
|
navigateTo: ViewId | null;
|
|
1262
939
|
line: RelationshipLineType;
|
|
1263
940
|
existsInCurrentView: boolean;
|
|
1264
|
-
hovered?: boolean;
|
|
1265
|
-
active?: boolean;
|
|
1266
|
-
dimmed?: Base.Dimmed;
|
|
1267
941
|
};
|
|
1268
942
|
}>> | ((state: ReactFlowState<RelationshipsBrowserTypes.Node, {
|
|
1269
943
|
id: string;
|
|
@@ -1293,6 +967,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1293
967
|
focusable?: boolean;
|
|
1294
968
|
type: "relationship";
|
|
1295
969
|
data: {
|
|
970
|
+
hovered?: boolean;
|
|
971
|
+
active?: boolean;
|
|
972
|
+
dimmed?: Base.Dimmed;
|
|
1296
973
|
sourceFqn: Fqn;
|
|
1297
974
|
targetFqn: Fqn;
|
|
1298
975
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -1301,9 +978,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1301
978
|
navigateTo: ViewId | null;
|
|
1302
979
|
line: RelationshipLineType;
|
|
1303
980
|
existsInCurrentView: boolean;
|
|
1304
|
-
hovered?: boolean;
|
|
1305
|
-
active?: boolean;
|
|
1306
|
-
dimmed?: Base.Dimmed;
|
|
1307
981
|
};
|
|
1308
982
|
}>) => ReactFlowState<RelationshipsBrowserTypes.Node, {
|
|
1309
983
|
id: string;
|
|
@@ -1333,6 +1007,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1333
1007
|
focusable?: boolean;
|
|
1334
1008
|
type: "relationship";
|
|
1335
1009
|
data: {
|
|
1010
|
+
hovered?: boolean;
|
|
1011
|
+
active?: boolean;
|
|
1012
|
+
dimmed?: Base.Dimmed;
|
|
1336
1013
|
sourceFqn: Fqn;
|
|
1337
1014
|
targetFqn: Fqn;
|
|
1338
1015
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -1341,9 +1018,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1341
1018
|
navigateTo: ViewId | null;
|
|
1342
1019
|
line: RelationshipLineType;
|
|
1343
1020
|
existsInCurrentView: boolean;
|
|
1344
|
-
hovered?: boolean;
|
|
1345
|
-
active?: boolean;
|
|
1346
|
-
dimmed?: Base.Dimmed;
|
|
1347
1021
|
};
|
|
1348
1022
|
}> | Partial< ReactFlowState<RelationshipsBrowserTypes.Node, {
|
|
1349
1023
|
id: string;
|
|
@@ -1373,6 +1047,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1373
1047
|
focusable?: boolean;
|
|
1374
1048
|
type: "relationship";
|
|
1375
1049
|
data: {
|
|
1050
|
+
hovered?: boolean;
|
|
1051
|
+
active?: boolean;
|
|
1052
|
+
dimmed?: Base.Dimmed;
|
|
1376
1053
|
sourceFqn: Fqn;
|
|
1377
1054
|
targetFqn: Fqn;
|
|
1378
1055
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -1381,9 +1058,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1381
1058
|
navigateTo: ViewId | null;
|
|
1382
1059
|
line: RelationshipLineType;
|
|
1383
1060
|
existsInCurrentView: boolean;
|
|
1384
|
-
hovered?: boolean;
|
|
1385
|
-
active?: boolean;
|
|
1386
|
-
dimmed?: Base.Dimmed;
|
|
1387
1061
|
};
|
|
1388
1062
|
}>>), replace?: boolean | undefined) => void;
|
|
1389
1063
|
subscribe: (listener: (state: ReactFlowState<RelationshipsBrowserTypes.Node, {
|
|
@@ -1414,6 +1088,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1414
1088
|
focusable?: boolean;
|
|
1415
1089
|
type: "relationship";
|
|
1416
1090
|
data: {
|
|
1091
|
+
hovered?: boolean;
|
|
1092
|
+
active?: boolean;
|
|
1093
|
+
dimmed?: Base.Dimmed;
|
|
1417
1094
|
sourceFqn: Fqn;
|
|
1418
1095
|
targetFqn: Fqn;
|
|
1419
1096
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -1422,9 +1099,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1422
1099
|
navigateTo: ViewId | null;
|
|
1423
1100
|
line: RelationshipLineType;
|
|
1424
1101
|
existsInCurrentView: boolean;
|
|
1425
|
-
hovered?: boolean;
|
|
1426
|
-
active?: boolean;
|
|
1427
|
-
dimmed?: Base.Dimmed;
|
|
1428
1102
|
};
|
|
1429
1103
|
}>, prevState: ReactFlowState<RelationshipsBrowserTypes.Node, {
|
|
1430
1104
|
id: string;
|
|
@@ -1454,6 +1128,9 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1454
1128
|
focusable?: boolean;
|
|
1455
1129
|
type: "relationship";
|
|
1456
1130
|
data: {
|
|
1131
|
+
hovered?: boolean;
|
|
1132
|
+
active?: boolean;
|
|
1133
|
+
dimmed?: Base.Dimmed;
|
|
1457
1134
|
sourceFqn: Fqn;
|
|
1458
1135
|
targetFqn: Fqn;
|
|
1459
1136
|
relations: NonEmptyArray<RelationId>;
|
|
@@ -1462,9 +1139,6 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1462
1139
|
navigateTo: ViewId | null;
|
|
1463
1140
|
line: RelationshipLineType;
|
|
1464
1141
|
existsInCurrentView: boolean;
|
|
1465
|
-
hovered?: boolean;
|
|
1466
|
-
active?: boolean;
|
|
1467
|
-
dimmed?: Base.Dimmed;
|
|
1468
1142
|
};
|
|
1469
1143
|
}>) => void) => () => void;
|
|
1470
1144
|
};
|
|
@@ -1472,20 +1146,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1472
1146
|
};
|
|
1473
1147
|
readonly onDone: {
|
|
1474
1148
|
readonly target: "idle";
|
|
1475
|
-
readonly actions: ActionFunction<
|
|
1476
|
-
subject: Fqn;
|
|
1477
|
-
viewId: ViewId | null;
|
|
1478
|
-
scope: "global" | "view";
|
|
1479
|
-
closeable: boolean;
|
|
1480
|
-
enableSelectSubject: boolean;
|
|
1481
|
-
enableChangeScope: boolean;
|
|
1482
|
-
xyflow: XYFLowInstance | null;
|
|
1483
|
-
xystore: XYStoreApi | null;
|
|
1484
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
1485
|
-
navigateFromNode: string | null;
|
|
1486
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
1487
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
1488
|
-
}>, DoneActorEvent<{
|
|
1149
|
+
readonly actions: ActionFunction<Context, DoneActorEvent<{
|
|
1489
1150
|
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
1490
1151
|
xynodes: RelationshipsBrowserTypes.Node[];
|
|
1491
1152
|
}, string>, Events, undefined, {
|
|
@@ -1547,20 +1208,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1547
1208
|
};
|
|
1548
1209
|
readonly on: {
|
|
1549
1210
|
readonly 'update.xydata': {
|
|
1550
|
-
readonly actions: ActionFunction<
|
|
1551
|
-
subject: Fqn;
|
|
1552
|
-
viewId: ViewId | null;
|
|
1553
|
-
scope: "global" | "view";
|
|
1554
|
-
closeable: boolean;
|
|
1555
|
-
enableSelectSubject: boolean;
|
|
1556
|
-
enableChangeScope: boolean;
|
|
1557
|
-
xyflow: XYFLowInstance | null;
|
|
1558
|
-
xystore: XYStoreApi | null;
|
|
1559
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
1560
|
-
navigateFromNode: string | null;
|
|
1561
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
1562
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
1563
|
-
}>, {
|
|
1211
|
+
readonly actions: ActionFunction<Context, {
|
|
1564
1212
|
type: "update.xydata";
|
|
1565
1213
|
xynodes: RelationshipsBrowserTypes.Node[];
|
|
1566
1214
|
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
@@ -1590,20 +1238,7 @@ export declare const relationshipsBrowserLogic: StateMachine<Readonly<{
|
|
|
1590
1238
|
readonly type: "final";
|
|
1591
1239
|
};
|
|
1592
1240
|
};
|
|
1593
|
-
readonly exit: ActionFunction<
|
|
1594
|
-
subject: Fqn;
|
|
1595
|
-
viewId: ViewId | null;
|
|
1596
|
-
scope: "global" | "view";
|
|
1597
|
-
closeable: boolean;
|
|
1598
|
-
enableSelectSubject: boolean;
|
|
1599
|
-
enableChangeScope: boolean;
|
|
1600
|
-
xyflow: XYFLowInstance | null;
|
|
1601
|
-
xystore: XYStoreApi | null;
|
|
1602
|
-
layouted: LayoutRelationshipsViewResult | null;
|
|
1603
|
-
navigateFromNode: string | null;
|
|
1604
|
-
xynodes: RelationshipsBrowserTypes.Node[];
|
|
1605
|
-
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
1606
|
-
}>, Events, Events, undefined, {
|
|
1241
|
+
readonly exit: ActionFunction<Context, Events, Events, undefined, {
|
|
1607
1242
|
src: "layouter";
|
|
1608
1243
|
logic: PromiseActorLogic<{
|
|
1609
1244
|
xyedges: RelationshipsBrowserTypes.Edge[];
|