@tumaet/apollon 4.6.0 → 4.8.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 (174) 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/export.d.ts +73 -0
  5. package/dist/export.js +219 -0
  6. package/dist/exportFonts-DxO9jrR1.js +19 -0
  7. package/dist/exportStyles-Wcc8N8Xj.js +5 -0
  8. package/dist/fontStack-DOtVH2j8.js +5 -0
  9. package/dist/index.d.ts +151 -92
  10. package/dist/index.js +34925 -8009
  11. package/dist/internals.d.ts +136 -93
  12. package/dist/internals.js +16 -10
  13. package/dist/react/App.d.ts +1 -1
  14. package/dist/react/LICENSE-InterFont +92 -0
  15. package/dist/react/apollon-editor.d.ts +19 -0
  16. package/dist/react/components/AlignmentGuides.d.ts +1 -1
  17. package/dist/react/components/AssessmentSelectionDebug.d.ts +1 -1
  18. package/dist/react/components/CustomBackground.d.ts +1 -1
  19. package/dist/react/components/CustomControls.d.ts +1 -1
  20. package/dist/react/components/CustomMiniMap.d.ts +1 -1
  21. package/dist/react/components/DraggableGhost.d.ts +5 -0
  22. package/dist/react/components/Icon/ArrowBackIcon.d.ts +1 -1
  23. package/dist/react/components/Icon/ArrowForwardIcon.d.ts +1 -1
  24. package/dist/react/components/Icon/CheckIcon.d.ts +1 -1
  25. package/dist/react/components/Icon/CrossIcon.d.ts +1 -1
  26. package/dist/react/components/Icon/DeleteIcon.d.ts +1 -1
  27. package/dist/react/components/Icon/DragHandleIcon.d.ts +1 -1
  28. package/dist/react/components/Icon/EditIcon.d.ts +1 -1
  29. package/dist/react/components/Icon/ExclamationIcon.d.ts +1 -1
  30. package/dist/react/components/Icon/InfiniteIcon.d.ts +1 -1
  31. package/dist/react/components/Icon/MapIcon.d.ts +1 -1
  32. package/dist/react/components/Icon/PaintRollerIcon.d.ts +1 -1
  33. package/dist/react/components/Icon/RedoIcon.d.ts +1 -1
  34. package/dist/react/components/Icon/SouthEastArrowIcon.d.ts +1 -1
  35. package/dist/react/components/Icon/SwapHorizIcon.d.ts +1 -1
  36. package/dist/react/components/Icon/UndoIcon.d.ts +1 -1
  37. package/dist/react/components/ReconnectConnectionLine.d.ts +1 -1
  38. package/dist/react/components/Sidebar.d.ts +2 -1
  39. package/dist/react/components/collaboration/CollaborationLayer.d.ts +1 -1
  40. package/dist/react/components/popovers/DefaultNodeGiveFeedbackPopover.d.ts +1 -1
  41. package/dist/react/components/popovers/DefaultNodeSeeFeedbackPopover.d.ts +1 -1
  42. package/dist/react/components/popovers/GenericPopover.d.ts +1 -1
  43. package/dist/react/components/popovers/GiveFeedbackAssessmentBox.d.ts +1 -1
  44. package/dist/react/components/popovers/PopoverManager.d.ts +2 -2
  45. package/dist/react/components/popovers/SeeFeedbackAssessmentBox.d.ts +1 -1
  46. package/dist/react/components/popovers/bpmnDiagram/BPMNPoolEditPopover.d.ts +1 -1
  47. package/dist/react/components/popovers/classDiagram/ClassGiveFeedbackPopover.d.ts +1 -1
  48. package/dist/react/components/popovers/classDiagram/ClassSeeFeedbackPopover.d.ts +1 -1
  49. package/dist/react/components/popovers/communicationDiagram/CommunicationObjectNameGiveFeedbackPopover.d.ts +1 -1
  50. package/dist/react/components/popovers/communicationDiagram/CommunicationObjectNameSeeFeedbackPopover.d.ts +1 -1
  51. package/dist/react/components/popovers/edgePopovers/EdgeGiveFeedbackPopover.d.ts +1 -1
  52. package/dist/react/components/popovers/edgePopovers/EdgeSeeFeedbackPopover.d.ts +1 -1
  53. package/dist/react/components/popovers/edgePopovers/EdgeTypePreviewIcon.d.ts +1 -1
  54. package/dist/react/components/popovers/edgePopovers/EdgeTypeSelect.d.ts +1 -1
  55. package/dist/react/components/popovers/edgePopovers/SwapEndsButton.d.ts +9 -0
  56. package/dist/react/components/popovers/objectDiagram/ObjectGiveFeedbackPopover.d.ts +1 -1
  57. package/dist/react/components/popovers/objectDiagram/ObjectSeeFeedbackPopover.d.ts +1 -1
  58. package/dist/react/components/react/Apollon.d.ts +7 -2
  59. package/dist/react/components/react/context.d.ts +1 -1
  60. package/dist/react/components/svgs/edges/InlineMarker.d.ts +2 -2
  61. package/dist/react/components/svgs/nodes/classDiagram/ClassSVG.d.ts +1 -1
  62. package/dist/react/components/svgs/nodes/classDiagram/ColorDescriptionSVG.d.ts +1 -1
  63. package/dist/react/components/svgs/nodes/communicationDiagram/CommunicationObjectNameSVG.d.ts +1 -1
  64. package/dist/react/components/svgs/nodes/objectDiagram/ObjectNameSVG.d.ts +1 -1
  65. package/dist/react/components/toolbars/edgeToolBar/CustomEdgeToolBar.d.ts +1 -1
  66. package/dist/react/components/ui/StyleEditor/ColorButtons.d.ts +1 -1
  67. package/dist/react/constants.d.ts +17 -6
  68. package/dist/react/edges/GenericEdge.d.ts +5 -6
  69. package/dist/react/edges/edgeTypes/ActivityDiagramEdge.d.ts +1 -1
  70. package/dist/react/edges/edgeTypes/BPMNDiagramEdge.d.ts +1 -1
  71. package/dist/react/edges/edgeTypes/ClassDiagramEdge.d.ts +1 -1
  72. package/dist/react/edges/edgeTypes/CommunicationDiagramEdge.d.ts +1 -1
  73. package/dist/react/edges/edgeTypes/ComponentDiagramEdge.d.ts +1 -1
  74. package/dist/react/edges/edgeTypes/DeploymentDiagramEdge.d.ts +1 -1
  75. package/dist/react/edges/edgeTypes/FlowChartEdge.d.ts +1 -1
  76. package/dist/react/edges/edgeTypes/ObjectDiagramEdge.d.ts +1 -1
  77. package/dist/react/edges/edgeTypes/PetriNetEdge.d.ts +1 -1
  78. package/dist/react/edges/edgeTypes/ReachabilityGraphArc.d.ts +1 -1
  79. package/dist/react/edges/edgeTypes/SfcDiagramEdge.d.ts +1 -1
  80. package/dist/react/edges/edgeTypes/SyntaxTreeEdge.d.ts +1 -1
  81. package/dist/react/edges/edgeTypes/UseCaseDiagramEdge.d.ts +1 -1
  82. package/dist/react/edges/labelTypes/EdgeEndLabels.d.ts +1 -1
  83. package/dist/react/edges/labelTypes/EdgeIncludeExtendLabel.d.ts +1 -1
  84. package/dist/react/edges/labelTypes/EdgeMiddleLabels.d.ts +1 -1
  85. package/dist/react/edges/labelTypes/EdgeMultipleLabels.d.ts +1 -1
  86. package/dist/react/edges/types.d.ts +34 -34
  87. package/dist/react/export/exportErrors.d.ts +10 -0
  88. package/dist/react/export/index.d.ts +13 -0
  89. package/dist/react/export/normalizeExportSvg.d.ts +16 -0
  90. package/dist/react/export/preProcessSvgForPdf.d.ts +20 -0
  91. package/dist/react/export/svgToPdf.d.ts +17 -0
  92. package/dist/react/export/svgToPng.d.ts +38 -0
  93. package/dist/react/exportFonts-DSRUaduf.js +20 -0
  94. package/dist/react/exportStyles-CH2hautV.js +6 -0
  95. package/dist/react/fontStack.d.ts +14 -0
  96. package/dist/react/hooks/index.d.ts +1 -0
  97. package/dist/react/hooks/useEdgeLineJumps.d.ts +3 -1
  98. package/dist/react/hooks/useEdgeToolbar.d.ts +1 -1
  99. package/dist/react/hooks/usePopoverAnchor.d.ts +26 -0
  100. package/dist/react/hooks/useReactiveElement.d.ts +10 -0
  101. package/dist/react/hooks/useRemoteDraggingNodes.d.ts +20 -0
  102. package/dist/react/hooks/useStepPathEdge.d.ts +1 -1
  103. package/dist/react/hooks/useStraightPathEdge.d.ts +1 -1
  104. package/dist/react/index.d.ts +1 -0
  105. package/dist/react/nodes/TitleAndDescriptionNode.d.ts +1 -1
  106. package/dist/react/nodes/activityDiagram/Activity.d.ts +1 -1
  107. package/dist/react/nodes/activityDiagram/ActivityActionNode.d.ts +1 -1
  108. package/dist/react/nodes/activityDiagram/ActivityFinalNode.d.ts +1 -1
  109. package/dist/react/nodes/activityDiagram/ActivityForkNode.d.ts +1 -1
  110. package/dist/react/nodes/activityDiagram/ActivityForkNodeHorizontal.d.ts +1 -1
  111. package/dist/react/nodes/activityDiagram/ActivityInitialNode.d.ts +1 -1
  112. package/dist/react/nodes/activityDiagram/ActivityMergeNode.d.ts +1 -1
  113. package/dist/react/nodes/activityDiagram/ActivityObjectNode.d.ts +1 -1
  114. package/dist/react/nodes/bpmn/BPMNAnnotation.d.ts +1 -1
  115. package/dist/react/nodes/bpmn/BPMNCallActivity.d.ts +1 -1
  116. package/dist/react/nodes/bpmn/BPMNDataObject.d.ts +1 -1
  117. package/dist/react/nodes/bpmn/BPMNDataStore.d.ts +1 -1
  118. package/dist/react/nodes/bpmn/BPMNEndEvent.d.ts +1 -1
  119. package/dist/react/nodes/bpmn/BPMNGateway.d.ts +1 -1
  120. package/dist/react/nodes/bpmn/BPMNGroup.d.ts +1 -1
  121. package/dist/react/nodes/bpmn/BPMNIntermediateEvent.d.ts +1 -1
  122. package/dist/react/nodes/bpmn/BPMNPool.d.ts +1 -1
  123. package/dist/react/nodes/bpmn/BPMNStartEvent.d.ts +1 -1
  124. package/dist/react/nodes/bpmn/BPMNSubprocess.d.ts +1 -1
  125. package/dist/react/nodes/bpmn/BPMNTask.d.ts +1 -1
  126. package/dist/react/nodes/bpmn/BPMNTransaction.d.ts +1 -1
  127. package/dist/react/nodes/classDiagram/Class.d.ts +1 -1
  128. package/dist/react/nodes/classDiagram/ColorDescription.d.ts +1 -1
  129. package/dist/react/nodes/classDiagram/Package.d.ts +1 -1
  130. package/dist/react/nodes/communicationDiagram/CommunicationObjectName.d.ts +1 -1
  131. package/dist/react/nodes/componentDiagram/Component.d.ts +1 -1
  132. package/dist/react/nodes/componentDiagram/ComponentInterface.d.ts +1 -1
  133. package/dist/react/nodes/componentDiagram/ComponentSubsystem.d.ts +1 -1
  134. package/dist/react/nodes/deploymentDiagram/DeploymentArtifact.d.ts +1 -1
  135. package/dist/react/nodes/deploymentDiagram/DeploymentComponent.d.ts +1 -1
  136. package/dist/react/nodes/deploymentDiagram/DeploymentInterface.d.ts +1 -1
  137. package/dist/react/nodes/deploymentDiagram/DeploymentNode.d.ts +1 -1
  138. package/dist/react/nodes/flowchart/FlowchartDecision.d.ts +1 -1
  139. package/dist/react/nodes/flowchart/FlowchartFunctionCall.d.ts +1 -1
  140. package/dist/react/nodes/flowchart/FlowchartInputOutput.d.ts +1 -1
  141. package/dist/react/nodes/flowchart/FlowchartProcess.d.ts +1 -1
  142. package/dist/react/nodes/flowchart/FlowchartTerminal.d.ts +1 -1
  143. package/dist/react/nodes/objectDiagram/ObjectName.d.ts +1 -1
  144. package/dist/react/nodes/petriNetDiagram/PetriNetPlace.d.ts +1 -1
  145. package/dist/react/nodes/petriNetDiagram/PetriNetTransition.d.ts +1 -1
  146. package/dist/react/nodes/reachabilityGraphDiagram/ReachabilityGraphMarking.d.ts +1 -1
  147. package/dist/react/nodes/sfcDiagram/SfcActionTable.d.ts +1 -1
  148. package/dist/react/nodes/sfcDiagram/SfcJump.d.ts +1 -1
  149. package/dist/react/nodes/sfcDiagram/SfcStart.d.ts +1 -1
  150. package/dist/react/nodes/sfcDiagram/SfcStep.d.ts +1 -1
  151. package/dist/react/nodes/sfcDiagram/SfcTransitionBranch.d.ts +1 -1
  152. package/dist/react/nodes/syntaxTreeDiagram/SyntaxTreeNonterminal.d.ts +1 -1
  153. package/dist/react/nodes/syntaxTreeDiagram/SyntaxTreeTerminal.d.ts +1 -1
  154. package/dist/react/nodes/useCaseDiagram/UseCase.d.ts +1 -1
  155. package/dist/react/nodes/useCaseDiagram/UseCaseActor.d.ts +1 -1
  156. package/dist/react/nodes/useCaseDiagram/UseCaseSystem.d.ts +1 -1
  157. package/dist/react/nodes/wrappers/DefaultNodeWrapper.d.ts +1 -1
  158. package/dist/react/react.js +23599 -24829
  159. package/dist/react/store/assessmentSelectionStore.d.ts +2 -0
  160. package/dist/react/store/diagramStore.d.ts +17 -1
  161. package/dist/react/sync/perfCounters.d.ts +6 -0
  162. package/dist/react/sync/ydoc.d.ts +2 -0
  163. package/dist/react/sync/yjsSync.d.ts +3 -2
  164. package/dist/react/types/nodes/NodeProps.d.ts +3 -3
  165. package/dist/react/typings.d.ts +23 -2
  166. package/dist/react/utils/collaboration.d.ts +10 -1
  167. package/dist/react/utils/exportFonts.d.ts +11 -0
  168. package/dist/react/utils/exportStyles.d.ts +30 -0
  169. package/dist/react/utils/exportUtils.d.ts +1 -101
  170. package/dist/react/utils/paletteLayout.d.ts +66 -0
  171. package/dist/yjsSync-CqmgRwRE.js +51038 -0
  172. package/package.json +38 -16
  173. package/schema/uml-model-4.schema.json +363 -0
  174. package/dist/yjsSync-CK5cmd5z.js +0 -71308
