@tumaet/apollon 4.8.0 → 5.0.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 (394) hide show
  1. package/README.md +30 -41
  2. package/dist/assets/style.css +2 -1
  3. package/dist/export.js +189 -205
  4. package/dist/exportFonts-B_CLIgms.js +5 -0
  5. package/dist/exportStyles-ob7cmOn_.js +5 -0
  6. package/dist/fontStack-BKkvgDI3.js +4 -0
  7. package/dist/index.d.ts +368 -61
  8. package/dist/index.js +16853 -35703
  9. package/dist/internals.d.ts +31 -10
  10. package/dist/internals.js +28 -45
  11. package/dist/versionConverter-C-s36Ory.js +4769 -0
  12. package/package.json +37 -72
  13. package/schema/uml-model-4.schema.json +1 -0
  14. package/dist/exportFonts-DxO9jrR1.js +0 -19
  15. package/dist/exportStyles-Wcc8N8Xj.js +0 -5
  16. package/dist/fontStack-DOtVH2j8.js +0 -5
  17. package/dist/react/App.d.ts +0 -9
  18. package/dist/react/LICENSE-InterFont +0 -92
  19. package/dist/react/apollon-editor.d.ts +0 -131
  20. package/dist/react/components/AlignmentGuides.d.ts +0 -1
  21. package/dist/react/components/AssessmentSelectableElement.d.ts +0 -10
  22. package/dist/react/components/AssessmentSelectionDebug.d.ts +0 -1
  23. package/dist/react/components/CustomBackground.d.ts +0 -1
  24. package/dist/react/components/CustomControls.d.ts +0 -1
  25. package/dist/react/components/CustomMiniMap.d.ts +0 -1
  26. package/dist/react/components/DraggableGhost.d.ts +0 -13
  27. package/dist/react/components/Icon/ArrowBackIcon.d.ts +0 -4
  28. package/dist/react/components/Icon/ArrowForwardIcon.d.ts +0 -4
  29. package/dist/react/components/Icon/CheckIcon.d.ts +0 -4
  30. package/dist/react/components/Icon/CrossIcon.d.ts +0 -4
  31. package/dist/react/components/Icon/DeleteIcon.d.ts +0 -4
  32. package/dist/react/components/Icon/DragHandleIcon.d.ts +0 -4
  33. package/dist/react/components/Icon/EditIcon.d.ts +0 -4
  34. package/dist/react/components/Icon/ExclamationIcon.d.ts +0 -4
  35. package/dist/react/components/Icon/InfiniteIcon.d.ts +0 -4
  36. package/dist/react/components/Icon/MapIcon.d.ts +0 -4
  37. package/dist/react/components/Icon/PaintRollerIcon.d.ts +0 -2
  38. package/dist/react/components/Icon/RedoIcon.d.ts +0 -2
  39. package/dist/react/components/Icon/SouthEastArrowIcon.d.ts +0 -4
  40. package/dist/react/components/Icon/SwapHorizIcon.d.ts +0 -4
  41. package/dist/react/components/Icon/UndoIcon.d.ts +0 -2
  42. package/dist/react/components/Icon/index.d.ts +0 -14
  43. package/dist/react/components/ReconnectConnectionLine.d.ts +0 -2
  44. package/dist/react/components/ScrollOverlay.d.ts +0 -7
  45. package/dist/react/components/Sidebar.d.ts +0 -2
  46. package/dist/react/components/collaboration/CollaborationLayer.d.ts +0 -25
  47. package/dist/react/components/collaboration/coordinates.d.ts +0 -7
  48. package/dist/react/components/index.d.ts +0 -18
  49. package/dist/react/components/popovers/DefaultNodeEditPopover.d.ts +0 -2
  50. package/dist/react/components/popovers/DefaultNodeGiveFeedbackPopover.d.ts +0 -2
  51. package/dist/react/components/popovers/DefaultNodeSeeFeedbackPopover.d.ts +0 -2
  52. package/dist/react/components/popovers/GenericPopover.d.ts +0 -17
  53. package/dist/react/components/popovers/GiveFeedbackAssessmentBox.d.ts +0 -7
  54. package/dist/react/components/popovers/PopoverManager.d.ts +0 -10
  55. package/dist/react/components/popovers/SeeFeedbackAssessmentBox.d.ts +0 -5
  56. package/dist/react/components/popovers/bpmnDiagram/BPMNEndEventEditPopover.d.ts +0 -2
  57. package/dist/react/components/popovers/bpmnDiagram/BPMNGatewayEditPopover.d.ts +0 -2
  58. package/dist/react/components/popovers/bpmnDiagram/BPMNIntermediateEventEditPopover.d.ts +0 -2
  59. package/dist/react/components/popovers/bpmnDiagram/BPMNPoolEditPopover.d.ts +0 -2
  60. package/dist/react/components/popovers/bpmnDiagram/BPMNStartEventEditPopover.d.ts +0 -2
  61. package/dist/react/components/popovers/bpmnDiagram/BPMNTaskEditPopover.d.ts +0 -2
  62. package/dist/react/components/popovers/bpmnDiagram/index.d.ts +0 -6
  63. package/dist/react/components/popovers/classDiagram/ClassEditPopover.d.ts +0 -2
  64. package/dist/react/components/popovers/classDiagram/ClassGiveFeedbackPopover.d.ts +0 -2
  65. package/dist/react/components/popovers/classDiagram/ClassSeeFeedbackPopover.d.ts +0 -2
  66. package/dist/react/components/popovers/classDiagram/EditableAttributesList.d.ts +0 -6
  67. package/dist/react/components/popovers/classDiagram/EditableMethodsList.d.ts +0 -6
  68. package/dist/react/components/popovers/classDiagram/index.d.ts +0 -6
  69. package/dist/react/components/popovers/communicationDiagram/CommunicationObjectNameEditPopover.d.ts +0 -2
  70. package/dist/react/components/popovers/communicationDiagram/CommunicationObjectNameGiveFeedbackPopover.d.ts +0 -2
  71. package/dist/react/components/popovers/communicationDiagram/CommunicationObjectNameSeeFeedbackPopover.d.ts +0 -2
  72. package/dist/react/components/popovers/communicationDiagram/index.d.ts +0 -3
  73. package/dist/react/components/popovers/componentDiagram/ComponentEditPopover.d.ts +0 -2
  74. package/dist/react/components/popovers/componentDiagram/ComponentSubsystemEditPopover.d.ts +0 -2
  75. package/dist/react/components/popovers/componentDiagram/index.d.ts +0 -2
  76. package/dist/react/components/popovers/deploymentDiagram/DeploymentComponentEditPopover.d.ts +0 -2
  77. package/dist/react/components/popovers/deploymentDiagram/DeploymentNodeEditPopover.d.ts +0 -2
  78. package/dist/react/components/popovers/deploymentDiagram/index.d.ts +0 -2
  79. package/dist/react/components/popovers/edgePopovers/ActivityDiagramEdgeEditPopover.d.ts +0 -2
  80. package/dist/react/components/popovers/edgePopovers/BPMNDiagramEdgeEditPopover.d.ts +0 -2
  81. package/dist/react/components/popovers/edgePopovers/ClassDiagramEdgeEditPopover.d.ts +0 -2
  82. package/dist/react/components/popovers/edgePopovers/CommunicationDiagramEdgeEditPopover.d.ts +0 -2
  83. package/dist/react/components/popovers/edgePopovers/ComponentDiagramEdgeEditPopover.d.ts +0 -2
  84. package/dist/react/components/popovers/edgePopovers/DeploymentDiagramEdgeEditPopover.d.ts +0 -2
  85. package/dist/react/components/popovers/edgePopovers/EdgeGiveFeedbackPopover.d.ts +0 -2
  86. package/dist/react/components/popovers/edgePopovers/EdgeSeeFeedbackPopover.d.ts +0 -2
  87. package/dist/react/components/popovers/edgePopovers/EdgeTypePreviewIcon.d.ts +0 -3
  88. package/dist/react/components/popovers/edgePopovers/EdgeTypeSelect.d.ts +0 -9
  89. package/dist/react/components/popovers/edgePopovers/FlowChartEdgeEditPopover.d.ts +0 -2
  90. package/dist/react/components/popovers/edgePopovers/ObjectDiagramEdgeEditPopover.d.ts +0 -2
  91. package/dist/react/components/popovers/edgePopovers/PetriNetEdgeEditPopover.d.ts +0 -2
  92. package/dist/react/components/popovers/edgePopovers/ReachabilityGraphEdgeEditPopover.d.ts +0 -2
  93. package/dist/react/components/popovers/edgePopovers/SwapEndsButton.d.ts +0 -9
  94. package/dist/react/components/popovers/edgePopovers/SyntaxTreeEdgeEditPopover.d.ts +0 -2
  95. package/dist/react/components/popovers/edgePopovers/UseCaseDiagramEdgeEditPopover.d.ts +0 -2
  96. package/dist/react/components/popovers/edgePopovers/index.d.ts +0 -8
  97. package/dist/react/components/popovers/index.d.ts +0 -3
  98. package/dist/react/components/popovers/objectDiagram/ObjectEditPopover.d.ts +0 -2
  99. package/dist/react/components/popovers/objectDiagram/ObjectGiveFeedbackPopover.d.ts +0 -2
  100. package/dist/react/components/popovers/objectDiagram/ObjectSeeFeedbackPopover.d.ts +0 -2
  101. package/dist/react/components/popovers/objectDiagram/index.d.ts +0 -3
  102. package/dist/react/components/popovers/petriNetDiagram/PetriNetPlaceEditPopover.d.ts +0 -2
  103. package/dist/react/components/popovers/petriNetDiagram/index.d.ts +0 -1
  104. package/dist/react/components/popovers/reachabilityGraphDiagram/ReachabilityGraphMarkingEditPopover.d.ts +0 -2
  105. package/dist/react/components/popovers/reachabilityGraphDiagram/index.d.ts +0 -1
  106. package/dist/react/components/popovers/sfcDiagram/SfcActionTableEditPopover.d.ts +0 -3
  107. package/dist/react/components/popovers/sfcDiagram/SfcEdgeEditPopover.d.ts +0 -2
  108. package/dist/react/components/popovers/sfcDiagram/index.d.ts +0 -2
  109. package/dist/react/components/popovers/syntaxTreeDiagram/SyntaxTreeNonterminalEditPopover.d.ts +0 -2
  110. package/dist/react/components/popovers/syntaxTreeDiagram/SyntaxTreeTerminalEditPopover.d.ts +0 -2
  111. package/dist/react/components/popovers/syntaxTreeDiagram/index.d.ts +0 -2
  112. package/dist/react/components/popovers/types.d.ts +0 -6
  113. package/dist/react/components/react/Apollon.d.ts +0 -50
  114. package/dist/react/components/react/context.d.ts +0 -16
  115. package/dist/react/components/react/useApollonSubscription.d.ts +0 -17
  116. package/dist/react/components/svgs/AssessmentIcon.d.ts +0 -8
  117. package/dist/react/components/svgs/StyledElements.d.ts +0 -2
  118. package/dist/react/components/svgs/edges/InlineMarker.d.ts +0 -70
  119. package/dist/react/components/svgs/edges/index.d.ts +0 -1
  120. package/dist/react/components/svgs/index.d.ts +0 -3
  121. package/dist/react/components/svgs/nodes/CustomText.d.ts +0 -10
  122. package/dist/react/components/svgs/nodes/HeaderSection.d.ts +0 -14
  123. package/dist/react/components/svgs/nodes/MultilineText.d.ts +0 -51
  124. package/dist/react/components/svgs/nodes/RowBlockSection.d.ts +0 -15
  125. package/dist/react/components/svgs/nodes/SeparationLine.d.ts +0 -8
  126. package/dist/react/components/svgs/nodes/StereotypeAndName.d.ts +0 -54
  127. package/dist/react/components/svgs/nodes/activityDiagram/ActivityActionNodeSVG.d.ts +0 -6
  128. package/dist/react/components/svgs/nodes/activityDiagram/ActivityFinalNodeSVG.d.ts +0 -2
  129. package/dist/react/components/svgs/nodes/activityDiagram/ActivityForkNodeHorizontalSVG.d.ts +0 -7
  130. package/dist/react/components/svgs/nodes/activityDiagram/ActivityForkNodeSVG.d.ts +0 -7
  131. package/dist/react/components/svgs/nodes/activityDiagram/ActivityInitialNodeSVG.d.ts +0 -2
  132. package/dist/react/components/svgs/nodes/activityDiagram/ActivityMergeNodeSVG.d.ts +0 -7
  133. package/dist/react/components/svgs/nodes/activityDiagram/ActivityObjectNodeSVG.d.ts +0 -7
  134. package/dist/react/components/svgs/nodes/activityDiagram/ActivitySVG.d.ts +0 -6
  135. package/dist/react/components/svgs/nodes/activityDiagram/index.d.ts +0 -8
  136. package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNAnnotationNodeSVG.d.ts +0 -7
  137. package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNDataObjectNodeSVG.d.ts +0 -7
  138. package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNDataStoreNodeSVG.d.ts +0 -7
  139. package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNEventNodeSVG.d.ts +0 -8
  140. package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNGatewayNodeSVG.d.ts +0 -7
  141. package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNGroupNodeSVG.d.ts +0 -7
  142. package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNPoolNodeSVG.d.ts +0 -7
  143. package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNSubprocessNodeSVG.d.ts +0 -8
  144. package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNTaskNodeSVG.d.ts +0 -6
  145. package/dist/react/components/svgs/nodes/bpmnDiagram/index.d.ts +0 -9
  146. package/dist/react/components/svgs/nodes/classDiagram/ClassSVG.d.ts +0 -10
  147. package/dist/react/components/svgs/nodes/classDiagram/ColorDescriptionSVG.d.ts +0 -10
  148. package/dist/react/components/svgs/nodes/classDiagram/PackageSVG.d.ts +0 -6
  149. package/dist/react/components/svgs/nodes/classDiagram/TitleAndDescriptionSVG.d.ts +0 -11
  150. package/dist/react/components/svgs/nodes/classDiagram/index.d.ts +0 -4
  151. package/dist/react/components/svgs/nodes/communicationDiagram/CommunicationObjectNameSVG.d.ts +0 -6
  152. package/dist/react/components/svgs/nodes/communicationDiagram/index.d.ts +0 -1
  153. package/dist/react/components/svgs/nodes/componentDiagram/ComponentInterfaceNodeSVG.d.ts +0 -7
  154. package/dist/react/components/svgs/nodes/componentDiagram/ComponentNodeSVG.d.ts +0 -7
  155. package/dist/react/components/svgs/nodes/componentDiagram/ComponentSubsystemNodeSVG.d.ts +0 -7
  156. package/dist/react/components/svgs/nodes/componentDiagram/index.d.ts +0 -3
  157. package/dist/react/components/svgs/nodes/deploymentDiagram/DeploymentArtifactSVG.d.ts +0 -7
  158. package/dist/react/components/svgs/nodes/deploymentDiagram/DeploymentComponentSVG.d.ts +0 -7
  159. package/dist/react/components/svgs/nodes/deploymentDiagram/DeploymentInterfaceSVG.d.ts +0 -7
  160. package/dist/react/components/svgs/nodes/deploymentDiagram/DeploymentNodeSVG.d.ts +0 -7
  161. package/dist/react/components/svgs/nodes/deploymentDiagram/index.d.ts +0 -4
  162. package/dist/react/components/svgs/nodes/flowchartDiagram/FlowchartDecisionNodeSVG.d.ts +0 -7
  163. package/dist/react/components/svgs/nodes/flowchartDiagram/FlowchartFunctionCallNodeSVG.d.ts +0 -7
  164. package/dist/react/components/svgs/nodes/flowchartDiagram/FlowchartInputOutputNodeSVG.d.ts +0 -7
  165. package/dist/react/components/svgs/nodes/flowchartDiagram/FlowchartProcessNodeSVG.d.ts +0 -7
  166. package/dist/react/components/svgs/nodes/flowchartDiagram/FlowchartTerminalNodeSVG.d.ts +0 -7
  167. package/dist/react/components/svgs/nodes/flowchartDiagram/index.d.ts +0 -5
  168. package/dist/react/components/svgs/nodes/index.d.ts +0 -13
  169. package/dist/react/components/svgs/nodes/objectDiagram/ObjectNameSVG.d.ts +0 -7
  170. package/dist/react/components/svgs/nodes/objectDiagram/index.d.ts +0 -1
  171. package/dist/react/components/svgs/nodes/petriNetDiagram/PetriNetPlaceSVG.d.ts +0 -7
  172. package/dist/react/components/svgs/nodes/petriNetDiagram/PetriNetTransitionSVG.d.ts +0 -7
  173. package/dist/react/components/svgs/nodes/petriNetDiagram/index.d.ts +0 -2
  174. package/dist/react/components/svgs/nodes/reachabilityGraphDiagram/ReachabilityGraphMarkingSVG.d.ts +0 -7
  175. package/dist/react/components/svgs/nodes/reachabilityGraphDiagram/index.d.ts +0 -1
  176. package/dist/react/components/svgs/nodes/sfcDiagram/SfcActionTableNodeSVG.d.ts +0 -7
  177. package/dist/react/components/svgs/nodes/sfcDiagram/SfcJumpNodeSVG.d.ts +0 -7
  178. package/dist/react/components/svgs/nodes/sfcDiagram/SfcStartNodeSVG.d.ts +0 -7
  179. package/dist/react/components/svgs/nodes/sfcDiagram/SfcStepNodeSVG.d.ts +0 -7
  180. package/dist/react/components/svgs/nodes/sfcDiagram/SfcTransitionBranchNodeSVG.d.ts +0 -7
  181. package/dist/react/components/svgs/nodes/sfcDiagram/index.d.ts +0 -5
  182. package/dist/react/components/svgs/nodes/syntaxTreeDiagram/SyntaxTreeNonterminalNodeSVG.d.ts +0 -7
  183. package/dist/react/components/svgs/nodes/syntaxTreeDiagram/SyntaxTreeTerminalNodeSVG.d.ts +0 -7
  184. package/dist/react/components/svgs/nodes/syntaxTreeDiagram/index.d.ts +0 -2
  185. package/dist/react/components/svgs/nodes/useCaseDiagram/UseCaseActorNodeSVG.d.ts +0 -7
  186. package/dist/react/components/svgs/nodes/useCaseDiagram/UseCaseNodeSVG.d.ts +0 -7
  187. package/dist/react/components/svgs/nodes/useCaseDiagram/UseCaseSystemNodeSVG.d.ts +0 -7
  188. package/dist/react/components/svgs/nodes/useCaseDiagram/index.d.ts +0 -3
  189. package/dist/react/components/toolbars/NodeToolbar.d.ts +0 -7
  190. package/dist/react/components/toolbars/edgeToolBar/CustomEdgeToolBar.d.ts +0 -12
  191. package/dist/react/components/toolbars/edgeToolBar/index.d.ts +0 -1
  192. package/dist/react/components/toolbars/index.d.ts +0 -1
  193. package/dist/react/components/ui/DividerLine.d.ts +0 -9
  194. package/dist/react/components/ui/HeaderSwitchElement.d.ts +0 -7
  195. package/dist/react/components/ui/PrimaryButton.d.ts +0 -8
  196. package/dist/react/components/ui/StereotypeButtonGroup.d.ts +0 -8
  197. package/dist/react/components/ui/StyleEditor/ColorButtons.d.ts +0 -11
  198. package/dist/react/components/ui/StyleEditor/EdgeStyleEditor.d.ts +0 -11
  199. package/dist/react/components/ui/StyleEditor/NodeStyleEditor.d.ts +0 -22
  200. package/dist/react/components/ui/StyleEditor/index.d.ts +0 -2
  201. package/dist/react/components/ui/TextField.d.ts +0 -3
  202. package/dist/react/components/ui/Typography.d.ts +0 -3
  203. package/dist/react/components/ui/index.d.ts +0 -7
  204. package/dist/react/components/wrapper/AssessmentSelectableWrapper.d.ts +0 -11
  205. package/dist/react/components/wrapper/FeedbackDropzone.d.ts +0 -10
  206. package/dist/react/components/wrapper/index.d.ts +0 -2
  207. package/dist/react/constants.d.ts +0 -243
  208. package/dist/react/edges/Connection.d.ts +0 -36
  209. package/dist/react/edges/EdgeProps.d.ts +0 -24
  210. package/dist/react/edges/GenericEdge.d.ts +0 -78
  211. package/dist/react/edges/edgeTypes/ActivityDiagramEdge.d.ts +0 -2
  212. package/dist/react/edges/edgeTypes/BPMNDiagramEdge.d.ts +0 -2
  213. package/dist/react/edges/edgeTypes/ClassDiagramEdge.d.ts +0 -2
  214. package/dist/react/edges/edgeTypes/CommunicationDiagramEdge.d.ts +0 -2
  215. package/dist/react/edges/edgeTypes/ComponentDiagramEdge.d.ts +0 -2
  216. package/dist/react/edges/edgeTypes/DeploymentDiagramEdge.d.ts +0 -2
  217. package/dist/react/edges/edgeTypes/FlowChartEdge.d.ts +0 -2
  218. package/dist/react/edges/edgeTypes/ObjectDiagramEdge.d.ts +0 -2
  219. package/dist/react/edges/edgeTypes/PetriNetEdge.d.ts +0 -2
  220. package/dist/react/edges/edgeTypes/ReachabilityGraphArc.d.ts +0 -2
  221. package/dist/react/edges/edgeTypes/SfcDiagramEdge.d.ts +0 -2
  222. package/dist/react/edges/edgeTypes/SyntaxTreeEdge.d.ts +0 -2
  223. package/dist/react/edges/edgeTypes/UseCaseDiagramEdge.d.ts +0 -2
  224. package/dist/react/edges/edgeTypes/index.d.ts +0 -6
  225. package/dist/react/edges/index.d.ts +0 -3
  226. package/dist/react/edges/labelTypes/EdgeEndLabels.d.ts +0 -19
  227. package/dist/react/edges/labelTypes/EdgeIncludeExtendLabel.d.ts +0 -13
  228. package/dist/react/edges/labelTypes/EdgeMiddleLabels.d.ts +0 -15
  229. package/dist/react/edges/labelTypes/EdgeMultipleLabels.d.ts +0 -15
  230. package/dist/react/edges/types.d.ts +0 -153
  231. package/dist/react/enums/Quadrant.d.ts +0 -6
  232. package/dist/react/enums/index.d.ts +0 -1
  233. package/dist/react/export/exportErrors.d.ts +0 -10
  234. package/dist/react/export/index.d.ts +0 -13
  235. package/dist/react/export/normalizeExportSvg.d.ts +0 -16
  236. package/dist/react/export/preProcessSvgForPdf.d.ts +0 -20
  237. package/dist/react/export/svgToPdf.d.ts +0 -17
  238. package/dist/react/export/svgToPng.d.ts +0 -38
  239. package/dist/react/exportFonts-DSRUaduf.js +0 -20
  240. package/dist/react/exportStyles-CH2hautV.js +0 -6
  241. package/dist/react/fontStack.d.ts +0 -14
  242. package/dist/react/hooks/index.d.ts +0 -19
  243. package/dist/react/hooks/useAssessmentSelection.d.ts +0 -13
  244. package/dist/react/hooks/useConnect.d.ts +0 -7
  245. package/dist/react/hooks/useDiagramModifiable.d.ts +0 -1
  246. package/dist/react/hooks/useDragOver.d.ts +0 -2
  247. package/dist/react/hooks/useDropFeedback.d.ts +0 -7
  248. package/dist/react/hooks/useEdgeConfig.d.ts +0 -83
  249. package/dist/react/hooks/useEdgeLineJumps.d.ts +0 -27
  250. package/dist/react/hooks/useEdgeToolbar.d.ts +0 -6
  251. package/dist/react/hooks/useEdges.d.ts +0 -9
  252. package/dist/react/hooks/useElementInteractions.d.ts +0 -6
  253. package/dist/react/hooks/useGoToNextAssessment.d.ts +0 -1
  254. package/dist/react/hooks/useHandleDelete.d.ts +0 -1
  255. package/dist/react/hooks/useHandleFinder.d.ts +0 -11
  256. package/dist/react/hooks/useHandleOnResize.d.ts +0 -4
  257. package/dist/react/hooks/useIsOnlyThisElementSelected.d.ts +0 -1
  258. package/dist/react/hooks/useKeyboardShortcuts.d.ts +0 -1
  259. package/dist/react/hooks/useMessagePositioning.d.ts +0 -30
  260. package/dist/react/hooks/useNodeDrag.d.ts +0 -2
  261. package/dist/react/hooks/useNodeDragStop.d.ts +0 -2
  262. package/dist/react/hooks/usePaneClicked.d.ts +0 -3
  263. package/dist/react/hooks/usePopoverAnchor.d.ts +0 -26
  264. package/dist/react/hooks/useReactiveElement.d.ts +0 -10
  265. package/dist/react/hooks/useReconnect.d.ts +0 -2
  266. package/dist/react/hooks/useRemoteDraggingNodes.d.ts +0 -20
  267. package/dist/react/hooks/useSelectionForCopyPaste.d.ts +0 -10
  268. package/dist/react/hooks/useStepPathEdge.d.ts +0 -51
  269. package/dist/react/hooks/useStraightPathEdge.d.ts +0 -23
  270. package/dist/react/hooks/useViewPointCenter.d.ts +0 -2
  271. package/dist/react/index.d.ts +0 -8
  272. package/dist/react/internals.d.ts +0 -5
  273. package/dist/react/logger.d.ts +0 -10
  274. package/dist/react/nodes/TitleAndDescriptionNode.d.ts +0 -7
  275. package/dist/react/nodes/activityDiagram/Activity.d.ts +0 -3
  276. package/dist/react/nodes/activityDiagram/ActivityActionNode.d.ts +0 -3
  277. package/dist/react/nodes/activityDiagram/ActivityFinalNode.d.ts +0 -3
  278. package/dist/react/nodes/activityDiagram/ActivityForkNode.d.ts +0 -3
  279. package/dist/react/nodes/activityDiagram/ActivityForkNodeHorizontal.d.ts +0 -3
  280. package/dist/react/nodes/activityDiagram/ActivityInitialNode.d.ts +0 -3
  281. package/dist/react/nodes/activityDiagram/ActivityMergeNode.d.ts +0 -3
  282. package/dist/react/nodes/activityDiagram/ActivityObjectNode.d.ts +0 -3
  283. package/dist/react/nodes/activityDiagram/index.d.ts +0 -8
  284. package/dist/react/nodes/bpmn/BPMNAnnotation.d.ts +0 -3
  285. package/dist/react/nodes/bpmn/BPMNCallActivity.d.ts +0 -3
  286. package/dist/react/nodes/bpmn/BPMNDataObject.d.ts +0 -3
  287. package/dist/react/nodes/bpmn/BPMNDataStore.d.ts +0 -3
  288. package/dist/react/nodes/bpmn/BPMNEndEvent.d.ts +0 -3
  289. package/dist/react/nodes/bpmn/BPMNGateway.d.ts +0 -3
  290. package/dist/react/nodes/bpmn/BPMNGroup.d.ts +0 -3
  291. package/dist/react/nodes/bpmn/BPMNIntermediateEvent.d.ts +0 -3
  292. package/dist/react/nodes/bpmn/BPMNPool.d.ts +0 -3
  293. package/dist/react/nodes/bpmn/BPMNStartEvent.d.ts +0 -3
  294. package/dist/react/nodes/bpmn/BPMNSubprocess.d.ts +0 -3
  295. package/dist/react/nodes/bpmn/BPMNTask.d.ts +0 -3
  296. package/dist/react/nodes/bpmn/BPMNTransaction.d.ts +0 -3
  297. package/dist/react/nodes/bpmn/index.d.ts +0 -13
  298. package/dist/react/nodes/classDiagram/Class.d.ts +0 -3
  299. package/dist/react/nodes/classDiagram/ColorDescription.d.ts +0 -3
  300. package/dist/react/nodes/classDiagram/Package.d.ts +0 -3
  301. package/dist/react/nodes/classDiagram/index.d.ts +0 -3
  302. package/dist/react/nodes/communicationDiagram/CommunicationObjectName.d.ts +0 -3
  303. package/dist/react/nodes/communicationDiagram/index.d.ts +0 -1
  304. package/dist/react/nodes/componentDiagram/Component.d.ts +0 -3
  305. package/dist/react/nodes/componentDiagram/ComponentInterface.d.ts +0 -3
  306. package/dist/react/nodes/componentDiagram/ComponentSubsystem.d.ts +0 -3
  307. package/dist/react/nodes/componentDiagram/index.d.ts +0 -3
  308. package/dist/react/nodes/deploymentDiagram/DeploymentArtifact.d.ts +0 -3
  309. package/dist/react/nodes/deploymentDiagram/DeploymentComponent.d.ts +0 -3
  310. package/dist/react/nodes/deploymentDiagram/DeploymentInterface.d.ts +0 -3
  311. package/dist/react/nodes/deploymentDiagram/DeploymentNode.d.ts +0 -3
  312. package/dist/react/nodes/deploymentDiagram/index.d.ts +0 -4
  313. package/dist/react/nodes/flowchart/FlowchartDecision.d.ts +0 -3
  314. package/dist/react/nodes/flowchart/FlowchartFunctionCall.d.ts +0 -3
  315. package/dist/react/nodes/flowchart/FlowchartInputOutput.d.ts +0 -3
  316. package/dist/react/nodes/flowchart/FlowchartProcess.d.ts +0 -3
  317. package/dist/react/nodes/flowchart/FlowchartTerminal.d.ts +0 -3
  318. package/dist/react/nodes/flowchart/index.d.ts +0 -5
  319. package/dist/react/nodes/index.d.ts +0 -8
  320. package/dist/react/nodes/objectDiagram/ObjectName.d.ts +0 -3
  321. package/dist/react/nodes/objectDiagram/index.d.ts +0 -1
  322. package/dist/react/nodes/petriNetDiagram/PetriNetPlace.d.ts +0 -3
  323. package/dist/react/nodes/petriNetDiagram/PetriNetTransition.d.ts +0 -3
  324. package/dist/react/nodes/petriNetDiagram/index.d.ts +0 -2
  325. package/dist/react/nodes/reachabilityGraphDiagram/ReachabilityGraphMarking.d.ts +0 -3
  326. package/dist/react/nodes/reachabilityGraphDiagram/index.d.ts +0 -1
  327. package/dist/react/nodes/sfcDiagram/SfcActionTable.d.ts +0 -3
  328. package/dist/react/nodes/sfcDiagram/SfcJump.d.ts +0 -3
  329. package/dist/react/nodes/sfcDiagram/SfcStart.d.ts +0 -3
  330. package/dist/react/nodes/sfcDiagram/SfcStep.d.ts +0 -3
  331. package/dist/react/nodes/sfcDiagram/SfcTransitionBranch.d.ts +0 -3
  332. package/dist/react/nodes/sfcDiagram/index.d.ts +0 -5
  333. package/dist/react/nodes/syntaxTreeDiagram/SyntaxTreeNonterminal.d.ts +0 -3
  334. package/dist/react/nodes/syntaxTreeDiagram/SyntaxTreeTerminal.d.ts +0 -3
  335. package/dist/react/nodes/types.d.ts +0 -72
  336. package/dist/react/nodes/useCaseDiagram/UseCase.d.ts +0 -3
  337. package/dist/react/nodes/useCaseDiagram/UseCaseActor.d.ts +0 -3
  338. package/dist/react/nodes/useCaseDiagram/UseCaseSystem.d.ts +0 -3
  339. package/dist/react/nodes/useCaseDiagram/index.d.ts +0 -3
  340. package/dist/react/nodes/wrappers/DefaultNodeWrapper.d.ts +0 -49
  341. package/dist/react/nodes/wrappers/index.d.ts +0 -1
  342. package/dist/react/react.d.ts +0 -4
  343. package/dist/react/react.js +0 -33449
  344. package/dist/react/services/migration/EdgeTransformer.d.ts +0 -11
  345. package/dist/react/store/alignmentGuidesStore.d.ts +0 -13
  346. package/dist/react/store/assessmentSelectionStore.d.ts +0 -17
  347. package/dist/react/store/context.d.ts +0 -19
  348. package/dist/react/store/diagramStore.d.ts +0 -70
  349. package/dist/react/store/edgeGeometryStore.d.ts +0 -18
  350. package/dist/react/store/index.d.ts +0 -7
  351. package/dist/react/store/metadataStore.d.ts +0 -39
  352. package/dist/react/store/popoverStore.d.ts +0 -9
  353. package/dist/react/styles/theme.d.ts +0 -51
  354. package/dist/react/sync/headless.d.ts +0 -16
  355. package/dist/react/sync/perfCounters.d.ts +0 -6
  356. package/dist/react/sync/ydoc.d.ts +0 -9
  357. package/dist/react/sync/yjsSync.d.ts +0 -63
  358. package/dist/react/types/DiagramType.d.ts +0 -16
  359. package/dist/react/types/SVG.d.ts +0 -8
  360. package/dist/react/types/index.d.ts +0 -3
  361. package/dist/react/types/locationPopover.d.ts +0 -5
  362. package/dist/react/types/nodes/DropNodeDate.d.ts +0 -7
  363. package/dist/react/types/nodes/NodeProps.d.ts +0 -77
  364. package/dist/react/types/nodes/enums/ClassType.d.ts +0 -5
  365. package/dist/react/types/nodes/enums/index.d.ts +0 -1
  366. package/dist/react/types/nodes/index.d.ts +0 -3
  367. package/dist/react/typings.d.ts +0 -186
  368. package/dist/react/utils/alignmentUtils.d.ts +0 -32
  369. package/dist/react/utils/bpmnConstraints.d.ts +0 -5
  370. package/dist/react/utils/collaboration.d.ts +0 -19
  371. package/dist/react/utils/copyPasteUtils.d.ts +0 -32
  372. package/dist/react/utils/deepPartial.d.ts +0 -3
  373. package/dist/react/utils/diagramTypeUtils.d.ts +0 -6
  374. package/dist/react/utils/edgeUtils.d.ts +0 -167
  375. package/dist/react/utils/exportFonts.d.ts +0 -11
  376. package/dist/react/utils/exportStyles.d.ts +0 -30
  377. package/dist/react/utils/exportUtils.d.ts +0 -11
  378. package/dist/react/utils/geometry/bendHandles.d.ts +0 -42
  379. package/dist/react/utils/helpers.d.ts +0 -14
  380. package/dist/react/utils/index.d.ts +0 -18
  381. package/dist/react/utils/interactiveUtils.d.ts +0 -6
  382. package/dist/react/utils/layoutUtils.d.ts +0 -30
  383. package/dist/react/utils/nodeUtils.d.ts +0 -15
  384. package/dist/react/utils/paletteLayout.d.ts +0 -66
  385. package/dist/react/utils/pathParsing.d.ts +0 -54
  386. package/dist/react/utils/popoverUtils.d.ts +0 -3
  387. package/dist/react/utils/quadrantUtils.d.ts +0 -3
  388. package/dist/react/utils/requiredInterfaceUtils.d.ts +0 -18
  389. package/dist/react/utils/storeUtils.d.ts +0 -1
  390. package/dist/react/utils/svgTextLayout.d.ts +0 -86
  391. package/dist/react/utils/textUtils.d.ts +0 -1
  392. package/dist/react/utils/v3Typings.d.ts +0 -135
  393. package/dist/react/utils/versionConverter.d.ts +0 -60
  394. package/dist/yjsSync-CqmgRwRE.js +0 -51038
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { TypographyProps } from '@mui/material';
3
- export declare const Typography: React.FC<TypographyProps>;
@@ -1,7 +0,0 @@
1
- export * from './StereotypeButtonGroup';
2
- export * from './PrimaryButton';
3
- export * from './TextField';
4
- export * from './DividerLine';
5
- export * from './Typography';
6
- export * from './HeaderSwitchElement';
7
- export * from './StyleEditor';
@@ -1,11 +0,0 @@
1
- import { default as React } from 'react';
2
- interface AssessmentSelectableWrapperProps {
3
- elementId: string;
4
- children: React.ReactNode;
5
- asElement?: "div" | "g";
6
- }
7
- /**
8
- * Wrapper component that adds assessment selection capabilities to any element
9
- */
10
- export declare const AssessmentSelectableWrapper: React.FC<AssessmentSelectableWrapperProps>;
11
- export {};
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- interface Props {
3
- children: React.ReactNode;
4
- elementId: string;
5
- elementType?: string;
6
- asElement?: "g" | "div" | "path";
7
- className?: string;
8
- }
9
- export declare const FeedbackDropzone: React.FC<Props>;
10
- export {};
@@ -1,2 +0,0 @@
1
- export * from './AssessmentSelectableWrapper';
2
- export * from './FeedbackDropzone';
@@ -1,243 +0,0 @@
1
- import { default as React } from 'react';
2
- import { FONT_FAMILY, DEFAULT_FONT_SIZE } from './fontStack';
3
- import { DiagramNodeType } from './nodes';
4
- import { UMLDiagramType } from './types';
5
- export declare const CANVAS: Readonly<{
6
- readonly MIN_SCALE_TO_ZOOM_OUT: 0.4;
7
- readonly MAX_SCALE_TO_ZOOM_IN: 2.5;
8
- readonly MOUSE_UP_OFFSET_PX: 5;
9
- readonly SNAP_TO_GRID_PX: 5;
10
- readonly EXTRA_SPACE_FOR_EXTENSION: 10;
11
- readonly PASTE_OFFSET_PX: 20;
12
- }>;
13
- export declare const CSS_VARIABLE_FALLBACKS: Readonly<Record<string, string>>;
14
- export declare const STROKE_COLOR: string;
15
- export declare const FILL_COLOR: string;
16
- export { FONT_FAMILY, DEFAULT_FONT_SIZE };
17
- export declare const INTERACTIVE_SELECTION_COLOR: string;
18
- export declare const INTERACTIVE_SELECTION_FILL: string;
19
- export declare const LAYOUT: Readonly<{
20
- readonly DEFAULT_FONT: "400 16px Inter, system-ui, Avenir, Helvetica, Arial, sans-serif";
21
- readonly DEFAULT_HEADER_HEIGHT: 40;
22
- readonly DEFAULT_HEADER_HEIGHT_WITH_STEREOTYPE: 50;
23
- readonly DEFAULT_ATTRIBUTE_HEIGHT: 30;
24
- readonly DEFAULT_METHOD_HEIGHT: 30;
25
- readonly DEFAULT_PADDING: 10;
26
- readonly LINE_WIDTH: 2;
27
- readonly LINE_WIDTH_INTERFACE: 2;
28
- readonly LINE_WIDTH_EDGE: 2;
29
- readonly ICON_LINE_WIDTH: 1.5;
30
- /**
31
- * Typography tokens for wrapped node labels. `NAME_FONT_SIZE` is the shared
32
- * diagram text size (so measured and rendered labels agree); `NAME_LINE_HEIGHT`
33
- * is `round(size * 1.2)` — what pretext uses internally and what `MultilineText`
34
- * falls back to when no explicit line-height is passed.
35
- */
36
- readonly NAME_FONT_SIZE: 16;
37
- readonly NAME_LINE_HEIGHT: number;
38
- /** Stereotype tspans like `«component»` render at 0.8em of the name font. */
39
- readonly STEREOTYPE_LINE_HEIGHT: 15;
40
- readonly STEREOTYPE_NAME_GAP: 4;
41
- }>;
42
- /**
43
- * Treat narrow portrait viewports and short phone-landscape viewports as
44
- * mobile. The portrait bound stops just below 768px so iPads (768px portrait)
45
- * keep the regular desktop layout; the second clause catches phones in
46
- * landscape, where the short height distinguishes them from tablets.
47
- *
48
- * NOTE: mirrored in standalone/webapp/src/constants/responsive.ts (the webapp
49
- * can't import the library's curated public surface). Keep both in sync.
50
- */
51
- export declare const MOBILE_VIEW_QUERY = "(max-width: 767.95px), (max-width: 950px) and (max-height: 500px)";
52
- export declare const INTERFACE: Readonly<{
53
- readonly SIZE: 30;
54
- readonly RADIUS: number;
55
- readonly STROKE_WIDTH: 2;
56
- readonly SOCKET_GAP: 4;
57
- }>;
58
- export declare const MARKER_BASE_SIZE = 18;
59
- export declare const EDGES: Readonly<{
60
- /** Negative padding extends target point to node boundary (React Flow handles are offset 3px) */
61
- readonly MARKER_PADDING: -3;
62
- /** Positive padding pulls source point back to node boundary (React Flow handles are offset 3px from node edge) */
63
- readonly SOURCE_CONNECTION_POINT_PADDING: 3;
64
- /** Border radius for step-style edge corners */
65
- readonly STEP_BORDER_RADIUS: 0;
66
- /** Width of the invisible stroke used for edge selection/highlighting */
67
- readonly EDGE_HIGHLIGHT_STROKE_WIDTH: 15;
68
- /** Height of the line-jump bridge used when edges cross */
69
- readonly EDGE_LINE_JUMP_HEIGHT: 10;
70
- /** Length of the line-jump bridge along the crossed segment */
71
- readonly EDGE_LINE_JUMP_WIDTH: 16;
72
- /** Stub length locked to node, matches getSmoothStepPath offset */
73
- readonly STUB_LENGTH: 30;
74
- /** Minimum total edge length (screen px) for the endpoint reconnect handles
75
- * to be active. Short edges fall back to always-editable (see
76
- * useStepPathEdge), so this only gates medium/long edges. */
77
- readonly BEND_MIN_LENGTH: 100;
78
- /** Bend handle long-axis size, in screen px (the minimum kept across zoom). */
79
- readonly BEND_HANDLE_SCREEN_LENGTH_PX: 34;
80
- /** Minimum clearance, in screen px, between a bend handle and the segment's
81
- * corners — how close a handle is allowed to sit to a corner. */
82
- readonly BEND_HANDLE_CORNER_CLEARANCE_PX: 10;
83
- /** A segment shows a bend handle once its ON-SCREEN length can host the
84
- * handle with corner clearance on both sides: 34 + 2*10 = 54px. Screen-based
85
- * so zooming in reveals handles on shorter segments (and never hides them). */
86
- readonly BEND_HANDLE_MIN_SEGMENT_SCREEN_PX: number;
87
- /** "Safe area" next to a node, in flow px: a bend handle is never placed
88
- * within this distance of a node connection point, and that part of a
89
- * terminal segment is excluded when deciding whether a handle fits. Keeps
90
- * handles out of the locked stub so dragging never produces a detached
91
- * slim sliver near the node. */
92
- readonly BEND_HANDLE_SAFE_AREA_PX: 25;
93
- /** Size of the invisible endpoint hit target used for edge reconnection */
94
- readonly ENDPOINT_HIT_TARGET_SIZE: 24;
95
- /** Grid step a dragged bend snaps to; matches the canvas grid so bends line
96
- * up with grid-snapped node handles. */
97
- readonly BEND_SNAP_GRID_PX: 5;
98
- /** Connector length at/below which a *monotonic* orthogonal stair-step (a
99
- * same-direction dogleg) is treated as a rounding artifact and flattened.
100
- * Must stay strictly below BEND_SNAP_GRID_PX, otherwise the smallest
101
- * deliberate single-step bend would be flattened and the edge would snap
102
- * back to a straight line on release. */
103
- readonly ORTHOGONAL_DOGLEG_TOLERANCE_PX: 2;
104
- /** Gap at/below which two parallel arms that double back over each other
105
- * (an opposite-direction U-turn) are treated as a degenerate self-overlap
106
- * and the route is reset. Independent of the snap grid: a doubled-back
107
- * U-turn is never a deliberate edit, so this stays at the visual-merge
108
- * threshold rather than the per-step threshold. */
109
- readonly ORTHOGONAL_ARM_OVERLAP_PX: 10;
110
- }>;
111
- export declare const ZINDEX: Readonly<{
112
- readonly BASE: 0;
113
- readonly HEADER_SWITCH: 1;
114
- readonly DRAGGABLE_GHOST: 2;
115
- readonly MINIMAP: 5;
116
- readonly PANEL: 10;
117
- readonly MODAL: 9998;
118
- readonly LABEL: 9998;
119
- readonly DRAGGABLE_ELEMENT: 9999;
120
- readonly TOOLTIP: 10000;
121
- }>;
122
- export type MarkerShape = "triangle" | "arrow" | "rhombus" | "circle" | "semicircle";
123
- export interface MarkerConfig {
124
- readonly type: MarkerShape;
125
- readonly filled: boolean;
126
- readonly size: number;
127
- readonly widthFactor: number;
128
- readonly heightFactor: number;
129
- readonly arcSpanDegrees?: number;
130
- }
131
- export declare const MARKER_CONFIGS: Readonly<{
132
- readonly "black-rhombus": {
133
- readonly type: "rhombus";
134
- readonly filled: true;
135
- readonly size: 18;
136
- readonly widthFactor: 1;
137
- readonly heightFactor: 0.618;
138
- };
139
- readonly "white-rhombus": {
140
- readonly type: "rhombus";
141
- readonly filled: false;
142
- readonly size: 18;
143
- readonly widthFactor: 1;
144
- readonly heightFactor: 0.618;
145
- };
146
- readonly "white-triangle": {
147
- readonly type: "triangle";
148
- readonly filled: false;
149
- readonly size: 18;
150
- readonly widthFactor: 1;
151
- readonly heightFactor: 0.866;
152
- };
153
- readonly "black-triangle": {
154
- readonly type: "triangle";
155
- readonly filled: true;
156
- readonly size: 18;
157
- readonly widthFactor: 1;
158
- readonly heightFactor: 0.866;
159
- };
160
- readonly "black-arrow": {
161
- readonly type: "arrow";
162
- readonly filled: false;
163
- readonly size: 18;
164
- readonly widthFactor: 1;
165
- readonly heightFactor: 0.866;
166
- };
167
- readonly "required-interface": {
168
- readonly type: "semicircle";
169
- readonly filled: false;
170
- readonly size: number;
171
- readonly widthFactor: 1;
172
- readonly heightFactor: 1;
173
- readonly arcSpanDegrees: 150;
174
- };
175
- readonly "required-interface-quarter": {
176
- readonly type: "semicircle";
177
- readonly filled: false;
178
- readonly size: number;
179
- readonly widthFactor: 1;
180
- readonly heightFactor: 1;
181
- readonly arcSpanDegrees: 90;
182
- };
183
- readonly "required-interface-threequarter": {
184
- readonly type: "semicircle";
185
- readonly filled: false;
186
- readonly size: number;
187
- readonly widthFactor: 1;
188
- readonly heightFactor: 1;
189
- readonly arcSpanDegrees: 270;
190
- };
191
- readonly "bpmn-white-triangle": {
192
- readonly type: "triangle";
193
- readonly filled: false;
194
- readonly size: 11;
195
- readonly widthFactor: 1;
196
- readonly heightFactor: 0.866;
197
- };
198
- readonly "bpmn-black-triangle": {
199
- readonly type: "triangle";
200
- readonly filled: true;
201
- readonly size: 11;
202
- readonly widthFactor: 1;
203
- readonly heightFactor: 0.866;
204
- };
205
- readonly "bpmn-white-circle": {
206
- readonly type: "circle";
207
- readonly filled: false;
208
- readonly size: 11;
209
- readonly widthFactor: 1;
210
- readonly heightFactor: 1;
211
- };
212
- readonly "bpmn-arrow": {
213
- readonly type: "arrow";
214
- readonly filled: false;
215
- readonly size: 11;
216
- readonly widthFactor: 1;
217
- readonly heightFactor: 0.866;
218
- };
219
- }>;
220
- export type MarkerId = keyof typeof MARKER_CONFIGS;
221
- export declare const MARKERS: Readonly<{
222
- readonly STROKE_WIDTH: Readonly<{
223
- readonly triangle: 1.3;
224
- readonly arrow: 1.5;
225
- readonly rhombus: 1.3;
226
- readonly circle: 1.3;
227
- readonly semicircle: 2;
228
- }>;
229
- }>;
230
- export declare const DROPS: Readonly<{
231
- readonly SIDEBAR_PREVIEW_SCALE: 0.8;
232
- readonly DEFAULT_ELEMENT_WIDTH: 160;
233
- }>;
234
- export type DropElementConfig = {
235
- readonly type: DiagramNodeType;
236
- readonly width: number;
237
- readonly height: number;
238
- readonly defaultData?: Record<string, unknown>;
239
- readonly svg: React.FC<any>;
240
- readonly marginTop?: number;
241
- };
242
- export declare const dropElementConfigs: Readonly<Record<UMLDiagramType, ReadonlyArray<DropElementConfig>>>;
243
- export declare const ColorDescriptionConfig: DropElementConfig;
@@ -1,36 +0,0 @@
1
- import { Position } from '@xyflow/react';
2
- export interface IPoint {
3
- x: number;
4
- y: number;
5
- }
6
- export interface NodeBounds {
7
- x: number;
8
- y: number;
9
- width: number;
10
- height: number;
11
- }
12
- export declare function getPortsForElement(bounds: NodeBounds): Record<Position, IPoint>;
13
- export declare function computeOverlap(range1: [number, number], range2: [number, number]): [number, number] | null;
14
- export declare function pointsToSvgPath(points: IPoint[]): string;
15
- export declare function tryFindStraightPath(source: {
16
- position: {
17
- x: number;
18
- y: number;
19
- };
20
- width: number;
21
- height: number;
22
- direction: Position;
23
- }, target: {
24
- position: {
25
- x: number;
26
- y: number;
27
- };
28
- width: number;
29
- height: number;
30
- direction: Position;
31
- }, targetPadding: number, handleCoords?: {
32
- sourceX: number;
33
- sourceY: number;
34
- targetX: number;
35
- targetY: number;
36
- }): IPoint[] | null;
@@ -1,24 +0,0 @@
1
- import { Edge, EdgeProps } from '@xyflow/react';
2
- import { IPoint } from './Connection';
3
- export interface MessageData {
4
- id: string;
5
- text: string;
6
- direction: "target" | "source";
7
- }
8
- export type CustomEdgeProps = {
9
- sourceRole: string | null;
10
- sourceMultiplicity: string | null;
11
- targetRole: string | null;
12
- targetMultiplicity: string | null;
13
- points: IPoint[];
14
- label?: string | null;
15
- messages?: MessageData[];
16
- strokeColor?: string;
17
- textColor?: string;
18
- };
19
- export type ExtendedEdgeProps = EdgeProps<Edge<CustomEdgeProps>> & {
20
- markerEnd?: string;
21
- markerPadding?: number;
22
- strokeDashArray?: string;
23
- type: string;
24
- };
@@ -1,78 +0,0 @@
1
- import { ReactNode, PointerEvent as ReactPointerEvent } from 'react';
2
- import { Position } from '@xyflow/react';
3
- import { ExtendedEdgeProps } from './EdgeProps';
4
- import { IPoint } from './Connection';
5
- import { Assessment } from '../typings';
6
- import { BendHandle } from '../utils/geometry/bendHandles';
7
- export declare const getHandleScreenScale: (zoom: number) => number;
8
- export type BaseEdgeProps = ExtendedEdgeProps;
9
- export declare const useEdgeState: (initialPoints?: IPoint[]) => {
10
- customPoints: IPoint[];
11
- setCustomPoints: import('react').Dispatch<import('react').SetStateAction<IPoint[]>>;
12
- };
13
- type EndpointSide = Position;
14
- export declare const getEndpointHitTargetRect: (point: IPoint, side?: EndpointSide, screenScale?: number) => {
15
- x: number;
16
- y: number;
17
- width: number;
18
- height: number;
19
- radius: number;
20
- };
21
- export declare const EdgeEndpointMarkers: ({ sourcePoint, targetPoint, sourcePosition, targetPosition, isDiagramModifiable, canEditEndpoint, }: {
22
- sourcePoint: IPoint;
23
- targetPoint: IPoint;
24
- sourcePosition?: EndpointSide;
25
- targetPosition?: EndpointSide;
26
- isDiagramModifiable: boolean;
27
- canEditEndpoint?: boolean;
28
- }) => import("react").JSX.Element | null;
29
- export declare const EdgeBendHandle: ({ id, segmentIndex, position, orientation, onPointerDown, }: {
30
- id: string;
31
- segmentIndex: number;
32
- position: IPoint;
33
- orientation: "H" | "V";
34
- onPointerDown: (e: ReactPointerEvent<SVGRectElement>) => void;
35
- }) => import("react").JSX.Element;
36
- /**
37
- * The shared SVG body for every orthogonal (step-path) edge: the base path,
38
- * inline export markers, the interaction overlay, endpoint reconnect targets,
39
- * and the bend handles. Diagram-specific decorations (e.g. the SFC transition
40
- * bar) are passed as `children` and render inside the same group. Per-type
41
- * files keep only their own config, labels, and `CommonEdgeElements`.
42
- */
43
- export declare const StepEdgeBody: ({ id, markerKey, currentPath, overlayPath, pathRef, strokeColor, strokeDashArray, hasInitialCalculation, isReconnecting, isBendDragging, draggingHandleSegmentIndex, markerStart, markerEnd, sourcePoint, targetPoint, sourcePosition, targetPosition, isDiagramModifiable, canEditEndpoint, allowMidpointDragging, bendHandles, handlePointerDown, children, }: {
44
- id: string;
45
- markerKey: string;
46
- currentPath: string;
47
- overlayPath: string;
48
- pathRef: React.Ref<SVGPathElement>;
49
- strokeColor: string;
50
- strokeDashArray?: string;
51
- hasInitialCalculation: boolean;
52
- isReconnecting: boolean;
53
- isBendDragging: boolean;
54
- draggingHandleSegmentIndex: number | null;
55
- markerStart?: string;
56
- markerEnd?: string;
57
- sourcePoint: IPoint;
58
- targetPoint: IPoint;
59
- sourcePosition?: Position;
60
- targetPosition?: Position;
61
- isDiagramModifiable: boolean;
62
- canEditEndpoint: boolean;
63
- allowMidpointDragging: boolean;
64
- bendHandles: BendHandle[];
65
- handlePointerDown: (event: ReactPointerEvent<SVGRectElement>, handle: BendHandle) => void;
66
- children?: ReactNode;
67
- }) => import("react").JSX.Element;
68
- export declare const CommonEdgeElements: ({ id, pathMiddlePosition, toolbarPosition, isDiagramModifiable, assessments, handleDelete, setPopOverElementId, type, }: {
69
- id: string;
70
- pathMiddlePosition: IPoint;
71
- toolbarPosition?: IPoint;
72
- isDiagramModifiable: boolean;
73
- assessments: Record<string, Assessment>;
74
- handleDelete: () => void;
75
- setPopOverElementId: (id: string) => void;
76
- type: string;
77
- }) => import("react").JSX.Element;
78
- export {};
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const ActivityDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const BPMNDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const ClassDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const CommunicationDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const ComponentDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const DeploymentDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const FlowChartEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const ObjectDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const PetriNetEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const ReachabilityGraphEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const SfcDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const SyntaxTreeEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const UseCaseEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -1,6 +0,0 @@
1
- export * from './ActivityDiagramEdge';
2
- export * from './ClassDiagramEdge';
3
- export * from './UseCaseDiagramEdge';
4
- export * from './ComponentDiagramEdge';
5
- export * from './SyntaxTreeEdge';
6
- export * from './SfcDiagramEdge';
@@ -1,3 +0,0 @@
1
- export * from './types';
2
- export * from './EdgeProps';
3
- export * from './edgeTypes';
@@ -1,19 +0,0 @@
1
- import { IPoint } from '../Connection';
2
- interface EdgeEndLabelsProps {
3
- data?: {
4
- sourceRole?: string | null;
5
- targetRole?: string | null;
6
- sourceMultiplicity?: string | null;
7
- targetMultiplicity?: string | null;
8
- };
9
- activePoints: IPoint[];
10
- sourceX: number;
11
- sourceY: number;
12
- targetX: number;
13
- targetY: number;
14
- sourcePosition: string;
15
- targetPosition: string;
16
- textColor?: string;
17
- }
18
- export declare const EdgeEndLabels: ({ data, activePoints, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, textColor, }: EdgeEndLabelsProps) => import("react").JSX.Element;
19
- export {};
@@ -1,13 +0,0 @@
1
- import { IPoint } from '../Connection';
2
- interface EdgeIncludeExtendLabelsProps {
3
- label?: string | null;
4
- pathMiddlePosition: IPoint;
5
- sourcePoint?: IPoint;
6
- targetPoint?: IPoint;
7
- isUseCasePath?: boolean;
8
- showRelationshipLabels?: boolean;
9
- relationshipType?: "include" | "extend";
10
- textColor?: string;
11
- }
12
- export declare const EdgeIncludeExtendLabel: ({ sourcePoint, targetPoint, showRelationshipLabels, relationshipType, textColor, }: EdgeIncludeExtendLabelsProps) => import("react").JSX.Element;
13
- export {};
@@ -1,15 +0,0 @@
1
- import { IPoint } from '../Connection';
2
- interface EdgeMiddleLabelsProps {
3
- label?: string | null;
4
- pathMiddlePosition: IPoint;
5
- isMiddlePathHorizontal: boolean;
6
- sourcePoint?: IPoint;
7
- targetPoint?: IPoint;
8
- showRelationshipLabels?: boolean;
9
- isUseCasePath?: boolean;
10
- isPetriNet?: boolean;
11
- avoidToolbarOverlap?: boolean;
12
- textColor: string;
13
- }
14
- export declare const EdgeMiddleLabels: ({ label, pathMiddlePosition, isMiddlePathHorizontal, sourcePoint, targetPoint, showRelationshipLabels, isUseCasePath, isPetriNet, avoidToolbarOverlap, textColor, }: EdgeMiddleLabelsProps) => import("react").JSX.Element | null;
15
- export {};
@@ -1,15 +0,0 @@
1
- import { IPoint } from '../Connection';
2
- import { MessageData } from '../EdgeProps';
3
- interface EdgeMultipleLabelsProps {
4
- messages?: MessageData[];
5
- pathMiddlePosition: IPoint;
6
- showRelationshipLabels: boolean;
7
- isReconnecting?: boolean;
8
- sourcePosition: IPoint;
9
- targetPosition: IPoint;
10
- edgePoints?: IPoint[];
11
- isHorizontalEdge?: boolean;
12
- textColor: string;
13
- }
14
- export declare const EdgeMultipleLabels: ({ messages, pathMiddlePosition, showRelationshipLabels, isReconnecting, sourcePosition, targetPosition, edgePoints, isHorizontalEdge, textColor, }: EdgeMultipleLabelsProps) => import("react").JSX.Element | null;
15
- export {};