@tumaet/apollon 4.6.0 → 4.7.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.
Files changed (157) hide show
  1. package/README.md +2 -2
  2. package/dist/LICENSE-InterFont +92 -0
  3. package/dist/assets/style.css +1 -1
  4. package/dist/exportFonts-DxO9jrR1.js +19 -0
  5. package/dist/exportStyles-Xk-Vm7Ul.js +5 -0
  6. package/dist/index.d.ts +132 -92
  7. package/dist/index.js +34822 -8034
  8. package/dist/internals.d.ts +100 -92
  9. package/dist/internals.js +15 -10
  10. package/dist/react/App.d.ts +1 -1
  11. package/dist/react/LICENSE-InterFont +92 -0
  12. package/dist/react/apollon-editor.d.ts +19 -0
  13. package/dist/react/components/AlignmentGuides.d.ts +1 -1
  14. package/dist/react/components/AssessmentSelectionDebug.d.ts +1 -1
  15. package/dist/react/components/CustomBackground.d.ts +1 -1
  16. package/dist/react/components/CustomControls.d.ts +1 -1
  17. package/dist/react/components/CustomMiniMap.d.ts +1 -1
  18. package/dist/react/components/Icon/ArrowBackIcon.d.ts +1 -1
  19. package/dist/react/components/Icon/ArrowForwardIcon.d.ts +1 -1
  20. package/dist/react/components/Icon/CheckIcon.d.ts +1 -1
  21. package/dist/react/components/Icon/CrossIcon.d.ts +1 -1
  22. package/dist/react/components/Icon/DeleteIcon.d.ts +1 -1
  23. package/dist/react/components/Icon/DragHandleIcon.d.ts +1 -1
  24. package/dist/react/components/Icon/EditIcon.d.ts +1 -1
  25. package/dist/react/components/Icon/ExclamationIcon.d.ts +1 -1
  26. package/dist/react/components/Icon/InfiniteIcon.d.ts +1 -1
  27. package/dist/react/components/Icon/MapIcon.d.ts +1 -1
  28. package/dist/react/components/Icon/PaintRollerIcon.d.ts +1 -1
  29. package/dist/react/components/Icon/RedoIcon.d.ts +1 -1
  30. package/dist/react/components/Icon/SouthEastArrowIcon.d.ts +1 -1
  31. package/dist/react/components/Icon/SwapHorizIcon.d.ts +1 -1
  32. package/dist/react/components/Icon/UndoIcon.d.ts +1 -1
  33. package/dist/react/components/ReconnectConnectionLine.d.ts +1 -1
  34. package/dist/react/components/Sidebar.d.ts +2 -1
  35. package/dist/react/components/collaboration/CollaborationLayer.d.ts +1 -1
  36. package/dist/react/components/popovers/DefaultNodeGiveFeedbackPopover.d.ts +1 -1
  37. package/dist/react/components/popovers/DefaultNodeSeeFeedbackPopover.d.ts +1 -1
  38. package/dist/react/components/popovers/GenericPopover.d.ts +1 -1
  39. package/dist/react/components/popovers/GiveFeedbackAssessmentBox.d.ts +1 -1
  40. package/dist/react/components/popovers/PopoverManager.d.ts +2 -2
  41. package/dist/react/components/popovers/SeeFeedbackAssessmentBox.d.ts +1 -1
  42. package/dist/react/components/popovers/bpmnDiagram/BPMNPoolEditPopover.d.ts +1 -1
  43. package/dist/react/components/popovers/classDiagram/ClassGiveFeedbackPopover.d.ts +1 -1
  44. package/dist/react/components/popovers/classDiagram/ClassSeeFeedbackPopover.d.ts +1 -1
  45. package/dist/react/components/popovers/communicationDiagram/CommunicationObjectNameGiveFeedbackPopover.d.ts +1 -1
  46. package/dist/react/components/popovers/communicationDiagram/CommunicationObjectNameSeeFeedbackPopover.d.ts +1 -1
  47. package/dist/react/components/popovers/edgePopovers/EdgeGiveFeedbackPopover.d.ts +1 -1
  48. package/dist/react/components/popovers/edgePopovers/EdgeSeeFeedbackPopover.d.ts +1 -1
  49. package/dist/react/components/popovers/edgePopovers/EdgeTypePreviewIcon.d.ts +1 -1
  50. package/dist/react/components/popovers/edgePopovers/EdgeTypeSelect.d.ts +1 -1
  51. package/dist/react/components/popovers/edgePopovers/SwapEndsButton.d.ts +9 -0
  52. package/dist/react/components/popovers/objectDiagram/ObjectGiveFeedbackPopover.d.ts +1 -1
  53. package/dist/react/components/popovers/objectDiagram/ObjectSeeFeedbackPopover.d.ts +1 -1
  54. package/dist/react/components/react/Apollon.d.ts +7 -2
  55. package/dist/react/components/react/context.d.ts +1 -1
  56. package/dist/react/components/svgs/edges/InlineMarker.d.ts +2 -2
  57. package/dist/react/components/svgs/nodes/classDiagram/ClassSVG.d.ts +1 -1
  58. package/dist/react/components/svgs/nodes/classDiagram/ColorDescriptionSVG.d.ts +1 -1
  59. package/dist/react/components/svgs/nodes/communicationDiagram/CommunicationObjectNameSVG.d.ts +1 -1
  60. package/dist/react/components/svgs/nodes/objectDiagram/ObjectNameSVG.d.ts +1 -1
  61. package/dist/react/components/toolbars/edgeToolBar/CustomEdgeToolBar.d.ts +1 -1
  62. package/dist/react/components/ui/StyleEditor/ColorButtons.d.ts +1 -1
  63. package/dist/react/constants.d.ts +7 -6
  64. package/dist/react/edges/GenericEdge.d.ts +5 -6
  65. package/dist/react/edges/edgeTypes/ActivityDiagramEdge.d.ts +1 -1
  66. package/dist/react/edges/edgeTypes/BPMNDiagramEdge.d.ts +1 -1
  67. package/dist/react/edges/edgeTypes/ClassDiagramEdge.d.ts +1 -1
  68. package/dist/react/edges/edgeTypes/CommunicationDiagramEdge.d.ts +1 -1
  69. package/dist/react/edges/edgeTypes/ComponentDiagramEdge.d.ts +1 -1
  70. package/dist/react/edges/edgeTypes/DeploymentDiagramEdge.d.ts +1 -1
  71. package/dist/react/edges/edgeTypes/FlowChartEdge.d.ts +1 -1
  72. package/dist/react/edges/edgeTypes/ObjectDiagramEdge.d.ts +1 -1
  73. package/dist/react/edges/edgeTypes/PetriNetEdge.d.ts +1 -1
  74. package/dist/react/edges/edgeTypes/ReachabilityGraphArc.d.ts +1 -1
  75. package/dist/react/edges/edgeTypes/SfcDiagramEdge.d.ts +1 -1
  76. package/dist/react/edges/edgeTypes/SyntaxTreeEdge.d.ts +1 -1
  77. package/dist/react/edges/edgeTypes/UseCaseDiagramEdge.d.ts +1 -1
  78. package/dist/react/edges/labelTypes/EdgeEndLabels.d.ts +1 -1
  79. package/dist/react/edges/labelTypes/EdgeIncludeExtendLabel.d.ts +1 -1
  80. package/dist/react/edges/labelTypes/EdgeMiddleLabels.d.ts +1 -1
  81. package/dist/react/edges/labelTypes/EdgeMultipleLabels.d.ts +1 -1
  82. package/dist/react/edges/types.d.ts +34 -34
  83. package/dist/react/exportFonts-DSRUaduf.js +20 -0
  84. package/dist/react/exportStyles-DZCHk5mK.js +6 -0
  85. package/dist/react/fontStack.d.ts +14 -0
  86. package/dist/react/hooks/index.d.ts +1 -0
  87. package/dist/react/hooks/useEdgeLineJumps.d.ts +3 -1
  88. package/dist/react/hooks/useEdgeToolbar.d.ts +1 -1
  89. package/dist/react/hooks/usePopoverAnchor.d.ts +26 -0
  90. package/dist/react/hooks/useReactiveElement.d.ts +10 -0
  91. package/dist/react/hooks/useStepPathEdge.d.ts +1 -1
  92. package/dist/react/hooks/useStraightPathEdge.d.ts +1 -1
  93. package/dist/react/index.d.ts +1 -0
  94. package/dist/react/nodes/TitleAndDescriptionNode.d.ts +1 -1
  95. package/dist/react/nodes/activityDiagram/Activity.d.ts +1 -1
  96. package/dist/react/nodes/activityDiagram/ActivityActionNode.d.ts +1 -1
  97. package/dist/react/nodes/activityDiagram/ActivityFinalNode.d.ts +1 -1
  98. package/dist/react/nodes/activityDiagram/ActivityForkNode.d.ts +1 -1
  99. package/dist/react/nodes/activityDiagram/ActivityForkNodeHorizontal.d.ts +1 -1
  100. package/dist/react/nodes/activityDiagram/ActivityInitialNode.d.ts +1 -1
  101. package/dist/react/nodes/activityDiagram/ActivityMergeNode.d.ts +1 -1
  102. package/dist/react/nodes/activityDiagram/ActivityObjectNode.d.ts +1 -1
  103. package/dist/react/nodes/bpmn/BPMNAnnotation.d.ts +1 -1
  104. package/dist/react/nodes/bpmn/BPMNCallActivity.d.ts +1 -1
  105. package/dist/react/nodes/bpmn/BPMNDataObject.d.ts +1 -1
  106. package/dist/react/nodes/bpmn/BPMNDataStore.d.ts +1 -1
  107. package/dist/react/nodes/bpmn/BPMNEndEvent.d.ts +1 -1
  108. package/dist/react/nodes/bpmn/BPMNGateway.d.ts +1 -1
  109. package/dist/react/nodes/bpmn/BPMNGroup.d.ts +1 -1
  110. package/dist/react/nodes/bpmn/BPMNIntermediateEvent.d.ts +1 -1
  111. package/dist/react/nodes/bpmn/BPMNPool.d.ts +1 -1
  112. package/dist/react/nodes/bpmn/BPMNStartEvent.d.ts +1 -1
  113. package/dist/react/nodes/bpmn/BPMNSubprocess.d.ts +1 -1
  114. package/dist/react/nodes/bpmn/BPMNTask.d.ts +1 -1
  115. package/dist/react/nodes/bpmn/BPMNTransaction.d.ts +1 -1
  116. package/dist/react/nodes/classDiagram/Class.d.ts +1 -1
  117. package/dist/react/nodes/classDiagram/ColorDescription.d.ts +1 -1
  118. package/dist/react/nodes/classDiagram/Package.d.ts +1 -1
  119. package/dist/react/nodes/communicationDiagram/CommunicationObjectName.d.ts +1 -1
  120. package/dist/react/nodes/componentDiagram/Component.d.ts +1 -1
  121. package/dist/react/nodes/componentDiagram/ComponentInterface.d.ts +1 -1
  122. package/dist/react/nodes/componentDiagram/ComponentSubsystem.d.ts +1 -1
  123. package/dist/react/nodes/deploymentDiagram/DeploymentArtifact.d.ts +1 -1
  124. package/dist/react/nodes/deploymentDiagram/DeploymentComponent.d.ts +1 -1
  125. package/dist/react/nodes/deploymentDiagram/DeploymentInterface.d.ts +1 -1
  126. package/dist/react/nodes/deploymentDiagram/DeploymentNode.d.ts +1 -1
  127. package/dist/react/nodes/flowchart/FlowchartDecision.d.ts +1 -1
  128. package/dist/react/nodes/flowchart/FlowchartFunctionCall.d.ts +1 -1
  129. package/dist/react/nodes/flowchart/FlowchartInputOutput.d.ts +1 -1
  130. package/dist/react/nodes/flowchart/FlowchartProcess.d.ts +1 -1
  131. package/dist/react/nodes/flowchart/FlowchartTerminal.d.ts +1 -1
  132. package/dist/react/nodes/objectDiagram/ObjectName.d.ts +1 -1
  133. package/dist/react/nodes/petriNetDiagram/PetriNetPlace.d.ts +1 -1
  134. package/dist/react/nodes/petriNetDiagram/PetriNetTransition.d.ts +1 -1
  135. package/dist/react/nodes/reachabilityGraphDiagram/ReachabilityGraphMarking.d.ts +1 -1
  136. package/dist/react/nodes/sfcDiagram/SfcActionTable.d.ts +1 -1
  137. package/dist/react/nodes/sfcDiagram/SfcJump.d.ts +1 -1
  138. package/dist/react/nodes/sfcDiagram/SfcStart.d.ts +1 -1
  139. package/dist/react/nodes/sfcDiagram/SfcStep.d.ts +1 -1
  140. package/dist/react/nodes/sfcDiagram/SfcTransitionBranch.d.ts +1 -1
  141. package/dist/react/nodes/syntaxTreeDiagram/SyntaxTreeNonterminal.d.ts +1 -1
  142. package/dist/react/nodes/syntaxTreeDiagram/SyntaxTreeTerminal.d.ts +1 -1
  143. package/dist/react/nodes/useCaseDiagram/UseCase.d.ts +1 -1
  144. package/dist/react/nodes/useCaseDiagram/UseCaseActor.d.ts +1 -1
  145. package/dist/react/nodes/useCaseDiagram/UseCaseSystem.d.ts +1 -1
  146. package/dist/react/nodes/wrappers/DefaultNodeWrapper.d.ts +1 -1
  147. package/dist/react/react.js +23428 -24886
  148. package/dist/react/store/assessmentSelectionStore.d.ts +2 -0
  149. package/dist/react/types/nodes/NodeProps.d.ts +3 -3
  150. package/dist/react/typings.d.ts +6 -2
  151. package/dist/react/utils/exportFonts.d.ts +11 -0
  152. package/dist/react/utils/exportStyles.d.ts +30 -0
  153. package/dist/react/utils/exportUtils.d.ts +31 -1
  154. package/dist/yjsSync-aPxjWNdZ.js +50939 -0
  155. package/package.json +24 -16
  156. package/schema/uml-model-4.schema.json +363 -0
  157. package/dist/yjsSync-CK5cmd5z.js +0 -71308