@@ -1 +1 @@
1
- export declare const AlignmentGuides: () => import("react/jsx-runtime").JSX.Element | null;
1
+ export declare const AlignmentGuides: () => import("react").JSX.Element;
@@ -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;
@@ -3,6 +3,11 @@ import { DropElementConfig } from '../constants';
3
3
  interface DraggableGhostProps {
4
4
  children: React.ReactNode;
5
5
  dropElementConfig: DropElementConfig;
6
+ /**
7
+ * Visual scale of the palette preview.
8
+ * Used to convert pointer offsets into node-placement offsets.
9
+ */
10
+ previewScale?: number;
6
11
  }
7
12
  export declare const DraggableGhost: React.FC<DraggableGhostProps>;
8
13
  export {};
@@ -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 {};
@@ -1,4 +1,4 @@
1
1
  import { SVGAttributes } from 'react';
2
2
  type Props = SVGAttributes<SVGSVGElement>;
3
- export declare const EditIcon: ({ width, height, fill, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const EditIcon: ({ 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 ExclamationIcon: ({ width, height, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ExclamationIcon: ({ 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 InfiniteIcon: ({ width, height, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const InfiniteIcon: ({ 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 MapIcon: ({ width, height, fill, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const MapIcon: ({ width, height, fill, ...props }: Props) => import("react").JSX.Element;
4
4
  export {};
@@ -1,2 +1,2 @@
1
1
  import { SVGAttributes } from 'react';
2
- export declare const PaintRollerIcon: ({ width, height, fill, ...props }: SVGAttributes<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const PaintRollerIcon: ({ width, height, fill, ...props }: SVGAttributes<SVGSVGElement>) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGAttributes } from 'react';
2
- export declare const RedoIcon: ({ width, height, fill, ...props }: SVGAttributes<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const RedoIcon: ({ width, height, fill, ...props }: SVGAttributes<SVGSVGElement>) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { SVGAttributes } from 'react';
2
2
  type Props = SVGAttributes<SVGSVGElement>;
3
- export declare const SouthEastArrowIcon: ({ width, height, fill, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const SouthEastArrowIcon: ({ 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 SwapHorizIcon: ({ width, height, fill, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const SwapHorizIcon: ({ width, height, fill, ...props }: Props) => import("react").JSX.Element;
4
4
  export {};
@@ -1,2 +1,2 @@
1
1
  import { SVGAttributes } from 'react';
2
- export declare const UndoIcon: ({ width, height, fill, ...props }: SVGAttributes<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const UndoIcon: ({ width, height, fill, ...props }: SVGAttributes<SVGSVGElement>) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { ConnectionLineComponentProps } from '@xyflow/react';
2
- export declare const ReconnectConnectionLine: ({ connectionLineStyle, connectionLineType, fromX, fromY, toX, toY, fromPosition, toPosition, }: ConnectionLineComponentProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ReconnectConnectionLine: ({ connectionLineStyle, connectionLineType, fromX, fromY, toX, toY, fromPosition, toPosition, }: ConnectionLineComponentProps) => import("react").JSX.Element;
@@ -1 +1,2 @@
1
- export declare const Sidebar: () => import("react/jsx-runtime").JSX.Element | null;
1
+ import { default as React } from 'react';
2
+ export declare const Sidebar: () => React.JSX.Element | null;
@@ -21,5 +21,5 @@ type CollaborationLayerProps = {
21
21
  options: CollaborationLayerOptions;
22
22
  awareness: CollaborationAwarenessApi;
23
23
  };
24
- export declare function CollaborationLayer({ options, awareness, }: CollaborationLayerProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function CollaborationLayer({ options, awareness, }: CollaborationLayerProps): import("react").JSX.Element;
25
25
  export {};
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from './types';
2
- export declare const DefaultNodeGiveFeedbackPopover: ({ elementId }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const DefaultNodeGiveFeedbackPopover: ({ elementId }: PopoverProps) => import("react").JSX.Element | null;
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from './types';
2
- export declare const DefaultNodeSeeFeedbackPopover: ({ elementId }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const DefaultNodeSeeFeedbackPopover: ({ elementId }: PopoverProps) => import("react").JSX.Element | null;
@@ -2,7 +2,7 @@ import { default as React, ReactNode } from 'react';
2
2
  import { PopoverOrigin } from '@mui/material';
3
3
  interface GenericPopoverProps {
4
4
  id: string;
5
- anchorEl: HTMLElement | SVGSVGElement | null | SVGPathElement;
5
+ anchorEl: HTMLElement | SVGElement | null;
6
6
  open: boolean;
7
7
  onClose: () => void;
8
8
  children: ReactNode;
@@ -3,5 +3,5 @@ interface Props {
3
3
  name: string;
4
4
  type: string;
5
5
  }
6
- export declare const GiveFeedbackAssessmentBox: ({ elementId, name, type }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const GiveFeedbackAssessmentBox: ({ elementId, name, type }: Props) => import("react").JSX.Element;
7
7
  export {};
@@ -3,8 +3,8 @@ type EdgePopoverType = "ClassAggregation" | "ClassInheritance" | "ClassRealizati
3
3
  type PopoverType = NodePopoverType | EdgePopoverType;
4
4
  interface PopoverManagerProps {
5
5
  elementId: string;
6
- anchorEl: HTMLElement | SVGSVGElement | null;
6
+ anchorEl: HTMLElement | SVGElement | null;
7
7
  type: PopoverType;
8
8
  }
9
- export declare const PopoverManager: ({ elementId, anchorEl, type, }: PopoverManagerProps) => import("react/jsx-runtime").JSX.Element | null;
9
+ export declare const PopoverManager: ({ elementId, anchorEl, type, }: PopoverManagerProps) => import("react").JSX.Element | null;
10
10
  export {};
@@ -2,4 +2,4 @@ export declare const SeeFeedbackAssessmentBox: ({ type, name, elementId, }: {
2
2
  type: string;
3
3
  name: string;
4
4
  elementId: string;
5
- }) => import("react/jsx-runtime").JSX.Element;
5
+ }) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from '../types';
2
- export declare const BPMNPoolEditPopover: ({ elementId }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const BPMNPoolEditPopover: ({ elementId }: PopoverProps) => import("react").JSX.Element | null;
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from '../types';
2
- export declare const ClassGiveFeedbackPopover: ({ elementId }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const ClassGiveFeedbackPopover: ({ elementId }: PopoverProps) => import("react").JSX.Element | null;
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from '../types';
2
- export declare const ClassSeeFeedbackPopover: ({ elementId }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const ClassSeeFeedbackPopover: ({ elementId }: PopoverProps) => import("react").JSX.Element | null;
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from '../types';
2
- export declare const CommunicationObjectNameGiveFeedbackPopover: ({ elementId, }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const CommunicationObjectNameGiveFeedbackPopover: ({ elementId, }: PopoverProps) => import("react").JSX.Element | null;
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from '../types';
2
- export declare const CommunicationObjectNameSeeFeedbackPopover: ({ elementId, }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const CommunicationObjectNameSeeFeedbackPopover: ({ elementId, }: PopoverProps) => import("react").JSX.Element | null;
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from '../types';
2
- export declare const EdgeGiveFeedbackPopover: ({ elementId }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const EdgeGiveFeedbackPopover: ({ elementId }: PopoverProps) => import("react").JSX.Element | null;
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from '../types';
2
- export declare const EdgeSeeFeedbackPopover: ({ elementId }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const EdgeSeeFeedbackPopover: ({ elementId }: PopoverProps) => import("react").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  export declare const EdgeTypePreviewIcon: ({ edgeType }: {
2
2
  edgeType: string;
3
- }) => import("react/jsx-runtime").JSX.Element;
3
+ }) => import("react").JSX.Element;
@@ -6,4 +6,4 @@ export declare const EdgeTypeSelect: ({ value, options, onChange, }: {
6
6
  value?: string;
7
7
  options: ReadonlyArray<EdgeTypeOption>;
8
8
  onChange: (value: string) => void;
9
- }) => import("react/jsx-runtime").JSX.Element;
9
+ }) => import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Swaps an edge's source and target ends. A labelled, native icon button so the
3
+ * control is reachable by keyboard and announced to assistive tech — the bare
4
+ * `<svg onClick>` it replaces was mouse-only. Rendered in the edge style
5
+ * editor's side slot, hence the flex-end wrapper.
6
+ */
7
+ export declare const SwapEndsButton: React.FC<{
8
+ onClick: () => void;
9
+ }>;
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from '../types';
2
- export declare const ObjectGiveFeedbackPopover: ({ elementId }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const ObjectGiveFeedbackPopover: ({ elementId }: PopoverProps) => import("react").JSX.Element | null;
@@ -1,2 +1,2 @@
1
1
  import { PopoverProps } from '../types';
2
- export declare const ObjectSeeFeedbackPopover: ({ elementId }: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ export declare const ObjectSeeFeedbackPopover: ({ elementId }: PopoverProps) => import("react").JSX.Element | null;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
2
  import { ApollonEditor } from '../../apollon-editor';
3
3
  import { ApollonCollaborationOptions, ApollonMode, ApollonView, UMLDiagramType, UMLModel } from '../../typings';
4
4
  /**
@@ -40,6 +40,11 @@ export interface ApollonProps {
40
40
  * runs as cleanup before destroy (React-19-style cleanup return).
41
41
  */
42
42
  onMount?: (editor: ApollonEditor) => void | (() => void);
43
+ /**
44
+ * Imperative handle to the underlying {@link ApollonEditor}. Assigned once
45
+ * after mount and cleared on unmount.
46
+ */
47
+ ref?: Ref<ApollonEditor | null>;
43
48
  }
44
49
  /** React wrapper around {@link ApollonEditor}. See `@tumaet/apollon/react` docs. */
45
- export declare const Apollon: import('react').ForwardRefExoticComponent<ApollonProps & import('react').RefAttributes<ApollonEditor | null>>;
50
+ export declare function Apollon(props: ApollonProps): import("react").JSX.Element;
@@ -13,4 +13,4 @@ export declare function useApollonEditorOrThrow(): ApollonEditor;
13
13
  export declare function ApollonProvider({ editor, children, }: {
14
14
  editor: ApollonEditor;
15
15
  children: ReactNode;
16
- }): import("react/jsx-runtime").JSX.Element;
16
+ }): import("react").JSX.Element;
@@ -57,7 +57,7 @@ export declare function getPathStartInfo(pathD: string): {
57
57
  /**
58
58
  * Renders an inline SVG marker at the given position and direction.
59
59
  */
60
- export declare function InlineMarker({ endPoint, direction, markerId, strokeColor, }: MarkerProps): import("react/jsx-runtime").JSX.Element | null;
60
+ export declare function InlineMarker({ endPoint, direction, markerId, strokeColor, }: MarkerProps): import("react").JSX.Element | null;
61
61
  /**
62
62
  * Helper component that renders inline markers for an edge path.
63
63
  * Use this alongside BaseEdge (without markerEnd/markerStart props).
@@ -67,4 +67,4 @@ export declare function EdgeInlineMarkers({ pathD, markerEnd, markerStart, strok
67
67
  markerEnd?: string;
68
68
  markerStart?: string;
69
69
  strokeColor?: string;
70
- }): import("react/jsx-runtime").JSX.Element;
70
+ }): import("react").JSX.Element;
@@ -7,4 +7,4 @@ export interface MinSize {
7
7
  export type ClassSVGProps = SVGComponentProps & {
8
8
  data: ClassNodeProps;
9
9
  };
10
- export declare const ClassSVG: ({ id, width, height, SIDEBAR_PREVIEW_SCALE, svgAttributes, showAssessmentResults, data, }: ClassSVGProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const ClassSVG: ({ id, width, height, SIDEBAR_PREVIEW_SCALE, svgAttributes, showAssessmentResults, data, }: ClassSVGProps) => import("react").JSX.Element;
@@ -7,4 +7,4 @@ export type ColorDescriptionSVGProps = {
7
7
  SIDEBAR_PREVIEW_SCALE?: number;
8
8
  svgAttributes?: SVGAttributes<SVGElement>;
9
9
  };
10
- export declare function ColorDescriptionSVG({ width, height, data, svgAttributes, SIDEBAR_PREVIEW_SCALE, }: ColorDescriptionSVGProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function ColorDescriptionSVG({ width, height, data, svgAttributes, SIDEBAR_PREVIEW_SCALE, }: ColorDescriptionSVGProps): import("react").JSX.Element;
@@ -3,4 +3,4 @@ import { SVGComponentProps } from '../../../../types/SVG';
3
3
  export type CommunicationObjectNameSVGProps = SVGComponentProps & {
4
4
  data: CommunicationObjectNodeProps;
5
5
  };
6
- export declare const CommunicationObjectNameSVG: ({ id, width, height, data, SIDEBAR_PREVIEW_SCALE, svgAttributes, showAssessmentResults, }: CommunicationObjectNameSVGProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const CommunicationObjectNameSVG: ({ id, width, height, data, SIDEBAR_PREVIEW_SCALE, svgAttributes, showAssessmentResults, }: CommunicationObjectNameSVGProps) => import("react").JSX.Element;
@@ -3,5 +3,5 @@ import { SVGComponentProps } from '../../../../types/SVG';
3
3
  interface Props extends SVGComponentProps {
4
4
  data: ObjectNodeProps;
5
5
  }
6
- export declare const ObjectNameSVG: ({ id, width, height, data, SIDEBAR_PREVIEW_SCALE, svgAttributes, showAssessmentResults, }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const ObjectNameSVG: ({ id, width, height, data, SIDEBAR_PREVIEW_SCALE, svgAttributes, showAssessmentResults, }: Props) => import("react").JSX.Element;
7
7
  export {};
@@ -6,7 +6,7 @@ interface CustomEdgeToolbarProps {
6
6
  scaleAnchor: IPoint;
7
7
  onEditClick: (event: React.MouseEvent<HTMLElement>) => void;
8
8
  onDeleteClick: (event: React.MouseEvent<HTMLElement>) => void;
9
- anchorRef: React.RefObject<SVGForeignObjectElement>;
9
+ anchorRef: React.Ref<SVGForeignObjectElement>;
10
10
  }
11
11
  export declare const CustomEdgeToolbar: React.FC<CustomEdgeToolbarProps>;
12
12
  export {};
@@ -7,5 +7,5 @@ interface ColorButtonProps {
7
7
  color: string;
8
8
  onSelect: (color: string) => void;
9
9
  }
10
- export declare const ColorButton: ({ color, onSelect }: ColorButtonProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const ColorButton: ({ color, onSelect }: ColorButtonProps) => React.JSX.Element;
11
11
  export {};
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { FONT_FAMILY, DEFAULT_FONT_SIZE } from './fontStack';
2
3
  import { DiagramNodeType } from './nodes';
3
4
  import { UMLDiagramType } from './types';
4
5
  export declare const CANVAS: Readonly<{
@@ -12,6 +13,7 @@ export declare const CANVAS: Readonly<{
12
13
  export declare const CSS_VARIABLE_FALLBACKS: Readonly<Record<string, string>>;
13
14
  export declare const STROKE_COLOR: string;
14
15
  export declare const FILL_COLOR: string;
16
+ export { FONT_FAMILY, DEFAULT_FONT_SIZE };
15
17
  export declare const INTERACTIVE_SELECTION_COLOR: string;
16
18
  export declare const INTERACTIVE_SELECTION_FILL: string;
17
19
  export declare const LAYOUT: Readonly<{
@@ -26,18 +28,27 @@ export declare const LAYOUT: Readonly<{
26
28
  readonly LINE_WIDTH_EDGE: 2;
27
29
  readonly ICON_LINE_WIDTH: 1.5;
28
30
  /**
29
- * Typography tokens for wrapped node labels. `NAME_FONT_SIZE` matches the
30
- * SVG `<text>` browser default so un-styled labels don't visibly shrink,
31
- * and `NAME_LINE_HEIGHT` is `round(16 * 1.2)` — what pretext uses internally
32
- * and what `MultilineText` falls back to when no explicit line-height is
33
- * passed. Used by every node that wraps its label.
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.
34
35
  */
35
36
  readonly NAME_FONT_SIZE: 16;
36
- readonly NAME_LINE_HEIGHT: 19;
37
+ readonly NAME_LINE_HEIGHT: number;
37
38
  /** Stereotype tspans like `«component»` render at 0.8em of the name font. */
38
39
  readonly STEREOTYPE_LINE_HEIGHT: 15;
39
40
  readonly STEREOTYPE_NAME_GAP: 4;
40
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)";
41
52
  export declare const INTERFACE: Readonly<{
42
53
  readonly SIZE: 30;
43
54
  readonly RADIUS: number;
@@ -25,14 +25,14 @@ export declare const EdgeEndpointMarkers: ({ sourcePoint, targetPoint, sourcePos
25
25
  targetPosition?: EndpointSide;
26
26
  isDiagramModifiable: boolean;
27
27
  canEditEndpoint?: boolean;
28
- }) => import("react/jsx-runtime").JSX.Element | null;
28
+ }) => import("react").JSX.Element | null;
29
29
  export declare const EdgeBendHandle: ({ id, segmentIndex, position, orientation, onPointerDown, }: {
30
30
  id: string;
31
31
  segmentIndex: number;
32
32
  position: IPoint;
33
33
  orientation: "H" | "V";
34
34
  onPointerDown: (e: ReactPointerEvent<SVGRectElement>) => void;
35
- }) => import("react/jsx-runtime").JSX.Element;
35
+ }) => import("react").JSX.Element;
36
36
  /**
37
37
  * The shared SVG body for every orthogonal (step-path) edge: the base path,
38
38
  * inline export markers, the interaction overlay, endpoint reconnect targets,
@@ -64,16 +64,15 @@ export declare const StepEdgeBody: ({ id, markerKey, currentPath, overlayPath, p
64
64
  bendHandles: BendHandle[];
65
65
  handlePointerDown: (event: ReactPointerEvent<SVGRectElement>, handle: BendHandle) => void;
66
66
  children?: ReactNode;
67
- }) => import("react/jsx-runtime").JSX.Element;
68
- export declare const CommonEdgeElements: ({ id, pathMiddlePosition, toolbarPosition, isDiagramModifiable, assessments, anchorRef, handleDelete, setPopOverElementId, type, }: {
67
+ }) => import("react").JSX.Element;
68
+ export declare const CommonEdgeElements: ({ id, pathMiddlePosition, toolbarPosition, isDiagramModifiable, assessments, handleDelete, setPopOverElementId, type, }: {
69
69
  id: string;
70
70
  pathMiddlePosition: IPoint;
71
71
  toolbarPosition?: IPoint;
72
72
  isDiagramModifiable: boolean;
73
73
  assessments: Record<string, Assessment>;
74
- anchorRef: React.RefObject<SVGSVGElement>;
75
74
  handleDelete: () => void;
76
75
  setPopOverElementId: (id: string) => void;
77
76
  type: string;
78
- }) => import("react/jsx-runtime").JSX.Element;
77
+ }) => import("react").JSX.Element;
79
78
  export {};
@@ -1,2 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
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 +1,2 @@
1
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-runtime").JSX.Element;
2
+ export declare const UseCaseEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react").JSX.Element;
@@ -15,5 +15,5 @@ interface EdgeEndLabelsProps {
15
15
  targetPosition: string;
16
16
  textColor?: string;
17
17
  }
18
- export declare const EdgeEndLabels: ({ data, activePoints, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, textColor, }: EdgeEndLabelsProps) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const EdgeEndLabels: ({ data, activePoints, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, textColor, }: EdgeEndLabelsProps) => import("react").JSX.Element;
19
19
  export {};
@@ -9,5 +9,5 @@ interface EdgeIncludeExtendLabelsProps {
9
9
  relationshipType?: "include" | "extend";
10
10
  textColor?: string;
11
11
  }
12
- export declare const EdgeIncludeExtendLabel: ({ sourcePoint, targetPoint, showRelationshipLabels, relationshipType, textColor, }: EdgeIncludeExtendLabelsProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const EdgeIncludeExtendLabel: ({ sourcePoint, targetPoint, showRelationshipLabels, relationshipType, textColor, }: EdgeIncludeExtendLabelsProps) => import("react").JSX.Element;
13
13
  export {};
@@ -11,5 +11,5 @@ interface EdgeMiddleLabelsProps {
11
11
  avoidToolbarOverlap?: boolean;
12
12
  textColor: string;
13
13
  }
14
- export declare const EdgeMiddleLabels: ({ label, pathMiddlePosition, isMiddlePathHorizontal, sourcePoint, targetPoint, showRelationshipLabels, isUseCasePath, isPetriNet, avoidToolbarOverlap, textColor, }: EdgeMiddleLabelsProps) => import("react/jsx-runtime").JSX.Element | null;
14
+ export declare const EdgeMiddleLabels: ({ label, pathMiddlePosition, isMiddlePathHorizontal, sourcePoint, targetPoint, showRelationshipLabels, isUseCasePath, isPetriNet, avoidToolbarOverlap, textColor, }: EdgeMiddleLabelsProps) => import("react").JSX.Element | null;
15
15
  export {};
@@ -11,5 +11,5 @@ interface EdgeMultipleLabelsProps {
11
11
  isHorizontalEdge?: boolean;
12
12
  textColor: string;
13
13
  }
14
- export declare const EdgeMultipleLabels: ({ messages, pathMiddlePosition, showRelationshipLabels, isReconnecting, sourcePosition, targetPosition, edgePoints, isHorizontalEdge, textColor, }: EdgeMultipleLabelsProps) => import("react/jsx-runtime").JSX.Element | null;
14
+ export declare const EdgeMultipleLabels: ({ messages, pathMiddlePosition, showRelationshipLabels, isReconnecting, sourcePosition, targetPosition, edgePoints, isHorizontalEdge, textColor, }: EdgeMultipleLabelsProps) => import("react").JSX.Element | null;
15
15
  export {};