@eventcatalog/visualiser 3.18.3 → 3.19.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/dist/index.d.mts +17 -6
- package/dist/index.d.ts +17 -6
- package/dist/index.js +1374 -959
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1062 -648
- package/dist/index.mjs.map +1 -1
- package/dist/styles-core.css +24 -0
- package/dist/styles.css +24 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -425,7 +425,7 @@ interface StepWalkthroughProps {
|
|
|
425
425
|
onStepChange: (nodeId: string | null, highlightPaths?: string[], shouldZoomOut?: boolean) => void;
|
|
426
426
|
mode?: "full" | "simple";
|
|
427
427
|
}
|
|
428
|
-
declare const _default$
|
|
428
|
+
declare const _default$r: react__default.NamedExoticComponent<StepWalkthroughProps>;
|
|
429
429
|
|
|
430
430
|
interface FocusModeModalProps {
|
|
431
431
|
isOpen: boolean;
|
|
@@ -442,7 +442,7 @@ interface NodeContextMenuProps {
|
|
|
442
442
|
items: ContextMenuItem[];
|
|
443
443
|
children: React.ReactNode;
|
|
444
444
|
}
|
|
445
|
-
declare const _default$
|
|
445
|
+
declare const _default$q: react.NamedExoticComponent<NodeContextMenuProps>;
|
|
446
446
|
|
|
447
447
|
type MessageGroupNodeData = {
|
|
448
448
|
mode?: string;
|
|
@@ -460,7 +460,7 @@ type MessageGroupNodeData = {
|
|
|
460
460
|
};
|
|
461
461
|
};
|
|
462
462
|
type MessageGroupNode = Node<MessageGroupNodeData, "messageGroup">;
|
|
463
|
-
declare const _default$
|
|
463
|
+
declare const _default$p: react.NamedExoticComponent<MessageGroupNode>;
|
|
464
464
|
|
|
465
465
|
type MessageGroupExpandedNodeData = {
|
|
466
466
|
groupName: string;
|
|
@@ -468,7 +468,7 @@ type MessageGroupExpandedNodeData = {
|
|
|
468
468
|
messageCount: number;
|
|
469
469
|
onCollapse?: string;
|
|
470
470
|
};
|
|
471
|
-
declare const _default$
|
|
471
|
+
declare const _default$o: react.NamedExoticComponent<{
|
|
472
472
|
data: MessageGroupExpandedNodeData;
|
|
473
473
|
}>;
|
|
474
474
|
|
|
@@ -494,7 +494,15 @@ type DataProductNodeData = EventCatalogResource & {
|
|
|
494
494
|
};
|
|
495
495
|
};
|
|
496
496
|
type DataProductNode = Node<DataProductNodeData, "data-product">;
|
|
497
|
-
declare const _default$
|
|
497
|
+
declare const _default$n: react.NamedExoticComponent<DataProductNode>;
|
|
498
|
+
|
|
499
|
+
type FlowExpandedNodeData = {
|
|
500
|
+
flowName?: string;
|
|
501
|
+
version?: string;
|
|
502
|
+
};
|
|
503
|
+
declare const _default$m: react.NamedExoticComponent<{
|
|
504
|
+
data: FlowExpandedNodeData;
|
|
505
|
+
}>;
|
|
498
506
|
|
|
499
507
|
type FieldNodeData = {
|
|
500
508
|
name: string;
|
|
@@ -652,6 +660,9 @@ declare const nodeComponents: {
|
|
|
652
660
|
domain: react.NamedExoticComponent<any>;
|
|
653
661
|
entity: react.NamedExoticComponent<any>;
|
|
654
662
|
flow: react.NamedExoticComponent<any>;
|
|
663
|
+
flowExpanded: react.NamedExoticComponent<{
|
|
664
|
+
data: FlowExpandedNodeData;
|
|
665
|
+
}>;
|
|
655
666
|
group: react.NamedExoticComponent<_xyflow_react.NodeProps>;
|
|
656
667
|
step: react.NamedExoticComponent<any>;
|
|
657
668
|
user: react.NamedExoticComponent<any>;
|
|
@@ -745,4 +756,4 @@ declare function layoutGraph(nodes: GraphNode[], edges: GraphEdge[], options?: {
|
|
|
745
756
|
edges: Edge[];
|
|
746
757
|
};
|
|
747
758
|
|
|
748
|
-
export { ACTOR, _default$j as Actor, type ActorNode, AnimatedMessageEdge, type BaseNodeData, CHANNEL, COMMAND, type Channel, type ChannelNode, _default$c as Command, type CommandNode, type ContextMenuItem, _default$9 as CustomNode, DATA, type Data, type DataNode, _default$
|
|
759
|
+
export { ACTOR, _default$j as Actor, type ActorNode, AnimatedMessageEdge, type BaseNodeData, CHANNEL, COMMAND, type Channel, type ChannelNode, _default$c as Command, type CommandNode, type ContextMenuItem, _default$9 as CustomNode, DATA, type Data, type DataNode, _default$n as DataProductNode, _default$8 as DomainNode, type DslGraph, EVENT, type EdgeType, _default$7 as EntityNode, _default$b as Event, type EventCatalogResource, type EventNode, type ExternalSystem, _default$2 as ExternalSystem2Node, type ExternalSystemNode, _default$l as Field, type FieldNode as FieldNodeType, _default$1 as FlowEdge, _default$m as FlowExpandedNode, _default$6 as FlowNode, FocusModeModal, type GraphEdge, type GraphEdgeType, type GraphNode, _default$5 as GroupNode, MESSAGE, type MermaidExportOptions, MermaidView, type Message, _default$o as MessageGroupExpandedNode, type MessageGroupExpandedNodeData, _default$p as MessageGroupNode, type MessageGroupNodeData, type MessageGroupNode as MessageGroupNodeType, _default as MultilineEdgeLabel, type NodeCategory, type NodeConfiguration, _default$q as NodeContextMenu, NodeGraph, type NodeGraphProps, type NodeType, _default$f as Note, type NoteNode, NotesIndicator, OwnerIndicator, QUERY, _default$d as Query, type QueryNode, type RegisteredNode, SERVICE, _default$e as Service, type ServiceNode, type Service as ServiceType, _default$4 as StepNode, _default$r as StepWalkthrough, _default$3 as UserNode, VIEW, type View, type ViewNode, VisualiserSearch, type VisualizerCallbacks, type VisualizerLink, type VisualizerMode, _default$i as actorConfig, buildNodeData, calculatedNodes, convertToMermaid, createDagreGraph, createEdge, createNode, _default$h as dataNodeConfig, edgeTypes, _default$a as eventConfig, exportNodeGraphForStudio, _default$g as externalSystemConfig, _default$k as fieldConfig, generateIdForNode, generateIdForNodes, generatedIdForEdge, getColorFromString, getEdgeLabelForMessageAsSource, getEdgeLabelForServiceAsTarget, getNodesAndEdgesFromDagre, layoutGraph, nodeComponents, nodeConfigs, normalizeOwners };
|
package/dist/index.d.ts
CHANGED
|
@@ -425,7 +425,7 @@ interface StepWalkthroughProps {
|
|
|
425
425
|
onStepChange: (nodeId: string | null, highlightPaths?: string[], shouldZoomOut?: boolean) => void;
|
|
426
426
|
mode?: "full" | "simple";
|
|
427
427
|
}
|
|
428
|
-
declare const _default$
|
|
428
|
+
declare const _default$r: react__default.NamedExoticComponent<StepWalkthroughProps>;
|
|
429
429
|
|
|
430
430
|
interface FocusModeModalProps {
|
|
431
431
|
isOpen: boolean;
|
|
@@ -442,7 +442,7 @@ interface NodeContextMenuProps {
|
|
|
442
442
|
items: ContextMenuItem[];
|
|
443
443
|
children: React.ReactNode;
|
|
444
444
|
}
|
|
445
|
-
declare const _default$
|
|
445
|
+
declare const _default$q: react.NamedExoticComponent<NodeContextMenuProps>;
|
|
446
446
|
|
|
447
447
|
type MessageGroupNodeData = {
|
|
448
448
|
mode?: string;
|
|
@@ -460,7 +460,7 @@ type MessageGroupNodeData = {
|
|
|
460
460
|
};
|
|
461
461
|
};
|
|
462
462
|
type MessageGroupNode = Node<MessageGroupNodeData, "messageGroup">;
|
|
463
|
-
declare const _default$
|
|
463
|
+
declare const _default$p: react.NamedExoticComponent<MessageGroupNode>;
|
|
464
464
|
|
|
465
465
|
type MessageGroupExpandedNodeData = {
|
|
466
466
|
groupName: string;
|
|
@@ -468,7 +468,7 @@ type MessageGroupExpandedNodeData = {
|
|
|
468
468
|
messageCount: number;
|
|
469
469
|
onCollapse?: string;
|
|
470
470
|
};
|
|
471
|
-
declare const _default$
|
|
471
|
+
declare const _default$o: react.NamedExoticComponent<{
|
|
472
472
|
data: MessageGroupExpandedNodeData;
|
|
473
473
|
}>;
|
|
474
474
|
|
|
@@ -494,7 +494,15 @@ type DataProductNodeData = EventCatalogResource & {
|
|
|
494
494
|
};
|
|
495
495
|
};
|
|
496
496
|
type DataProductNode = Node<DataProductNodeData, "data-product">;
|
|
497
|
-
declare const _default$
|
|
497
|
+
declare const _default$n: react.NamedExoticComponent<DataProductNode>;
|
|
498
|
+
|
|
499
|
+
type FlowExpandedNodeData = {
|
|
500
|
+
flowName?: string;
|
|
501
|
+
version?: string;
|
|
502
|
+
};
|
|
503
|
+
declare const _default$m: react.NamedExoticComponent<{
|
|
504
|
+
data: FlowExpandedNodeData;
|
|
505
|
+
}>;
|
|
498
506
|
|
|
499
507
|
type FieldNodeData = {
|
|
500
508
|
name: string;
|
|
@@ -652,6 +660,9 @@ declare const nodeComponents: {
|
|
|
652
660
|
domain: react.NamedExoticComponent<any>;
|
|
653
661
|
entity: react.NamedExoticComponent<any>;
|
|
654
662
|
flow: react.NamedExoticComponent<any>;
|
|
663
|
+
flowExpanded: react.NamedExoticComponent<{
|
|
664
|
+
data: FlowExpandedNodeData;
|
|
665
|
+
}>;
|
|
655
666
|
group: react.NamedExoticComponent<_xyflow_react.NodeProps>;
|
|
656
667
|
step: react.NamedExoticComponent<any>;
|
|
657
668
|
user: react.NamedExoticComponent<any>;
|
|
@@ -745,4 +756,4 @@ declare function layoutGraph(nodes: GraphNode[], edges: GraphEdge[], options?: {
|
|
|
745
756
|
edges: Edge[];
|
|
746
757
|
};
|
|
747
758
|
|
|
748
|
-
export { ACTOR, _default$j as Actor, type ActorNode, AnimatedMessageEdge, type BaseNodeData, CHANNEL, COMMAND, type Channel, type ChannelNode, _default$c as Command, type CommandNode, type ContextMenuItem, _default$9 as CustomNode, DATA, type Data, type DataNode, _default$
|
|
759
|
+
export { ACTOR, _default$j as Actor, type ActorNode, AnimatedMessageEdge, type BaseNodeData, CHANNEL, COMMAND, type Channel, type ChannelNode, _default$c as Command, type CommandNode, type ContextMenuItem, _default$9 as CustomNode, DATA, type Data, type DataNode, _default$n as DataProductNode, _default$8 as DomainNode, type DslGraph, EVENT, type EdgeType, _default$7 as EntityNode, _default$b as Event, type EventCatalogResource, type EventNode, type ExternalSystem, _default$2 as ExternalSystem2Node, type ExternalSystemNode, _default$l as Field, type FieldNode as FieldNodeType, _default$1 as FlowEdge, _default$m as FlowExpandedNode, _default$6 as FlowNode, FocusModeModal, type GraphEdge, type GraphEdgeType, type GraphNode, _default$5 as GroupNode, MESSAGE, type MermaidExportOptions, MermaidView, type Message, _default$o as MessageGroupExpandedNode, type MessageGroupExpandedNodeData, _default$p as MessageGroupNode, type MessageGroupNodeData, type MessageGroupNode as MessageGroupNodeType, _default as MultilineEdgeLabel, type NodeCategory, type NodeConfiguration, _default$q as NodeContextMenu, NodeGraph, type NodeGraphProps, type NodeType, _default$f as Note, type NoteNode, NotesIndicator, OwnerIndicator, QUERY, _default$d as Query, type QueryNode, type RegisteredNode, SERVICE, _default$e as Service, type ServiceNode, type Service as ServiceType, _default$4 as StepNode, _default$r as StepWalkthrough, _default$3 as UserNode, VIEW, type View, type ViewNode, VisualiserSearch, type VisualizerCallbacks, type VisualizerLink, type VisualizerMode, _default$i as actorConfig, buildNodeData, calculatedNodes, convertToMermaid, createDagreGraph, createEdge, createNode, _default$h as dataNodeConfig, edgeTypes, _default$a as eventConfig, exportNodeGraphForStudio, _default$g as externalSystemConfig, _default$k as fieldConfig, generateIdForNode, generateIdForNodes, generatedIdForEdge, getColorFromString, getEdgeLabelForMessageAsSource, getEdgeLabelForServiceAsTarget, getNodesAndEdgesFromDagre, layoutGraph, nodeComponents, nodeConfigs, normalizeOwners };
|