@@ -1,6 +1,6 @@
1
1
  import { Edge } from '@xyflow/react';
2
2
  import { EdgeProps } from '@xyflow/react';
3
- import { JSX as JSX_2 } from 'react/jsx-runtime';
3
+ import { JSX } from 'react';
4
4
  import { Node as Node_2 } from '@xyflow/react';
5
5
  import { NodeProps } from '@xyflow/react';
6
6
  import { OnEdgesChange } from '@xyflow/react';
@@ -8,21 +8,21 @@ import { OnNodesChange } from '@xyflow/react';
8
8
  import { StoreApi } from 'zustand';
9
9
  import * as Y from 'yjs';
10
10
 
11
- declare function Activity({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
11
+ declare function Activity({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
12
12
 
13
- declare function ActivityActionNode({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
13
+ declare function ActivityActionNode({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
14
14
 
15
- declare function ActivityFinalNode({ id, width, height, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
15
+ declare function ActivityFinalNode({ id, width, height, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
16
16
 
17
- declare function ActivityForkNode({ id, width, height, parentId, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
17
+ declare function ActivityForkNode({ id, width, height, parentId, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
18
18
 
19
- declare function ActivityForkNodeHorizontal({ id, width, height, parentId, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
19
+ declare function ActivityForkNodeHorizontal({ id, width, height, parentId, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
20
20
 
21
- declare function ActivityInitialNode({ id, width, height, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
21
+ declare function ActivityInitialNode({ id, width, height, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
22
22
 
23
- declare function ActivityMergeNode({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
23
+ declare function ActivityMergeNode({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
24
24
 
25
- declare function ActivityObjectNode({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
25
+ declare function ActivityObjectNode({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
26
26
 
27
27
  declare type ApollonEdge = {
28
28
  id: string;
@@ -78,29 +78,31 @@ declare type Assessment = {
78
78
 
79
79
  declare type BaseEdgeProps = ExtendedEdgeProps;
80
80
 
81
- declare function BPMNAnnotation({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNAnnotationProps>>): JSX_2.Element | null;
81
+ declare function BPMNAnnotation({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNAnnotationProps>>): JSX.Element | null;
82
82
 
83
83
  declare type BPMNAnnotationProps = DefaultNodeProps;
84
84
 
85
- declare function BPMNCallActivity({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNCallActivityProps>>): JSX_2.Element | null;
85
+ declare function BPMNCallActivity({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNCallActivityProps>>): JSX.Element | null;
86
86
 
87
87
  declare type BPMNCallActivityProps = DefaultNodeProps;
88
88
 
89
- declare function BPMNDataObject({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNDataObjectProps>>): JSX_2.Element | null;
89
+ declare function BPMNDataObject({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNDataObjectProps>>): JSX.Element | null;
90
90
 
91
91
  declare type BPMNDataObjectProps = DefaultNodeProps;
92
92
 
93
- declare function BPMNDataStore({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNDataStoreProps>>): JSX_2.Element | null;
93
+ declare function BPMNDataStore({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNDataStoreProps>>): JSX.Element | null;
94
94
 
95
95
  declare type BPMNDataStoreProps = DefaultNodeProps;
96
96
 
97
- declare function BPMNEndEvent({ id, width, height, data, }: NodeProps<Node_2<BPMNEventProps>>): JSX_2.Element;
97
+ declare function BPMNEndEvent({ id, width, height, data, }: NodeProps<Node_2<BPMNEventProps>>): JSX.Element;
98
+
99
+ declare type BPMNEndEventType = "default" | "message" | "escalation" | "error" | "compensation" | "signal" | "terminate";
98
100
 
99
101
  declare type BPMNEventProps = DefaultNodeProps & {
100
- eventType: BPMNStartEventType;
102
+ eventType: BPMNStartEventType | BPMNIntermediateEventType | BPMNEndEventType;
101
103
  };
102
104
 
103
- declare function BPMNGateway({ id, width, height, data, }: NodeProps<Node_2<BPMNGatewayProps>>): JSX_2.Element;
105
+ declare function BPMNGateway({ id, width, height, data, }: NodeProps<Node_2<BPMNGatewayProps>>): JSX.Element;
104
106
 
105
107
  declare type BPMNGatewayProps = DefaultNodeProps & {
106
108
  gatewayType: BPMNGatewayType;
@@ -108,27 +110,29 @@ declare type BPMNGatewayProps = DefaultNodeProps & {
108
110
 
109
111
  declare type BPMNGatewayType = "complex" | "event-based" | "exclusive" | "inclusive" | "parallel";
110
112
 
111
- declare function BPMNGroup({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNGroupProps>>): JSX_2.Element | null;
113
+ declare function BPMNGroup({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNGroupProps>>): JSX.Element | null;
112
114
 
113
115
  declare type BPMNGroupProps = DefaultNodeProps;
114
116
 
115
- declare function BPMNIntermediateEvent({ id, width, height, data, }: NodeProps<Node_2<BPMNEventProps>>): JSX_2.Element;
117
+ declare function BPMNIntermediateEvent({ id, width, height, data, }: NodeProps<Node_2<BPMNEventProps>>): JSX.Element;
118
+
119
+ declare type BPMNIntermediateEventType = "default" | "message-catch" | "message-throw" | "timer-catch" | "escalation-throw" | "conditional-catch" | "link-catch" | "link-throw" | "compensation-throw" | "signal-catch" | "signal-throw";
116
120
 
117
121
  declare type BPMNMarkerType = "none" | "parallel multi instance" | "sequential multi instance" | "loop";
118
122
 
119
- declare function BPMNPool({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNPoolProps>>): JSX_2.Element | null;
123
+ declare function BPMNPool({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNPoolProps>>): JSX.Element | null;
120
124
 
121
125
  declare type BPMNPoolProps = DefaultNodeProps;
122
126
 
123
- declare function BPMNStartEvent({ id, width, height, data, }: NodeProps<Node_2<BPMNEventProps>>): JSX_2.Element;
127
+ declare function BPMNStartEvent({ id, width, height, data, }: NodeProps<Node_2<BPMNEventProps>>): JSX.Element;
124
128
 
125
129
  declare type BPMNStartEventType = "default" | "message" | "timer" | "conditional" | "signal";
126
130
 
127
- declare function BPMNSubprocess({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNSubprocessProps>>): JSX_2.Element | null;
131
+ declare function BPMNSubprocess({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNSubprocessProps>>): JSX.Element | null;
128
132
 
129
133
  declare type BPMNSubprocessProps = DefaultNodeProps;
130
134
 
131
- declare function BPMNTask({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNTaskProps>>): JSX_2.Element | null;
135
+ declare function BPMNTask({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNTaskProps>>): JSX.Element | null;
132
136
 
133
137
  declare type BPMNTaskProps = DefaultNodeProps & {
134
138
  taskType: BPMNTaskType;
@@ -137,11 +141,11 @@ declare type BPMNTaskProps = DefaultNodeProps & {
137
141
 
138
142
  declare type BPMNTaskType = "default" | "user" | "send" | "receive" | "manual" | "business-rule" | "script";
139
143
 
140
- declare function BPMNTransaction({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNTransactionProps>>): JSX_2.Element | null;
144
+ declare function BPMNTransaction({ id, width, height, data, parentId, }: NodeProps<Node_2<BPMNTransactionProps>>): JSX.Element | null;
141
145
 
142
146
  declare type BPMNTransactionProps = DefaultNodeProps;
143
147
 
144
- declare function Class({ id, width, height, data, }: NodeProps<Node_2<ClassNodeProps>>): JSX_2.Element;
148
+ declare function Class({ id, width, height, data, }: NodeProps<Node_2<ClassNodeProps>>): JSX.Element;
145
149
 
146
150
  declare type ClassNodeElement = {
147
151
  id: string;
@@ -194,24 +198,24 @@ declare type CollaboratorInfo = {
194
198
  isLocal: boolean;
195
199
  };
196
200
 
197
- declare function ColorDescription({ width, height, data, id, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
201
+ declare function ColorDescription({ width, height, data, id, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
198
202
 
199
- declare function CommunicationObjectName({ id, width, height, data, }: NodeProps<Node_2<CommunicationObjectNodeProps>>): JSX_2.Element;
203
+ declare function CommunicationObjectName({ id, width, height, data, }: NodeProps<Node_2<CommunicationObjectNodeProps>>): JSX.Element;
200
204
 
201
205
  declare type CommunicationObjectNodeProps = {
202
206
  methods: ClassNodeElement[];
203
207
  attributes: ClassNodeElement[];
204
208
  } & DefaultNodeProps;
205
209
 
206
- declare function Component({ id, width, height, data, parentId, }: NodeProps<Node_2<ComponentNodeProps>>): JSX_2.Element | null;
210
+ declare function Component({ id, width, height, data, parentId, }: NodeProps<Node_2<ComponentNodeProps>>): JSX.Element | null;
207
211
 
208
- declare function ComponentInterface({ id, width, height, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
212
+ declare function ComponentInterface({ id, width, height, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
209
213
 
210
214
  declare type ComponentNodeProps = {
211
215
  isComponentHeaderShown: boolean;
212
216
  } & DefaultNodeProps;
213
217
 
214
- declare function ComponentSubsystem({ id, width, height, data, parentId, }: NodeProps<Node_2<ComponentSubsystemNodeProps>>): JSX_2.Element | null;
218
+ declare function ComponentSubsystem({ id, width, height, data, parentId, }: NodeProps<Node_2<ComponentSubsystemNodeProps>>): JSX.Element | null;
215
219
 
216
220
  declare type ComponentSubsystemNodeProps = {
217
221
  isComponentSubsystemHeaderShown: boolean;
@@ -282,17 +286,17 @@ declare type DefaultNodeProps = {
282
286
  textColor?: string;
283
287
  };
284
288
 
285
- declare function DeploymentArtifact({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
289
+ declare function DeploymentArtifact({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
286
290
 
287
- declare function DeploymentComponent({ id, width, height, data, parentId, }: NodeProps<Node_2<DeploymentComponentProps>>): JSX_2.Element | null;
291
+ declare function DeploymentComponent({ id, width, height, data, parentId, }: NodeProps<Node_2<DeploymentComponentProps>>): JSX.Element | null;
288
292
 
289
293
  declare type DeploymentComponentProps = {
290
294
  isComponentHeaderShown: boolean;
291
295
  } & DefaultNodeProps;
292
296
 
293
- declare function DeploymentInterface({ id, width, height, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
297
+ declare function DeploymentInterface({ id, width, height, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
294
298
 
295
- declare function DeploymentNode({ id, width, height, data, parentId, }: NodeProps<Node_2<DeploymentNodeProps>>): JSX_2.Element | null;
299
+ declare function DeploymentNode({ id, width, height, data, parentId, }: NodeProps<Node_2<DeploymentNodeProps>>): JSX.Element | null;
296
300
 
297
301
  declare type DeploymentNodeProps = {
298
302
  isComponentHeaderShown: boolean;
@@ -302,40 +306,40 @@ declare type DeploymentNodeProps = {
302
306
  declare type DiagramEdgeType = keyof typeof diagramEdgeTypes;
303
307
 
304
308
  declare const diagramEdgeTypes: {
305
- ClassAggregation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
306
- ClassInheritance: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
307
- ClassRealization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
308
- ClassComposition: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
309
- ClassBidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
310
- ClassUnidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
311
- ClassDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
312
- ActivityControlFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
313
- ObjectLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
314
- FlowChartFlowline: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
315
- SyntaxTreeLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
316
- CommunicationLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
317
- PetriNetArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
318
- UseCaseAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
319
- UseCaseInclude: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
320
- UseCaseExtend: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
321
- UseCaseGeneralization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
322
- ComponentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
323
- ComponentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
324
- ComponentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
325
- ComponentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
326
- ComponentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
327
- DeploymentAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
328
- DeploymentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
329
- DeploymentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
330
- DeploymentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
331
- DeploymentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
332
- DeploymentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
333
- SfcDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
334
- ReachabilityGraphArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
335
- BPMNSequenceFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
336
- BPMNMessageFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
337
- BPMNAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
338
- BPMNDataAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX_2.Element;
309
+ ClassAggregation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
310
+ ClassInheritance: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
311
+ ClassRealization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
312
+ ClassComposition: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
313
+ ClassBidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
314
+ ClassUnidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
315
+ ClassDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
316
+ ActivityControlFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
317
+ ObjectLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
318
+ FlowChartFlowline: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
319
+ SyntaxTreeLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
320
+ CommunicationLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
321
+ PetriNetArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
322
+ UseCaseAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
323
+ UseCaseInclude: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
324
+ UseCaseExtend: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
325
+ UseCaseGeneralization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
326
+ ComponentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
327
+ ComponentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
328
+ ComponentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
329
+ ComponentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
330
+ ComponentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
331
+ DeploymentAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
332
+ DeploymentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
333
+ DeploymentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
334
+ DeploymentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
335
+ DeploymentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
336
+ DeploymentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
337
+ SfcDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
338
+ ReachabilityGraphArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
339
+ BPMNSequenceFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
340
+ BPMNMessageFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
341
+ BPMNAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
342
+ BPMNDataAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
339
343
  };
340
344
 
341
345
  declare type DiagramNodeType = keyof typeof diagramNodeTypes;
@@ -453,19 +457,23 @@ declare type FeedbackCorrectionStatus = {
453
457
  status: "CORRECT" | "INCORRECT" | "NOT_VALIDATED";
454
458
  };
455
459
 
456
- declare function FlowchartDecision({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
460
+ declare function FlowchartDecision({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
457
461
 
458
- declare function FlowchartFunctionCall({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
462
+ declare function FlowchartFunctionCall({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
459
463
 
460
- declare function FlowchartInputOutput({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
464
+ declare function FlowchartInputOutput({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
461
465
 
462
- declare function FlowchartProcess({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
466
+ declare function FlowchartProcess({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
463
467
 
464
- declare function FlowchartTerminal({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
468
+ declare function FlowchartTerminal({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
465
469
 
466
470
  declare type InteractiveElements = {
467
- elements: Record<string, boolean>;
468
- relationships: Record<string, boolean>;
471
+ elements: {
472
+ [id: string]: boolean;
473
+ };
474
+ relationships: {
475
+ [id: string]: boolean;
476
+ };
469
477
  };
470
478
 
471
479
  declare interface IPoint {
@@ -540,7 +548,7 @@ declare type MetadataStore = {
540
548
  setDebug: (debug: boolean) => void;
541
549
  };
542
550
 
543
- declare function ObjectName({ id, width, height, data, }: NodeProps<Node_2<ObjectNodeProps>>): JSX_2.Element;
551
+ declare function ObjectName({ id, width, height, data, }: NodeProps<Node_2<ObjectNodeProps>>): JSX.Element;
544
552
 
545
553
  declare type ObjectNodeProps = {
546
554
  methods: ClassNodeElement[];
@@ -552,23 +560,23 @@ declare interface OrthogonalEdgeData {
552
560
  points: IPoint_2[];
553
561
  }
554
562
 
555
- declare function Package({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
563
+ declare function Package({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
556
564
 
557
- declare function PetriNetPlace({ id, width, height, data, }: NodeProps<Node_2<PetriNetPlaceProps>>): JSX_2.Element | null;
565
+ declare function PetriNetPlace({ id, width, height, data, }: NodeProps<Node_2<PetriNetPlaceProps>>): JSX.Element | null;
558
566
 
559
567
  declare type PetriNetPlaceProps = {
560
568
  tokens: number;
561
- capacity: number | "Infinity";
569
+ capacity: number | string;
562
570
  } & DefaultNodeProps;
563
571
 
564
- declare function PetriNetTransition({ id, width, height, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
572
+ declare function PetriNetTransition({ id, width, height, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
565
573
 
566
574
  declare type Props = Node_2<{
567
575
  description?: string;
568
576
  title: string;
569
577
  }>;
570
578
 
571
- declare function ReachabilityGraphMarking({ id, width, height, data, parentId, }: NodeProps<Node_2<ReachabilityGraphMarkingProps>>): JSX_2.Element | null;
579
+ declare function ReachabilityGraphMarking({ id, width, height, data, parentId, }: NodeProps<Node_2<ReachabilityGraphMarkingProps>>): JSX.Element | null;
572
580
 
573
581
  declare type ReachabilityGraphMarkingProps = DefaultNodeProps & {
574
582
  isInitialMarking: boolean;
@@ -581,29 +589,29 @@ declare type SfcActionRow = DefaultNodeProps & {
581
589
  identifier: string;
582
590
  };
583
591
 
584
- declare function SfcActionTable({ id, width, height, data, }: NodeProps<Node_2<SfcActionTableProps>>): JSX_2.Element | null;
592
+ declare function SfcActionTable({ id, width, height, data, }: NodeProps<Node_2<SfcActionTableProps>>): JSX.Element | null;
585
593
 
586
594
  declare type SfcActionTableProps = DefaultNodeProps & {
587
595
  actionRows: SfcActionRow[];
588
596
  };
589
597
 
590
- declare function SfcJump({ id, width, height, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
598
+ declare function SfcJump({ id, width, height, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
591
599
 
592
- declare function SfcStart({ id, width, height, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
600
+ declare function SfcStart({ id, width, height, data, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
593
601
 
594
- declare function SfcStep({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
602
+ declare function SfcStep({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
595
603
 
596
- declare function SfcTransitionBranch({ id, width, height, data, }: NodeProps<Node_2<SfcTransitionBranchNodeProps>>): JSX_2.Element | null;
604
+ declare function SfcTransitionBranch({ id, width, height, data, }: NodeProps<Node_2<SfcTransitionBranchNodeProps>>): JSX.Element | null;
597
605
 
598
606
  declare type SfcTransitionBranchNodeProps = DefaultNodeProps & {
599
- showHint: boolean;
607
+ showHint?: boolean;
600
608
  };
601
609
 
602
- declare function SyntaxTreeNonterminal({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
610
+ declare function SyntaxTreeNonterminal({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
603
611
 
604
- declare function SyntaxTreeTerminal({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
612
+ declare function SyntaxTreeTerminal({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
605
613
 
606
- declare function TitleAndDesctiption({ width, height, id, data: { description, title }, }: NodeProps<Props>): JSX_2.Element | null;
614
+ declare function TitleAndDesctiption({ width, height, id, data: { description, title }, }: NodeProps<Props>): JSX.Element | null;
607
615
 
608
616
  declare type UMLDiagramType = keyof typeof UMLDiagramType;
609
617
 
@@ -636,11 +644,11 @@ declare type UMLModel = {
636
644
  interactive?: InteractiveElements;
637
645
  };
638
646
 
639
- declare function UseCase({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
647
+ declare function UseCase({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
640
648
 
641
- declare function UseCaseActor({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
649
+ declare function UseCaseActor({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
642
650
 
643
- declare function UseCaseSystem({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX_2.Element | null;
651
+ declare function UseCaseSystem({ id, width, height, data, parentId, }: NodeProps<Node_2<DefaultNodeProps>>): JSX.Element | null;
644
652
 
645
653
  declare interface V2DiagramFormat {
646
654
  version: string;
package/dist/internals.js CHANGED
@@ -1,5 +1,5 @@
1
- import { V as n, aB as r } from "./yjsSync-CK5cmd5z.js";
2
- import { a8 as i, aQ as p, aR as S, aS as u, aT as g, aU as T, aV as b, bk as l, bl as F, bm as v } from "./yjsSync-CK5cmd5z.js";
1
+ import { W as n, aE as r } from "./yjsSync-aPxjWNdZ.js";
2
+ import { ab as p, aU as i, aV as u, aW as S, aX as g, aY as T, aZ as b, bo as F, bp as l, bq as v } from "./yjsSync-aPxjWNdZ.js";
3
3
  function V(t = new n()) {
4
4
  const e = () => {
5
5
  }, a = {
@@ -17,24 +17,29 @@ function V(t = new n()) {
17
17
  subscribe: () => e,
18
18
  getInitialState: () => ({})
19
19
  }, s = {
20
- getState: () => ({ updateMetaDataFromYjs: e }),
20
+ getState: () => ({
21
+ updateMetaDataFromYjs: e
22
+ }),
21
23
  setState: e,
22
24
  subscribe: () => e,
23
25
  getInitialState: () => ({})
24
26
  }, o = new r(t, a, s);
25
- return { ydoc: t, sync: o };
27
+ return {
28
+ ydoc: t,
29
+ sync: o
30
+ };
26
31
  }
27
32
  export {
28
- i as MessageType,
33
+ p as MessageType,
29
34
  r as YjsSync,
30
- p as convertV2ToV4,
31
- S as convertV3EdgeTypeToV4,
32
- u as convertV3HandleToV4,
35
+ i as convertV2ToV4,
36
+ u as convertV3EdgeTypeToV4,
37
+ S as convertV3HandleToV4,
33
38
  g as convertV3MessagesToV4,
34
39
  T as convertV3NodeTypeToV4,
35
40
  b as convertV3ToV4,
36
41
  V as createHeadlessSync,
37
- l as isV2Format,
38
- F as isV3Format,
42
+ F as isV2Format,
43
+ l as isV3Format,
39
44
  v as isV4Format
40
45
  };
@@ -5,5 +5,5 @@ interface AppProps {
5
5
  collaboration: CollaborationLayerOptions;
6
6
  awareness: CollaborationAwarenessApi;
7
7
  }
8
- export declare function AppWithProvider(props: AppProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function AppWithProvider(props: AppProps): import("react").JSX.Element;
9
9
  export {};
@@ -0,0 +1,92 @@
1
+ Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+ -----------------------------------------------------------
8
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
9
+ -----------------------------------------------------------
10
+
11
+ PREAMBLE
12
+ The goals of the Open Font License (OFL) are to stimulate worldwide
13
+ development of collaborative font projects, to support the font creation
14
+ efforts of academic and linguistic communities, and to provide a free and
15
+ open framework in which fonts may be shared and improved in partnership
16
+ with others.
17
+
18
+ The OFL allows the licensed fonts to be used, studied, modified and
19
+ redistributed freely as long as they are not sold by themselves. The
20
+ fonts, including any derivative works, can be bundled, embedded,
21
+ redistributed and/or sold with any software provided that any reserved
22
+ names are not used by derivative works. The fonts and derivatives,
23
+ however, cannot be released under any other type of license. The
24
+ requirement for fonts to remain under this license does not apply
25
+ to any document created using the fonts or their derivatives.
26
+
27
+ DEFINITIONS
28
+ "Font Software" refers to the set of files released by the Copyright
29
+ Holder(s) under this license and clearly marked as such. This may
30
+ include source files, build scripts and documentation.
31
+
32
+ "Reserved Font Name" refers to any names specified as such after the
33
+ copyright statement(s).
34
+
35
+ "Original Version" refers to the collection of Font Software components as
36
+ distributed by the Copyright Holder(s).
37
+
38
+ "Modified Version" refers to any derivative made by adding to, deleting,
39
+ or substituting -- in part or in whole -- any of the components of the
40
+ Original Version, by changing formats or by porting the Font Software to a
41
+ new environment.
42
+
43
+ "Author" refers to any designer, engineer, programmer, technical
44
+ writer or other person who contributed to the Font Software.
45
+
46
+ PERMISSION AND CONDITIONS
47
+ Permission is hereby granted, free of charge, to any person obtaining
48
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
49
+ redistribute, and sell modified and unmodified copies of the Font
50
+ Software, subject to the following conditions:
51
+
52
+ 1) Neither the Font Software nor any of its individual components,
53
+ in Original or Modified Versions, may be sold by itself.
54
+
55
+ 2) Original or Modified Versions of the Font Software may be bundled,
56
+ redistributed and/or sold with any software, provided that each copy
57
+ contains the above copyright notice and this license. These can be
58
+ included either as stand-alone text files, human-readable headers or
59
+ in the appropriate machine-readable metadata fields within text or
60
+ binary files as long as those fields can be easily viewed by the user.
61
+
62
+ 3) No Modified Version of the Font Software may use the Reserved Font
63
+ Name(s) unless explicit written permission is granted by the corresponding
64
+ Copyright Holder. This restriction only applies to the primary font name as
65
+ presented to the users.
66
+
67
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
68
+ Software shall not be used to promote, endorse or advertise any
69
+ Modified Version, except to acknowledge the contribution(s) of the
70
+ Copyright Holder(s) and the Author(s) or with their explicit written
71
+ permission.
72
+
73
+ 5) The Font Software, modified or unmodified, in part or in whole,
74
+ must be distributed entirely under this license, and must not be
75
+ distributed under any other license. The requirement for fonts to
76
+ remain under this license does not apply to any document created
77
+ using the Font Software.
78
+
79
+ TERMINATION
80
+ This license becomes null and void if any of the above conditions are
81
+ not met.
82
+
83
+ DISCLAIMER
84
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
85
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
86
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
87
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
88
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
89
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
90
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
91
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
92
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -103,6 +103,25 @@ export declare class ApollonEditor {
103
103
  };
104
104
  get model(): Apollon.UMLModel;
105
105
  set model(model: Apollon.UMLModel);
106
+ /**
107
+ * Host-driven element highlighting. Paints a translucent overlay over each
108
+ * given node / edge / class-member id in the supplied CSS color — the v4
109
+ * replacement for v3's `UMLModelElement.highlight` field and
110
+ * `ApollonEditor.select()`. Typical hosts: an assessment editor marking
111
+ * elements that are missing feedback, or Athena marking elements that have
112
+ * automatic-feedback suggestions.
113
+ *
114
+ * The highlight is an ephemeral view overlay: it is NOT written into the
115
+ * model, NOT serialized by `get model`, and NOT shared with collaborators.
116
+ * Each call replaces the previous highlight set; pass `null` (or an empty
117
+ * map) to clear all highlights. Passing `undefined` is a no-op.
118
+ *
119
+ * @param highlights map / record of element id -> CSS color (any valid CSS
120
+ * color string, e.g. `"rgba(23,162,184,0.3)"`), or `null` to clear.
121
+ */
122
+ setElementHighlights(highlights: Map<string, string> | Record<string, string> | null | undefined): void;
123
+ /** Returns a copy of the current highlight record (id -> CSS color). */
124
+ getElementHighlights(): Record<string, string>;
106
125
  getSelectedElements(): string[];
107
126
  get view(): Apollon.ApollonView;
108
127
  set view(view: Apollon.ApollonView);
@@ -1 +1 @@
1
- export declare const AlignmentGuides: () => import("react/jsx-runtime").JSX.Element | null;
1
+ export declare const AlignmentGuides: () => import("react").JSX.Element | null;
@@ -1 +1 @@
1
- export declare function AssessmentSelectionDebug(): import("react/jsx-runtime").JSX.Element | null;
1
+ export declare function AssessmentSelectionDebug(): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- export declare const CustomBackground: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const CustomBackground: () => import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare const CustomControls: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const CustomControls: () => import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare const CustomMiniMap: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const CustomMiniMap: () => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { SVGAttributes } from 'react';
2
2
  type Props = SVGAttributes<SVGSVGElement>;
3
- export declare const ArrowBackIcon: ({ width, height, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ArrowBackIcon: ({ width, height, ...props }: Props) => import("react").JSX.Element;
4
4
  export {};
@@ -1,4 +1,4 @@
1
1
  import { SVGAttributes } from 'react';
2
2
  type Props = SVGAttributes<SVGSVGElement>;
3
- export declare const ArrowForwardIcon: ({ width, height, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ArrowForwardIcon: ({ width, height, ...props }: Props) => import("react").JSX.Element;
4
4
  export {};
@@ -1,4 +1,4 @@
1
1
  import { SVGAttributes } from 'react';
2
2
  type Props = SVGAttributes<SVGSVGElement>;
3
- export declare const CheckIcon: ({ width, height, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const CheckIcon: ({ width, height, ...props }: Props) => import("react").JSX.Element;
4
4
  export {};
@@ -1,4 +1,4 @@
1
1
  import { SVGAttributes } from 'react';
2
2
  type Props = SVGAttributes<SVGSVGElement>;
3
- export declare const CrossIcon: ({ width, height, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const CrossIcon: ({ width, height, ...props }: Props) => import("react").JSX.Element;
4
4
  export {};
@@ -1,4 +1,4 @@
1
1
  import { SVGAttributes } from 'react';
2
2
  type Props = SVGAttributes<SVGSVGElement>;
3
- export declare const DeleteIcon: ({ width, height, fill, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const DeleteIcon: ({ width, height, fill, ...props }: Props) => import("react").JSX.Element;
4
4
  export {};
@@ -1,4 +1,4 @@
1
1
  import { SVGAttributes } from 'react';
2
2
  type Props = SVGAttributes<SVGSVGElement>;
3
- export declare const DragHandleIcon: ({ width, height, fill, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const DragHandleIcon: ({ width, height, fill, ...props }: Props) => import("react").JSX.Element;
4
4
  export {};