@likec4/diagram 1.44.0 → 1.46.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 (270) hide show
  1. package/bundle/index.js +18847 -17876
  2. package/dist/LikeC4Diagram.d.ts +1 -1
  3. package/dist/LikeC4Diagram.js +15 -12
  4. package/dist/LikeC4Diagram.props.d.ts +13 -20
  5. package/dist/LikeC4ProjectsProvider.js +8 -4
  6. package/dist/LikeC4Styles.js +0 -3
  7. package/dist/LikeC4View.d.ts +3 -3
  8. package/dist/LikeC4View.js +8 -8
  9. package/dist/ReactLikeC4.d.ts +3 -6
  10. package/dist/StaticLikeC4Diagram.js +0 -2
  11. package/dist/base/Base.d.ts +1 -1
  12. package/dist/base/updateEdges.js +25 -15
  13. package/dist/base/updateNodes.d.ts +14 -0
  14. package/dist/base/updateNodes.js +51 -18
  15. package/dist/base-primitives/Markdown.d.ts +30 -4
  16. package/dist/base-primitives/Markdown.js +3 -2
  17. package/dist/base-primitives/NodeHandles.d.ts +2 -1
  18. package/dist/base-primitives/NodeHandles.js +22 -18
  19. package/dist/base-primitives/compound/CompoundActionButton.d.ts +3 -2
  20. package/dist/base-primitives/compound/CompoundActionButton.js +1 -1
  21. package/dist/base-primitives/compound/CompoundDetailsButton.d.ts +3 -2
  22. package/dist/base-primitives/compound/CompoundDetailsButton.js +1 -1
  23. package/dist/base-primitives/edge/EdgeActionButton.d.ts +3 -2
  24. package/dist/base-primitives/edge/EdgeActionButton.js +1 -1
  25. package/dist/base-primitives/edge/EdgeContainer.d.ts +1 -1
  26. package/dist/base-primitives/edge/EdgeContainer.js +6 -4
  27. package/dist/base-primitives/edge/EdgeLabel.d.ts +2 -2
  28. package/dist/base-primitives/edge/EdgeLabel.js +16 -16
  29. package/dist/base-primitives/edge/EdgeLabelContainer.d.ts +1 -1
  30. package/dist/base-primitives/edge/EdgeLabelContainer.js +5 -4
  31. package/dist/base-primitives/edge/EdgePath.js +27 -12
  32. package/dist/base-primitives/element/ElementActionButtons.d.ts +3 -2
  33. package/dist/base-primitives/element/ElementActionButtons.js +3 -3
  34. package/dist/base-primitives/element/ElementData.d.ts +3 -3
  35. package/dist/base-primitives/element/ElementData.js +13 -7
  36. package/dist/base-primitives/element/ElementDetailsButton.d.ts +3 -2
  37. package/dist/base-primitives/element/ElementDetailsButton.js +4 -1
  38. package/dist/base-primitives/element/ElementShape.js +5 -5
  39. package/dist/base-primitives/element/ElementTags.d.ts +6 -4
  40. package/dist/components/ErrorFallback.js +1 -1
  41. package/dist/components/Link.js +2 -2
  42. package/dist/context/DiagramEventHandlers.js +0 -1
  43. package/dist/context/DiagramFeatures.d.ts +2 -1
  44. package/dist/context/DiagramFeatures.js +1 -0
  45. package/dist/context/EnsureMantine.js +2 -1
  46. package/dist/context/IconRenderer.js +6 -6
  47. package/dist/context/TagStylesContext.js +1 -1
  48. package/dist/custom/hooks.d.ts +2 -2
  49. package/dist/custom/index.js +1 -1
  50. package/dist/editor/LikeC4EditorProvider.d.ts +22 -0
  51. package/dist/editor/LikeC4EditorProvider.js +12 -0
  52. package/dist/editor/__tests__/fixture.d.ts +205 -0
  53. package/dist/editor/applyChangesToManualLayout.d.ts +8 -0
  54. package/dist/editor/applyChangesToManualLayout.js +182 -0
  55. package/dist/editor/editorActor.actions.d.ts +201 -0
  56. package/dist/editor/editorActor.actions.js +149 -0
  57. package/dist/editor/editorActor.d.ts +653 -0
  58. package/dist/editor/editorActor.js +324 -0
  59. package/dist/editor/hotkeyActor.d.ts +7 -0
  60. package/dist/editor/hotkeyActor.js +19 -0
  61. package/dist/editor/index.d.ts +3 -2
  62. package/dist/editor/useEditorActorLogic.d.ts +565 -0
  63. package/dist/editor/useEditorActorLogic.js +54 -0
  64. package/dist/hooks/index.d.ts +2 -1
  65. package/dist/hooks/safeContext.d.ts +3 -2
  66. package/dist/hooks/safeContext.js +7 -4
  67. package/dist/hooks/useDiagram.d.ts +4 -2
  68. package/dist/hooks/useDiagram.js +19 -8
  69. package/dist/hooks/useDiagramCompareLayout.d.ts +8 -0
  70. package/dist/hooks/useDiagramCompareLayout.js +29 -4
  71. package/dist/hooks/useLikeC4Project.d.ts +6 -1
  72. package/dist/hooks/useLikeC4Project.js +14 -2
  73. package/dist/hooks/useMediaPrint.d.ts +6 -0
  74. package/dist/index.d.ts +1 -0
  75. package/dist/index.js +1 -0
  76. package/dist/likec4diagram/DiagramXYFlow.js +11 -7
  77. package/dist/likec4diagram/custom/edges/EdgeDrifts.d.ts +6 -0
  78. package/dist/likec4diagram/custom/edges/EdgeDrifts.js +34 -0
  79. package/dist/likec4diagram/custom/edges/RelationshipEdge.js +90 -54
  80. package/dist/likec4diagram/custom/edges/SequenceStepEdge.js +3 -1
  81. package/dist/likec4diagram/custom/edges/edges.css.d.ts +0 -1
  82. package/dist/likec4diagram/custom/edges/edges.css.js +30 -24
  83. package/dist/likec4diagram/custom/edges/useControlPoints.js +5 -5
  84. package/dist/likec4diagram/custom/edges/useRelationshipEdgePath.js +5 -5
  85. package/dist/likec4diagram/custom/nodes/ElementActions.js +2 -2
  86. package/dist/likec4diagram/custom/nodes/NodeDrifts.d.ts +6 -0
  87. package/dist/likec4diagram/custom/nodes/{ElementNodeDrifts.js → NodeDrifts.js} +12 -13
  88. package/dist/likec4diagram/custom/nodes/SequenceActorNode.js +4 -2
  89. package/dist/likec4diagram/custom/nodes/index.d.ts +1 -0
  90. package/dist/likec4diagram/custom/nodes/nodes.js +61 -23
  91. package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +2 -2
  92. package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +2 -2
  93. package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +128 -15
  94. package/dist/likec4diagram/relationship-popover/actor.d.ts +1 -1
  95. package/dist/likec4diagram/state/DiagramActorProvider.d.ts +2 -2
  96. package/dist/likec4diagram/state/DiagramActorProvider.js +63 -72
  97. package/dist/likec4diagram/state/assign.d.ts +14 -7
  98. package/dist/likec4diagram/state/assign.js +28 -200
  99. package/dist/likec4diagram/state/createViewChange.js +23 -30
  100. package/dist/likec4diagram/state/diagram-api.d.ts +20 -6
  101. package/dist/likec4diagram/state/diagram-api.js +58 -52
  102. package/dist/likec4diagram/state/hotkeyActor.d.ts +1 -8
  103. package/dist/likec4diagram/state/hotkeyActor.js +13 -17
  104. package/dist/likec4diagram/state/machine.actions.d.ts +1127 -864
  105. package/dist/likec4diagram/state/machine.actions.js +316 -296
  106. package/dist/likec4diagram/state/machine.actions.layout.d.ts +641 -0
  107. package/dist/likec4diagram/state/machine.actions.layout.js +141 -0
  108. package/dist/likec4diagram/state/machine.d.ts +18 -3712
  109. package/dist/likec4diagram/state/machine.js +64 -73
  110. package/dist/likec4diagram/state/machine.setup.d.ts +80 -26
  111. package/dist/likec4diagram/state/machine.setup.js +44 -7
  112. package/dist/likec4diagram/state/machine.state.initializing.d.ts +58 -17
  113. package/dist/likec4diagram/state/machine.state.initializing.js +14 -14
  114. package/dist/likec4diagram/state/machine.state.navigating.d.ts +5 -108
  115. package/dist/likec4diagram/state/machine.state.navigating.js +187 -35
  116. package/dist/likec4diagram/state/machine.state.ready.d.ts +2997 -2598
  117. package/dist/likec4diagram/state/machine.state.ready.focused.d.ts +710 -0
  118. package/dist/likec4diagram/state/machine.state.ready.focused.js +98 -0
  119. package/dist/likec4diagram/state/machine.state.ready.idle.d.ts +540 -0
  120. package/dist/likec4diagram/state/machine.state.ready.idle.js +105 -0
  121. package/dist/likec4diagram/state/machine.state.ready.js +95 -347
  122. package/dist/likec4diagram/state/machine.state.ready.printing.d.ts +140 -0
  123. package/dist/likec4diagram/state/machine.state.ready.printing.js +40 -0
  124. package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +684 -0
  125. package/dist/likec4diagram/state/machine.state.ready.walkthrough.js +190 -0
  126. package/dist/likec4diagram/state/mediaPrintActor.d.ts +12 -0
  127. package/dist/likec4diagram/state/mediaPrintActor.js +18 -0
  128. package/dist/likec4diagram/state/types.d.ts +11 -9
  129. package/dist/likec4diagram/state/utils.d.ts +44 -5
  130. package/dist/likec4diagram/state/utils.js +62 -6
  131. package/dist/likec4diagram/types.d.ts +8 -13
  132. package/dist/likec4diagram/ui/notation/NotationPanel.css.js +5 -2
  133. package/dist/likec4diagram/ui/notation/NotationPanel.js +3 -3
  134. package/dist/likec4diagram/useLayoutConstraints.js +104 -103
  135. package/dist/likec4diagram/xyflow-diagram/diagram-view.js +12 -15
  136. package/dist/likec4diagram/xyflow-sequence/sequence-layout.js +11 -8
  137. package/dist/navigationpanel/NavigationPanel.js +11 -10
  138. package/dist/navigationpanel/NavigationPanelDropdown.js +7 -7
  139. package/dist/navigationpanel/_common.js +1 -1
  140. package/dist/navigationpanel/actor.d.ts +4 -204
  141. package/dist/navigationpanel/actor.js +1 -1
  142. package/dist/navigationpanel/comparepanel/CompareActionsMenu.d.ts +3 -1
  143. package/dist/navigationpanel/comparepanel/CompareActionsMenu.js +40 -14
  144. package/dist/navigationpanel/comparepanel/ComparePanelControls.js +6 -4
  145. package/dist/navigationpanel/comparepanel/LayoutTypeSwitcher.js +2 -2
  146. package/dist/navigationpanel/controls/DetailsControls.js +2 -2
  147. package/dist/navigationpanel/controls/LayoutWarning.js +2 -1
  148. package/dist/navigationpanel/controls/NavigationButtons.js +2 -2
  149. package/dist/navigationpanel/controls/OpenSource.js +1 -1
  150. package/dist/navigationpanel/controls/SearchControl.js +2 -2
  151. package/dist/navigationpanel/controls/ToggleReadonly.js +32 -19
  152. package/dist/navigationpanel/dropdown/ProjectsMenu.js +1 -1
  153. package/dist/navigationpanel/editorpanel/CenterCamera.js +1 -1
  154. package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.js +1 -1
  155. package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.js +9 -9
  156. package/dist/navigationpanel/editorpanel/ToggleReadonly.js +1 -1
  157. package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +3 -3
  158. package/dist/navigationpanel/walkthrough/DynamicViewControls.d.ts +9 -9
  159. package/dist/navigationpanel/walkthrough/DynamicViewControls.js +1 -1
  160. package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +4 -3
  161. package/dist/overlays/Overlays.js +24 -12
  162. package/dist/overlays/element-details/ElementDetailsCard.css.js +3 -3
  163. package/dist/overlays/element-details/ElementDetailsCard.js +4 -4
  164. package/dist/overlays/element-details/MetadataValue.d.ts +2 -1
  165. package/dist/overlays/element-details/MetadataValue.js +4 -6
  166. package/dist/overlays/element-details/TabPanelDeployments.js +3 -3
  167. package/dist/overlays/element-details/TabPanelRelationships.js +12 -7
  168. package/dist/overlays/element-details/TabPanelStructure.js +1 -1
  169. package/dist/overlays/element-details/actor.d.ts +8 -83
  170. package/dist/overlays/element-details/actor.js +0 -8
  171. package/dist/overlays/overlay/Overlay.js +10 -10
  172. package/dist/overlays/overlaysActor.d.ts +7 -392
  173. package/dist/overlays/overlaysActor.js +73 -49
  174. package/dist/overlays/relationship-details/RelationshipDetails.js +3 -3
  175. package/dist/overlays/relationship-details/SelectEdge.js +2 -2
  176. package/dist/overlays/relationship-details/_types.d.ts +3 -4
  177. package/dist/overlays/relationship-details/actor.d.ts +6 -562
  178. package/dist/overlays/relationship-details/actor.js +1 -0
  179. package/dist/overlays/relationship-details/custom/ElementActions.js +3 -3
  180. package/dist/overlays/relationship-details/layout-to-xyflow.js +3 -5
  181. package/dist/overlays/relationship-details/layout.d.ts +3 -3
  182. package/dist/overlays/relationship-details/layout.js +4 -4
  183. package/dist/overlays/relationships-browser/RelationshipsBrowser.js +3 -3
  184. package/dist/overlays/relationships-browser/SelectElement.js +2 -2
  185. package/dist/overlays/relationships-browser/_types.d.ts +2 -3
  186. package/dist/overlays/relationships-browser/actor.d.ts +7 -739
  187. package/dist/overlays/relationships-browser/custom/ElementActions.js +3 -3
  188. package/dist/overlays/relationships-browser/layout.d.ts +2 -2
  189. package/dist/overlays/relationships-browser/layout.js +3 -3
  190. package/dist/overlays/relationships-browser/useViewToNodesEdges.js +0 -3
  191. package/dist/overlays/types.d.ts +12 -13
  192. package/dist/search/components/ElementsColumn.js +7 -3
  193. package/dist/search/components/PickView.js +3 -1
  194. package/dist/search/components/SearchByTags.js +1 -1
  195. package/dist/search/components/SearchInput.js +1 -1
  196. package/dist/search/components/ViewsColum.d.ts +3 -1
  197. package/dist/search/components/ViewsColum.js +13 -7
  198. package/dist/search/components/_shared.css.d.ts +1 -1
  199. package/dist/search/searchActor.d.ts +3 -66
  200. package/dist/shadowroot/ShadowRoot.d.ts +5 -7
  201. package/dist/shadowroot/ShadowRoot.js +7 -5
  202. package/dist/shadowroot/styles.css.js +6 -1
  203. package/dist/styles.css2.js +1 -1
  204. package/dist/utils/index.d.ts +2 -2
  205. package/dist/utils/view-bounds.js +7 -6
  206. package/dist/utils/xyflow.d.ts +6 -5
  207. package/dist/utils/xyflow.js +26 -57
  208. package/package.json +24 -23
  209. package/panda.buildinfo.json +65 -71
  210. package/styles-min.css +1 -1
  211. package/styles.css +1 -1
  212. package/dist/base-primitives/edge/edge.css.d.ts +0 -4
  213. package/dist/base-primitives/edge/edge.css.js +0 -71
  214. package/dist/editor/LikeC4EditorContext.d.ts +0 -21
  215. package/dist/likec4diagram/custom/nodes/ElementNodeDrifts.d.ts +0 -4
  216. package/dist/likec4diagram/state/syncManualLayoutActor.d.ts +0 -280
  217. package/dist/likec4diagram/state/syncManualLayoutActor.js +0 -248
  218. package/dist/utils/vector.d.ts +0 -81
  219. package/dist/utils/vector.js +0 -120
  220. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/createReactComponent.js +0 -0
  221. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.js +0 -0
  222. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.js +0 -0
  223. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowDownRight.js +0 -0
  224. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowLeft.js +0 -0
  225. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js +0 -0
  226. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconBolt.js +0 -0
  227. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconBrowser.js +0 -0
  228. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.js +0 -0
  229. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js +0 -0
  230. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronLeft.js +0 -0
  231. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js +0 -0
  232. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js +0 -0
  233. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconCylinder.js +0 -0
  234. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconDeviceMobile.js +0 -0
  235. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconDirectionSignFilled.js +0 -0
  236. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.js +0 -0
  237. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.js +0 -0
  238. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js +0 -0
  239. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconFolderFilled.js +0 -0
  240. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconHelpCircle.js +0 -0
  241. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconId.js +0 -0
  242. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js +0 -0
  243. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.js +0 -0
  244. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.js +0 -0
  245. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.js +0 -0
  246. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.js +0 -0
  247. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.js +0 -0
  248. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.js +0 -0
  249. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.js +0 -0
  250. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.js +0 -0
  251. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutDashboard.js +0 -0
  252. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLink.js +0 -0
  253. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.js +0 -0
  254. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js +0 -0
  255. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerPlayFilled.js +0 -0
  256. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipBackFilled.js +0 -0
  257. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipForwardFilled.js +0 -0
  258. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStopFilled.js +0 -0
  259. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconRectangularPrism.js +0 -0
  260. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconReorder.js +0 -0
  261. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js +0 -0
  262. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js +0 -0
  263. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconSelector.js +0 -0
  264. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.js +0 -0
  265. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconStarFilled.js +0 -0
  266. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconTarget.js +0 -0
  267. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconTransform.js +0 -0
  268. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconUser.js +0 -0
  269. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconX.js +0 -0
  270. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.2.0 → @tabler_icons-react@3.35.0_react@19.2.1}/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js +0 -0
@@ -1,3717 +1,23 @@
1
- import { Context, Events, Input, EmittedEvents } from './machine.setup';
2
- import { StateMachine, ActorRefFromLogic, Values, NonReducibleUnknown, MetaObject, ConditionalRequired, InputFrom, RequiredActorOptions, IsNotNever, GetConcreteByKey, AnyActorLogic, RequiredLogicInput, ActorRef, MachineSnapshot, AnyActorRef, StateValue, AnyEventObject, ActionFunction, GuardArgs, CancelAction, GuardPredicate, StopAction } from 'xstate';
3
- import { SyncLayoutActorLogic } from './syncManualLayoutActor';
4
- import { HotkeyActorLogic, HotKeyEvent } from './hotkeyActor';
5
- import { OverlaysActorLogic } from '../../overlays/overlaysActor';
6
- import { SearchActorLogic } from '../../search/searchActor';
7
- import { XYFlowInstance } from '../../hooks';
8
- import { DiagramView, ViewId, NodeId, Fqn, EdgeId } from '@likec4/core';
9
- import { NormalizeGuardArgArray } from 'xstate/guards';
10
- import { NodeChange, EdgeChange, Viewport } from '@xyflow/system';
11
- declare const _diagramMachine: StateMachine<Context, Events, {
12
- syncLayout?: ActorRefFromLogic<SyncLayoutActorLogic>;
13
- hotkey?: ActorRefFromLogic<HotkeyActorLogic>;
14
- overlays?: ActorRefFromLogic<OverlaysActorLogic>;
15
- search?: ActorRefFromLogic<SearchActorLogic>;
16
- }, Values<{
17
- syncManualLayoutActorLogic: {
18
- src: "syncManualLayoutActorLogic";
19
- logic: SyncLayoutActorLogic;
20
- id: "syncLayout";
21
- };
22
- hotkeyActorLogic: {
23
- src: "hotkeyActorLogic";
24
- logic: HotkeyActorLogic;
25
- id: "hotkey";
26
- };
27
- overlaysActorLogic: {
28
- src: "overlaysActorLogic";
29
- logic: OverlaysActorLogic;
30
- id: "overlays";
31
- };
32
- searchActorLogic: {
33
- src: "searchActorLogic";
34
- logic: SearchActorLogic;
35
- id: "search";
36
- };
37
- }>, never, Values<{
38
- isReady: {
39
- type: "isReady";
40
- params: unknown;
41
- };
42
- "enabled: FitView": {
43
- type: "enabled: FitView";
44
- params: unknown;
45
- };
46
- "enabled: FocusMode": {
47
- type: "enabled: FocusMode";
48
- params: unknown;
49
- };
50
- "enabled: Readonly": {
51
- type: "enabled: Readonly";
52
- params: unknown;
53
- };
54
- "enabled: RelationshipDetails": {
55
- type: "enabled: RelationshipDetails";
56
- params: unknown;
57
- };
58
- "enabled: Search": {
59
- type: "enabled: Search";
60
- params: unknown;
61
- };
62
- "enabled: ElementDetails": {
63
- type: "enabled: ElementDetails";
64
- params: unknown;
65
- };
66
- "enabled: DynamicViewWalkthrough": {
67
- type: "enabled: DynamicViewWalkthrough";
68
- params: unknown;
69
- };
70
- "not readonly": {
71
- type: "not readonly";
72
- params: unknown;
73
- };
74
- "is dynamic view": {
75
- type: "is dynamic view";
76
- params: unknown;
77
- };
78
- "is another view": {
79
- type: "is another view";
80
- params: unknown;
81
- };
82
- "click: node has modelFqn": {
83
- type: "click: node has modelFqn";
84
- params: unknown;
85
- };
86
- "click: selected node": {
87
- type: "click: selected node";
88
- params: unknown;
89
- };
90
- "click: same node": {
91
- type: "click: same node";
92
- params: unknown;
93
- };
94
- "click: focused node": {
95
- type: "click: focused node";
96
- params: unknown;
97
- };
98
- "click: node has connections": {
99
- type: "click: node has connections";
100
- params: unknown;
101
- };
102
- "click: selected edge": {
103
- type: "click: selected edge";
104
- params: unknown;
105
- };
106
- }>, never, "isReady" | "initializing" | "navigating" | {
107
- ready: "idle" | "walkthrough" | "focused";
108
- }, string, Input, NonReducibleUnknown, EmittedEvents, MetaObject, {
109
- readonly initial: "initializing";
110
- readonly context: ({ input }: {
111
- spawn: {
112
- <TSrc extends "syncManualLayoutActorLogic" | "hotkeyActorLogic" | "overlaysActorLogic" | "searchActorLogic">(logic: TSrc, ...[options]: ({
113
- src: "syncManualLayoutActorLogic";
114
- logic: SyncLayoutActorLogic;
115
- id: "syncLayout";
116
- } extends infer T ? T extends {
117
- src: "syncManualLayoutActorLogic";
118
- logic: SyncLayoutActorLogic;
119
- id: "syncLayout";
120
- } ? T extends {
121
- src: TSrc;
122
- } ? ConditionalRequired<[options?: {
123
- id?: T["id"];
124
- systemId?: string;
125
- input?: InputFrom<T["logic"]>;
126
- syncSnapshot?: boolean;
127
- } & { [K in RequiredActorOptions<T>]: unknown; }], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
128
- src: "hotkeyActorLogic";
129
- logic: HotkeyActorLogic;
130
- id: "hotkey";
131
- } extends infer T_1 ? T_1 extends {
132
- src: "hotkeyActorLogic";
133
- logic: HotkeyActorLogic;
134
- id: "hotkey";
135
- } ? T_1 extends {
136
- src: TSrc;
137
- } ? ConditionalRequired<[options?: {
138
- id?: T_1["id"];
139
- systemId?: string;
140
- input?: InputFrom<T_1["logic"]>;
141
- syncSnapshot?: boolean;
142
- } & { [K_1 in RequiredActorOptions<T_1>]: unknown; }], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
143
- src: "overlaysActorLogic";
144
- logic: OverlaysActorLogic;
145
- id: "overlays";
146
- } extends infer T_2 ? T_2 extends {
147
- src: "overlaysActorLogic";
148
- logic: OverlaysActorLogic;
149
- id: "overlays";
150
- } ? T_2 extends {
151
- src: TSrc;
152
- } ? ConditionalRequired<[options?: {
153
- id?: T_2["id"];
154
- systemId?: string;
155
- input?: InputFrom<T_2["logic"]>;
156
- syncSnapshot?: boolean;
157
- } & { [K_2 in RequiredActorOptions<T_2>]: unknown; }], IsNotNever<RequiredActorOptions<T_2>>> : never : never : never) | ({
158
- src: "searchActorLogic";
159
- logic: SearchActorLogic;
160
- id: "search";
161
- } extends infer T_3 ? T_3 extends {
162
- src: "searchActorLogic";
163
- logic: SearchActorLogic;
164
- id: "search";
165
- } ? T_3 extends {
166
- src: TSrc;
167
- } ? ConditionalRequired<[options?: {
168
- id?: T_3["id"];
169
- systemId?: string;
170
- input?: InputFrom<T_3["logic"]>;
171
- syncSnapshot?: boolean;
172
- } & { [K_3 in RequiredActorOptions<T_3>]: unknown; }], IsNotNever<RequiredActorOptions<T_3>>> : never : never : never)): ActorRefFromLogic< GetConcreteByKey<Values<{
173
- syncManualLayoutActorLogic: {
174
- src: "syncManualLayoutActorLogic";
175
- logic: SyncLayoutActorLogic;
176
- id: "syncLayout";
177
- };
178
- hotkeyActorLogic: {
179
- src: "hotkeyActorLogic";
180
- logic: HotkeyActorLogic;
181
- id: "hotkey";
182
- };
183
- overlaysActorLogic: {
184
- src: "overlaysActorLogic";
185
- logic: OverlaysActorLogic;
186
- id: "overlays";
187
- };
188
- searchActorLogic: {
189
- src: "searchActorLogic";
190
- logic: SearchActorLogic;
191
- id: "search";
192
- };
193
- }>, "src", TSrc>["logic"]>;
194
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
195
- id?: never;
196
- systemId?: string;
197
- input?: InputFrom<TLogic>;
198
- syncSnapshot?: boolean;
199
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
200
- };
201
- input: Input;
202
- self: ActorRef<MachineSnapshot<Context, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
203
- }) => Context;
204
- readonly states: {
205
- readonly initializing: {
206
- on: {
207
- 'xyflow.init': {
208
- actions: ActionFunction<Context, {
209
- type: "xyflow.init";
210
- instance: XYFlowInstance;
211
- }, Events, undefined, Values<{
212
- syncManualLayoutActorLogic: {
213
- src: "syncManualLayoutActorLogic";
214
- logic: SyncLayoutActorLogic;
215
- id: "syncLayout";
216
- };
217
- hotkeyActorLogic: {
218
- src: "hotkeyActorLogic";
219
- logic: HotkeyActorLogic;
220
- id: "hotkey";
221
- };
222
- overlaysActorLogic: {
223
- src: "overlaysActorLogic";
224
- logic: OverlaysActorLogic;
225
- id: "overlays";
226
- };
227
- searchActorLogic: {
228
- src: "searchActorLogic";
229
- logic: SearchActorLogic;
230
- id: "search";
231
- };
232
- }>, never, never, never, never>;
233
- target: string;
234
- };
235
- 'update.view': {
236
- actions: ActionFunction<Context, {
237
- type: "update.view";
238
- view: DiagramView;
239
- xynodes: import("../types").Types.Node[];
240
- xyedges: import("../types").Types.Edge[];
241
- }, Events, undefined, Values<{
242
- syncManualLayoutActorLogic: {
243
- src: "syncManualLayoutActorLogic";
244
- logic: SyncLayoutActorLogic;
245
- id: "syncLayout";
246
- };
247
- hotkeyActorLogic: {
248
- src: "hotkeyActorLogic";
249
- logic: HotkeyActorLogic;
250
- id: "hotkey";
251
- };
252
- overlaysActorLogic: {
253
- src: "overlaysActorLogic";
254
- logic: OverlaysActorLogic;
255
- id: "overlays";
256
- };
257
- searchActorLogic: {
258
- src: "searchActorLogic";
259
- logic: SearchActorLogic;
260
- id: "search";
261
- };
262
- }>, never, never, never, never>;
263
- target: string;
264
- };
265
- };
266
- };
267
- readonly isReady: {
268
- always: ({
269
- guard: "isReady";
270
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
271
- syncManualLayoutActorLogic: {
272
- src: "syncManualLayoutActorLogic";
273
- logic: SyncLayoutActorLogic;
274
- id: "syncLayout";
275
- };
276
- hotkeyActorLogic: {
277
- src: "hotkeyActorLogic";
278
- logic: HotkeyActorLogic;
279
- id: "hotkey";
280
- };
281
- overlaysActorLogic: {
282
- src: "overlaysActorLogic";
283
- logic: OverlaysActorLogic;
284
- id: "overlays";
285
- };
286
- searchActorLogic: {
287
- src: "searchActorLogic";
288
- logic: SearchActorLogic;
289
- id: "search";
290
- };
291
- }>, never, Values<{
292
- isReady: {
293
- type: "isReady";
294
- params: unknown;
295
- };
296
- "enabled: FitView": {
297
- type: "enabled: FitView";
298
- params: unknown;
299
- };
300
- "enabled: FocusMode": {
301
- type: "enabled: FocusMode";
302
- params: unknown;
303
- };
304
- "enabled: Readonly": {
305
- type: "enabled: Readonly";
306
- params: unknown;
307
- };
308
- "enabled: RelationshipDetails": {
309
- type: "enabled: RelationshipDetails";
310
- params: unknown;
311
- };
312
- "enabled: Search": {
313
- type: "enabled: Search";
314
- params: unknown;
315
- };
316
- "enabled: ElementDetails": {
317
- type: "enabled: ElementDetails";
318
- params: unknown;
319
- };
320
- "enabled: DynamicViewWalkthrough": {
321
- type: "enabled: DynamicViewWalkthrough";
322
- params: unknown;
323
- };
324
- "not readonly": {
325
- type: "not readonly";
326
- params: unknown;
327
- };
328
- "is dynamic view": {
329
- type: "is dynamic view";
330
- params: unknown;
331
- };
332
- "is another view": {
333
- type: "is another view";
334
- params: unknown;
335
- };
336
- "click: node has modelFqn": {
337
- type: "click: node has modelFqn";
338
- params: unknown;
339
- };
340
- "click: selected node": {
341
- type: "click: selected node";
342
- params: unknown;
343
- };
344
- "click: same node": {
345
- type: "click: same node";
346
- params: unknown;
347
- };
348
- "click: focused node": {
349
- type: "click: focused node";
350
- params: unknown;
351
- };
352
- "click: node has connections": {
353
- type: "click: node has connections";
354
- params: unknown;
355
- };
356
- "click: selected edge": {
357
- type: "click: selected edge";
358
- params: unknown;
359
- };
360
- }>, never, EmittedEvents>[];
361
- target: string;
362
- } | {
363
- target: string;
364
- guard?: never;
365
- actions?: never;
366
- })[];
367
- };
368
- readonly ready: {
369
- initial: string;
370
- on: {
371
- 'navigate.to': {
372
- guard: "is another view";
373
- actions: ActionFunction<Context, {
374
- type: "navigate.to";
375
- viewId: ViewId;
376
- fromNode?: NodeId | undefined;
377
- }, Events, undefined, Values<{
378
- syncManualLayoutActorLogic: {
379
- src: "syncManualLayoutActorLogic";
380
- logic: SyncLayoutActorLogic;
381
- id: "syncLayout";
382
- };
383
- hotkeyActorLogic: {
384
- src: "hotkeyActorLogic";
385
- logic: HotkeyActorLogic;
386
- id: "hotkey";
387
- };
388
- overlaysActorLogic: {
389
- src: "overlaysActorLogic";
390
- logic: OverlaysActorLogic;
391
- id: "overlays";
392
- };
393
- searchActorLogic: {
394
- src: "searchActorLogic";
395
- logic: SearchActorLogic;
396
- id: "search";
397
- };
398
- }>, never, never, never, never>;
399
- target: string;
400
- };
401
- 'navigate.back': {
402
- guard: ({ context }: GuardArgs<Context, {
403
- type: "navigate.back";
404
- }>) => boolean;
405
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
406
- syncManualLayoutActorLogic: {
407
- src: "syncManualLayoutActorLogic";
408
- logic: SyncLayoutActorLogic;
409
- id: "syncLayout";
410
- };
411
- hotkeyActorLogic: {
412
- src: "hotkeyActorLogic";
413
- logic: HotkeyActorLogic;
414
- id: "hotkey";
415
- };
416
- overlaysActorLogic: {
417
- src: "overlaysActorLogic";
418
- logic: OverlaysActorLogic;
419
- id: "overlays";
420
- };
421
- searchActorLogic: {
422
- src: "searchActorLogic";
423
- logic: SearchActorLogic;
424
- id: "search";
425
- };
426
- }>, never, never, never, never>;
427
- target: string;
428
- };
429
- 'navigate.forward': {
430
- guard: ({ context }: GuardArgs<Context, {
431
- type: "navigate.forward";
432
- }>) => boolean;
433
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
434
- syncManualLayoutActorLogic: {
435
- src: "syncManualLayoutActorLogic";
436
- logic: SyncLayoutActorLogic;
437
- id: "syncLayout";
438
- };
439
- hotkeyActorLogic: {
440
- src: "hotkeyActorLogic";
441
- logic: HotkeyActorLogic;
442
- id: "hotkey";
443
- };
444
- overlaysActorLogic: {
445
- src: "overlaysActorLogic";
446
- logic: OverlaysActorLogic;
447
- id: "overlays";
448
- };
449
- searchActorLogic: {
450
- src: "searchActorLogic";
451
- logic: SearchActorLogic;
452
- id: "search";
453
- };
454
- }>, never, never, never, never>;
455
- target: string;
456
- };
457
- 'layout.align': {
458
- guard: "not readonly";
459
- actions: ( ActionFunction<Context, Events, Events, unknown, Values<{
460
- syncManualLayoutActorLogic: {
461
- src: "syncManualLayoutActorLogic";
462
- logic: SyncLayoutActorLogic;
463
- id: "syncLayout";
464
- };
465
- hotkeyActorLogic: {
466
- src: "hotkeyActorLogic";
467
- logic: HotkeyActorLogic;
468
- id: "hotkey";
469
- };
470
- overlaysActorLogic: {
471
- src: "overlaysActorLogic";
472
- logic: OverlaysActorLogic;
473
- id: "overlays";
474
- };
475
- searchActorLogic: {
476
- src: "searchActorLogic";
477
- logic: SearchActorLogic;
478
- id: "search";
479
- };
480
- }>, never, Values<{
481
- isReady: {
482
- type: "isReady";
483
- params: unknown;
484
- };
485
- "enabled: FitView": {
486
- type: "enabled: FitView";
487
- params: unknown;
488
- };
489
- "enabled: FocusMode": {
490
- type: "enabled: FocusMode";
491
- params: unknown;
492
- };
493
- "enabled: Readonly": {
494
- type: "enabled: Readonly";
495
- params: unknown;
496
- };
497
- "enabled: RelationshipDetails": {
498
- type: "enabled: RelationshipDetails";
499
- params: unknown;
500
- };
501
- "enabled: Search": {
502
- type: "enabled: Search";
503
- params: unknown;
504
- };
505
- "enabled: ElementDetails": {
506
- type: "enabled: ElementDetails";
507
- params: unknown;
508
- };
509
- "enabled: DynamicViewWalkthrough": {
510
- type: "enabled: DynamicViewWalkthrough";
511
- params: unknown;
512
- };
513
- "not readonly": {
514
- type: "not readonly";
515
- params: unknown;
516
- };
517
- "is dynamic view": {
518
- type: "is dynamic view";
519
- params: unknown;
520
- };
521
- "is another view": {
522
- type: "is another view";
523
- params: unknown;
524
- };
525
- "click: node has modelFqn": {
526
- type: "click: node has modelFqn";
527
- params: unknown;
528
- };
529
- "click: selected node": {
530
- type: "click: selected node";
531
- params: unknown;
532
- };
533
- "click: same node": {
534
- type: "click: same node";
535
- params: unknown;
536
- };
537
- "click: focused node": {
538
- type: "click: focused node";
539
- params: unknown;
540
- };
541
- "click: node has connections": {
542
- type: "click: node has connections";
543
- params: unknown;
544
- };
545
- "click: selected edge": {
546
- type: "click: selected edge";
547
- params: unknown;
548
- };
549
- }>, never, EmittedEvents> | ActionFunction<Context, Events, Events, undefined, never, never, never, never, never>)[];
550
- };
551
- 'layout.resetEdgeControlPoints': {
552
- guard: "not readonly";
553
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
554
- syncManualLayoutActorLogic: {
555
- src: "syncManualLayoutActorLogic";
556
- logic: SyncLayoutActorLogic;
557
- id: "syncLayout";
558
- };
559
- hotkeyActorLogic: {
560
- src: "hotkeyActorLogic";
561
- logic: HotkeyActorLogic;
562
- id: "hotkey";
563
- };
564
- overlaysActorLogic: {
565
- src: "overlaysActorLogic";
566
- logic: OverlaysActorLogic;
567
- id: "overlays";
568
- };
569
- searchActorLogic: {
570
- src: "searchActorLogic";
571
- logic: SearchActorLogic;
572
- id: "search";
573
- };
574
- }>, never, never, never, never>[];
575
- };
576
- 'layout.resetManualLayout': {
577
- guard: "not readonly";
578
- actions: ( ActionFunction<Context, Events, Events, undefined, Values<{
579
- syncManualLayoutActorLogic: {
580
- src: "syncManualLayoutActorLogic";
581
- logic: SyncLayoutActorLogic;
582
- id: "syncLayout";
583
- };
584
- hotkeyActorLogic: {
585
- src: "hotkeyActorLogic";
586
- logic: HotkeyActorLogic;
587
- id: "hotkey";
588
- };
589
- overlaysActorLogic: {
590
- src: "overlaysActorLogic";
591
- logic: OverlaysActorLogic;
592
- id: "overlays";
593
- };
594
- searchActorLogic: {
595
- src: "searchActorLogic";
596
- logic: SearchActorLogic;
597
- id: "search";
598
- };
599
- }>, never, Values<{
600
- isReady: {
601
- type: "isReady";
602
- params: unknown;
603
- };
604
- "enabled: FitView": {
605
- type: "enabled: FitView";
606
- params: unknown;
607
- };
608
- "enabled: FocusMode": {
609
- type: "enabled: FocusMode";
610
- params: unknown;
611
- };
612
- "enabled: Readonly": {
613
- type: "enabled: Readonly";
614
- params: unknown;
615
- };
616
- "enabled: RelationshipDetails": {
617
- type: "enabled: RelationshipDetails";
618
- params: unknown;
619
- };
620
- "enabled: Search": {
621
- type: "enabled: Search";
622
- params: unknown;
623
- };
624
- "enabled: ElementDetails": {
625
- type: "enabled: ElementDetails";
626
- params: unknown;
627
- };
628
- "enabled: DynamicViewWalkthrough": {
629
- type: "enabled: DynamicViewWalkthrough";
630
- params: unknown;
631
- };
632
- "not readonly": {
633
- type: "not readonly";
634
- params: unknown;
635
- };
636
- "is dynamic view": {
637
- type: "is dynamic view";
638
- params: unknown;
639
- };
640
- "is another view": {
641
- type: "is another view";
642
- params: unknown;
643
- };
644
- "click: node has modelFqn": {
645
- type: "click: node has modelFqn";
646
- params: unknown;
647
- };
648
- "click: selected node": {
649
- type: "click: selected node";
650
- params: unknown;
651
- };
652
- "click: same node": {
653
- type: "click: same node";
654
- params: unknown;
655
- };
656
- "click: focused node": {
657
- type: "click: focused node";
658
- params: unknown;
659
- };
660
- "click: node has connections": {
661
- type: "click: node has connections";
662
- params: unknown;
663
- };
664
- "click: selected edge": {
665
- type: "click: selected edge";
666
- params: unknown;
667
- };
668
- }>, never, EmittedEvents> | ActionFunction<Context, {
669
- type: "layout.resetManualLayout";
670
- }, Events, undefined, never, never, never, never, EmittedEvents>)[];
671
- };
672
- 'xyflow.resized': {
673
- guard: ({ context }: GuardArgs<Context, {
674
- type: "xyflow.resized";
675
- }>) => boolean;
676
- actions: CancelAction<Context, Events, undefined, Events>[];
677
- };
678
- 'open.elementDetails': {
679
- guard: "enabled: ElementDetails";
680
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
681
- syncManualLayoutActorLogic: {
682
- src: "syncManualLayoutActorLogic";
683
- logic: SyncLayoutActorLogic;
684
- id: "syncLayout";
685
- };
686
- hotkeyActorLogic: {
687
- src: "hotkeyActorLogic";
688
- logic: HotkeyActorLogic;
689
- id: "hotkey";
690
- };
691
- overlaysActorLogic: {
692
- src: "overlaysActorLogic";
693
- logic: OverlaysActorLogic;
694
- id: "overlays";
695
- };
696
- searchActorLogic: {
697
- src: "searchActorLogic";
698
- logic: SearchActorLogic;
699
- id: "search";
700
- };
701
- }>, never, Values<{
702
- isReady: {
703
- type: "isReady";
704
- params: unknown;
705
- };
706
- "enabled: FitView": {
707
- type: "enabled: FitView";
708
- params: unknown;
709
- };
710
- "enabled: FocusMode": {
711
- type: "enabled: FocusMode";
712
- params: unknown;
713
- };
714
- "enabled: Readonly": {
715
- type: "enabled: Readonly";
716
- params: unknown;
717
- };
718
- "enabled: RelationshipDetails": {
719
- type: "enabled: RelationshipDetails";
720
- params: unknown;
721
- };
722
- "enabled: Search": {
723
- type: "enabled: Search";
724
- params: unknown;
725
- };
726
- "enabled: ElementDetails": {
727
- type: "enabled: ElementDetails";
728
- params: unknown;
729
- };
730
- "enabled: DynamicViewWalkthrough": {
731
- type: "enabled: DynamicViewWalkthrough";
732
- params: unknown;
733
- };
734
- "not readonly": {
735
- type: "not readonly";
736
- params: unknown;
737
- };
738
- "is dynamic view": {
739
- type: "is dynamic view";
740
- params: unknown;
741
- };
742
- "is another view": {
743
- type: "is another view";
744
- params: unknown;
745
- };
746
- "click: node has modelFqn": {
747
- type: "click: node has modelFqn";
748
- params: unknown;
749
- };
750
- "click: selected node": {
751
- type: "click: selected node";
752
- params: unknown;
753
- };
754
- "click: same node": {
755
- type: "click: same node";
756
- params: unknown;
757
- };
758
- "click: focused node": {
759
- type: "click: focused node";
760
- params: unknown;
761
- };
762
- "click: node has connections": {
763
- type: "click: node has connections";
764
- params: unknown;
765
- };
766
- "click: selected edge": {
767
- type: "click: selected edge";
768
- params: unknown;
769
- };
770
- }>, never, EmittedEvents>;
771
- };
772
- 'open.relationshipsBrowser': {
773
- actions: ActionFunction<Context, {
774
- type: "open.relationshipsBrowser";
775
- fqn: Fqn;
776
- }, Events, undefined, never, never, never, never, never>;
777
- };
778
- 'open.relationshipDetails': {
779
- actions: ActionFunction<Context, {
780
- type: "open.relationshipDetails";
781
- params: {
782
- edgeId: EdgeId;
783
- } | {
784
- source: Fqn;
785
- target: Fqn;
786
- };
787
- }, Events, undefined, never, never, never, never, never>;
788
- };
789
- 'open.source': {
790
- actions: ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents>;
791
- };
792
- 'walkthrough.start': {
793
- guard: "is dynamic view";
794
- target: string;
795
- };
796
- 'toggle.feature': {
797
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
798
- syncManualLayoutActorLogic: {
799
- src: "syncManualLayoutActorLogic";
800
- logic: SyncLayoutActorLogic;
801
- id: "syncLayout";
802
- };
803
- hotkeyActorLogic: {
804
- src: "hotkeyActorLogic";
805
- logic: HotkeyActorLogic;
806
- id: "hotkey";
807
- };
808
- overlaysActorLogic: {
809
- src: "overlaysActorLogic";
810
- logic: OverlaysActorLogic;
811
- id: "overlays";
812
- };
813
- searchActorLogic: {
814
- src: "searchActorLogic";
815
- logic: SearchActorLogic;
816
- id: "search";
817
- };
818
- }>, never, Values<{
819
- isReady: {
820
- type: "isReady";
821
- params: unknown;
822
- };
823
- "enabled: FitView": {
824
- type: "enabled: FitView";
825
- params: unknown;
826
- };
827
- "enabled: FocusMode": {
828
- type: "enabled: FocusMode";
829
- params: unknown;
830
- };
831
- "enabled: Readonly": {
832
- type: "enabled: Readonly";
833
- params: unknown;
834
- };
835
- "enabled: RelationshipDetails": {
836
- type: "enabled: RelationshipDetails";
837
- params: unknown;
838
- };
839
- "enabled: Search": {
840
- type: "enabled: Search";
841
- params: unknown;
842
- };
843
- "enabled: ElementDetails": {
844
- type: "enabled: ElementDetails";
845
- params: unknown;
846
- };
847
- "enabled: DynamicViewWalkthrough": {
848
- type: "enabled: DynamicViewWalkthrough";
849
- params: unknown;
850
- };
851
- "not readonly": {
852
- type: "not readonly";
853
- params: unknown;
854
- };
855
- "is dynamic view": {
856
- type: "is dynamic view";
857
- params: unknown;
858
- };
859
- "is another view": {
860
- type: "is another view";
861
- params: unknown;
862
- };
863
- "click: node has modelFqn": {
864
- type: "click: node has modelFqn";
865
- params: unknown;
866
- };
867
- "click: selected node": {
868
- type: "click: selected node";
869
- params: unknown;
870
- };
871
- "click: same node": {
872
- type: "click: same node";
873
- params: unknown;
874
- };
875
- "click: focused node": {
876
- type: "click: focused node";
877
- params: unknown;
878
- };
879
- "click: node has connections": {
880
- type: "click: node has connections";
881
- params: unknown;
882
- };
883
- "click: selected edge": {
884
- type: "click: selected edge";
885
- params: unknown;
886
- };
887
- }>, never, EmittedEvents>[];
888
- };
889
- 'xyflow.nodeMouseEnter': {
890
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
891
- syncManualLayoutActorLogic: {
892
- src: "syncManualLayoutActorLogic";
893
- logic: SyncLayoutActorLogic;
894
- id: "syncLayout";
895
- };
896
- hotkeyActorLogic: {
897
- src: "hotkeyActorLogic";
898
- logic: HotkeyActorLogic;
899
- id: "hotkey";
900
- };
901
- overlaysActorLogic: {
902
- src: "overlaysActorLogic";
903
- logic: OverlaysActorLogic;
904
- id: "overlays";
905
- };
906
- searchActorLogic: {
907
- src: "searchActorLogic";
908
- logic: SearchActorLogic;
909
- id: "search";
910
- };
911
- }>, never, never, never, never>;
912
- };
913
- 'xyflow.nodeMouseLeave': {
914
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
915
- syncManualLayoutActorLogic: {
916
- src: "syncManualLayoutActorLogic";
917
- logic: SyncLayoutActorLogic;
918
- id: "syncLayout";
919
- };
920
- hotkeyActorLogic: {
921
- src: "hotkeyActorLogic";
922
- logic: HotkeyActorLogic;
923
- id: "hotkey";
924
- };
925
- overlaysActorLogic: {
926
- src: "overlaysActorLogic";
927
- logic: OverlaysActorLogic;
928
- id: "overlays";
929
- };
930
- searchActorLogic: {
931
- src: "searchActorLogic";
932
- logic: SearchActorLogic;
933
- id: "search";
934
- };
935
- }>, never, never, never, never>;
936
- };
937
- 'xyflow.edgeMouseEnter': {
938
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
939
- syncManualLayoutActorLogic: {
940
- src: "syncManualLayoutActorLogic";
941
- logic: SyncLayoutActorLogic;
942
- id: "syncLayout";
943
- };
944
- hotkeyActorLogic: {
945
- src: "hotkeyActorLogic";
946
- logic: HotkeyActorLogic;
947
- id: "hotkey";
948
- };
949
- overlaysActorLogic: {
950
- src: "overlaysActorLogic";
951
- logic: OverlaysActorLogic;
952
- id: "overlays";
953
- };
954
- searchActorLogic: {
955
- src: "searchActorLogic";
956
- logic: SearchActorLogic;
957
- id: "search";
958
- };
959
- }>, never, Values<{
960
- isReady: {
961
- type: "isReady";
962
- params: unknown;
963
- };
964
- "enabled: FitView": {
965
- type: "enabled: FitView";
966
- params: unknown;
967
- };
968
- "enabled: FocusMode": {
969
- type: "enabled: FocusMode";
970
- params: unknown;
971
- };
972
- "enabled: Readonly": {
973
- type: "enabled: Readonly";
974
- params: unknown;
975
- };
976
- "enabled: RelationshipDetails": {
977
- type: "enabled: RelationshipDetails";
978
- params: unknown;
979
- };
980
- "enabled: Search": {
981
- type: "enabled: Search";
982
- params: unknown;
983
- };
984
- "enabled: ElementDetails": {
985
- type: "enabled: ElementDetails";
986
- params: unknown;
987
- };
988
- "enabled: DynamicViewWalkthrough": {
989
- type: "enabled: DynamicViewWalkthrough";
990
- params: unknown;
991
- };
992
- "not readonly": {
993
- type: "not readonly";
994
- params: unknown;
995
- };
996
- "is dynamic view": {
997
- type: "is dynamic view";
998
- params: unknown;
999
- };
1000
- "is another view": {
1001
- type: "is another view";
1002
- params: unknown;
1003
- };
1004
- "click: node has modelFqn": {
1005
- type: "click: node has modelFqn";
1006
- params: unknown;
1007
- };
1008
- "click: selected node": {
1009
- type: "click: selected node";
1010
- params: unknown;
1011
- };
1012
- "click: same node": {
1013
- type: "click: same node";
1014
- params: unknown;
1015
- };
1016
- "click: focused node": {
1017
- type: "click: focused node";
1018
- params: unknown;
1019
- };
1020
- "click: node has connections": {
1021
- type: "click: node has connections";
1022
- params: unknown;
1023
- };
1024
- "click: selected edge": {
1025
- type: "click: selected edge";
1026
- params: unknown;
1027
- };
1028
- }>, never, EmittedEvents>;
1029
- };
1030
- 'xyflow.edgeMouseLeave': {
1031
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1032
- syncManualLayoutActorLogic: {
1033
- src: "syncManualLayoutActorLogic";
1034
- logic: SyncLayoutActorLogic;
1035
- id: "syncLayout";
1036
- };
1037
- hotkeyActorLogic: {
1038
- src: "hotkeyActorLogic";
1039
- logic: HotkeyActorLogic;
1040
- id: "hotkey";
1041
- };
1042
- overlaysActorLogic: {
1043
- src: "overlaysActorLogic";
1044
- logic: OverlaysActorLogic;
1045
- id: "overlays";
1046
- };
1047
- searchActorLogic: {
1048
- src: "searchActorLogic";
1049
- logic: SearchActorLogic;
1050
- id: "search";
1051
- };
1052
- }>, never, Values<{
1053
- isReady: {
1054
- type: "isReady";
1055
- params: unknown;
1056
- };
1057
- "enabled: FitView": {
1058
- type: "enabled: FitView";
1059
- params: unknown;
1060
- };
1061
- "enabled: FocusMode": {
1062
- type: "enabled: FocusMode";
1063
- params: unknown;
1064
- };
1065
- "enabled: Readonly": {
1066
- type: "enabled: Readonly";
1067
- params: unknown;
1068
- };
1069
- "enabled: RelationshipDetails": {
1070
- type: "enabled: RelationshipDetails";
1071
- params: unknown;
1072
- };
1073
- "enabled: Search": {
1074
- type: "enabled: Search";
1075
- params: unknown;
1076
- };
1077
- "enabled: ElementDetails": {
1078
- type: "enabled: ElementDetails";
1079
- params: unknown;
1080
- };
1081
- "enabled: DynamicViewWalkthrough": {
1082
- type: "enabled: DynamicViewWalkthrough";
1083
- params: unknown;
1084
- };
1085
- "not readonly": {
1086
- type: "not readonly";
1087
- params: unknown;
1088
- };
1089
- "is dynamic view": {
1090
- type: "is dynamic view";
1091
- params: unknown;
1092
- };
1093
- "is another view": {
1094
- type: "is another view";
1095
- params: unknown;
1096
- };
1097
- "click: node has modelFqn": {
1098
- type: "click: node has modelFqn";
1099
- params: unknown;
1100
- };
1101
- "click: selected node": {
1102
- type: "click: selected node";
1103
- params: unknown;
1104
- };
1105
- "click: same node": {
1106
- type: "click: same node";
1107
- params: unknown;
1108
- };
1109
- "click: focused node": {
1110
- type: "click: focused node";
1111
- params: unknown;
1112
- };
1113
- "click: node has connections": {
1114
- type: "click: node has connections";
1115
- params: unknown;
1116
- };
1117
- "click: selected edge": {
1118
- type: "click: selected edge";
1119
- params: unknown;
1120
- };
1121
- }>, never, EmittedEvents>;
1122
- };
1123
- 'xyflow.edgeDoubleClick': {
1124
- guard: "not readonly";
1125
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1126
- syncManualLayoutActorLogic: {
1127
- src: "syncManualLayoutActorLogic";
1128
- logic: SyncLayoutActorLogic;
1129
- id: "syncLayout";
1130
- };
1131
- hotkeyActorLogic: {
1132
- src: "hotkeyActorLogic";
1133
- logic: HotkeyActorLogic;
1134
- id: "hotkey";
1135
- };
1136
- overlaysActorLogic: {
1137
- src: "overlaysActorLogic";
1138
- logic: OverlaysActorLogic;
1139
- id: "overlays";
1140
- };
1141
- searchActorLogic: {
1142
- src: "searchActorLogic";
1143
- logic: SearchActorLogic;
1144
- id: "search";
1145
- };
1146
- }>, never, never, never, never>;
1147
- };
1148
- 'notations.highlight': {
1149
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1150
- syncManualLayoutActorLogic: {
1151
- src: "syncManualLayoutActorLogic";
1152
- logic: SyncLayoutActorLogic;
1153
- id: "syncLayout";
1154
- };
1155
- hotkeyActorLogic: {
1156
- src: "hotkeyActorLogic";
1157
- logic: HotkeyActorLogic;
1158
- id: "hotkey";
1159
- };
1160
- overlaysActorLogic: {
1161
- src: "overlaysActorLogic";
1162
- logic: OverlaysActorLogic;
1163
- id: "overlays";
1164
- };
1165
- searchActorLogic: {
1166
- src: "searchActorLogic";
1167
- logic: SearchActorLogic;
1168
- id: "search";
1169
- };
1170
- }>, never, never, never, never>;
1171
- };
1172
- 'notations.unhighlight': {
1173
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1174
- syncManualLayoutActorLogic: {
1175
- src: "syncManualLayoutActorLogic";
1176
- logic: SyncLayoutActorLogic;
1177
- id: "syncLayout";
1178
- };
1179
- hotkeyActorLogic: {
1180
- src: "hotkeyActorLogic";
1181
- logic: HotkeyActorLogic;
1182
- id: "hotkey";
1183
- };
1184
- overlaysActorLogic: {
1185
- src: "overlaysActorLogic";
1186
- logic: OverlaysActorLogic;
1187
- id: "overlays";
1188
- };
1189
- searchActorLogic: {
1190
- src: "searchActorLogic";
1191
- logic: SearchActorLogic;
1192
- id: "search";
1193
- };
1194
- }>, never, never, never, never>;
1195
- };
1196
- 'tag.highlight': {
1197
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1198
- syncManualLayoutActorLogic: {
1199
- src: "syncManualLayoutActorLogic";
1200
- logic: SyncLayoutActorLogic;
1201
- id: "syncLayout";
1202
- };
1203
- hotkeyActorLogic: {
1204
- src: "hotkeyActorLogic";
1205
- logic: HotkeyActorLogic;
1206
- id: "hotkey";
1207
- };
1208
- overlaysActorLogic: {
1209
- src: "overlaysActorLogic";
1210
- logic: OverlaysActorLogic;
1211
- id: "overlays";
1212
- };
1213
- searchActorLogic: {
1214
- src: "searchActorLogic";
1215
- logic: SearchActorLogic;
1216
- id: "search";
1217
- };
1218
- }>, never, never, never, never>;
1219
- };
1220
- 'tag.unhighlight': {
1221
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1222
- syncManualLayoutActorLogic: {
1223
- src: "syncManualLayoutActorLogic";
1224
- logic: SyncLayoutActorLogic;
1225
- id: "syncLayout";
1226
- };
1227
- hotkeyActorLogic: {
1228
- src: "hotkeyActorLogic";
1229
- logic: HotkeyActorLogic;
1230
- id: "hotkey";
1231
- };
1232
- overlaysActorLogic: {
1233
- src: "overlaysActorLogic";
1234
- logic: OverlaysActorLogic;
1235
- id: "overlays";
1236
- };
1237
- searchActorLogic: {
1238
- src: "searchActorLogic";
1239
- logic: SearchActorLogic;
1240
- id: "search";
1241
- };
1242
- }>, never, never, never, never>;
1243
- };
1244
- 'open.search': {
1245
- guard: "enabled: Search";
1246
- actions: ActionFunction<Context, {
1247
- type: "open.search";
1248
- search?: string;
1249
- }, Events, undefined, never, never, never, never, never>;
1250
- };
1251
- };
1252
- exit: CancelAction<Context, Events, undefined, Events>[];
1253
- states: {
1254
- idle: {
1255
- id: string;
1256
- on: {
1257
- 'xyflow.nodeClick': ({
1258
- guard: GuardPredicate<Context, {
1259
- type: "xyflow.nodeClick";
1260
- node: import("../types").Types.Node;
1261
- }, unknown, NormalizeGuardArgArray<["enabled: FocusMode", "click: node has connections", GuardPredicate<Context, {
1262
- type: "xyflow.nodeClick";
1263
- node: import("../types").Types.Node;
1264
- }, unknown, NormalizeGuardArgArray<["click: same node", "click: selected node"]>>]>>;
1265
- actions: ( ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents> | ActionFunction<Context, Events, Events, undefined, Values<{
1266
- syncManualLayoutActorLogic: {
1267
- src: "syncManualLayoutActorLogic";
1268
- logic: SyncLayoutActorLogic;
1269
- id: "syncLayout";
1270
- };
1271
- hotkeyActorLogic: {
1272
- src: "hotkeyActorLogic";
1273
- logic: HotkeyActorLogic;
1274
- id: "hotkey";
1275
- };
1276
- overlaysActorLogic: {
1277
- src: "overlaysActorLogic";
1278
- logic: OverlaysActorLogic;
1279
- id: "overlays";
1280
- };
1281
- searchActorLogic: {
1282
- src: "searchActorLogic";
1283
- logic: SearchActorLogic;
1284
- id: "search";
1285
- };
1286
- }>, never, never, never, never>)[];
1287
- target: string;
1288
- } | {
1289
- guard: GuardPredicate<Context, {
1290
- type: "xyflow.nodeClick";
1291
- node: import("../types").Types.Node;
1292
- }, unknown, NormalizeGuardArgArray<["enabled: Readonly", "enabled: ElementDetails", "click: node has modelFqn", GuardPredicate<Context, {
1293
- type: "xyflow.nodeClick";
1294
- node: import("../types").Types.Node;
1295
- }, unknown, NormalizeGuardArgArray<["click: same node", "click: selected node"]>>]>>;
1296
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1297
- syncManualLayoutActorLogic: {
1298
- src: "syncManualLayoutActorLogic";
1299
- logic: SyncLayoutActorLogic;
1300
- id: "syncLayout";
1301
- };
1302
- hotkeyActorLogic: {
1303
- src: "hotkeyActorLogic";
1304
- logic: HotkeyActorLogic;
1305
- id: "hotkey";
1306
- };
1307
- overlaysActorLogic: {
1308
- src: "overlaysActorLogic";
1309
- logic: OverlaysActorLogic;
1310
- id: "overlays";
1311
- };
1312
- searchActorLogic: {
1313
- src: "searchActorLogic";
1314
- logic: SearchActorLogic;
1315
- id: "search";
1316
- };
1317
- }>, never, Values<{
1318
- isReady: {
1319
- type: "isReady";
1320
- params: unknown;
1321
- };
1322
- "enabled: FitView": {
1323
- type: "enabled: FitView";
1324
- params: unknown;
1325
- };
1326
- "enabled: FocusMode": {
1327
- type: "enabled: FocusMode";
1328
- params: unknown;
1329
- };
1330
- "enabled: Readonly": {
1331
- type: "enabled: Readonly";
1332
- params: unknown;
1333
- };
1334
- "enabled: RelationshipDetails": {
1335
- type: "enabled: RelationshipDetails";
1336
- params: unknown;
1337
- };
1338
- "enabled: Search": {
1339
- type: "enabled: Search";
1340
- params: unknown;
1341
- };
1342
- "enabled: ElementDetails": {
1343
- type: "enabled: ElementDetails";
1344
- params: unknown;
1345
- };
1346
- "enabled: DynamicViewWalkthrough": {
1347
- type: "enabled: DynamicViewWalkthrough";
1348
- params: unknown;
1349
- };
1350
- "not readonly": {
1351
- type: "not readonly";
1352
- params: unknown;
1353
- };
1354
- "is dynamic view": {
1355
- type: "is dynamic view";
1356
- params: unknown;
1357
- };
1358
- "is another view": {
1359
- type: "is another view";
1360
- params: unknown;
1361
- };
1362
- "click: node has modelFqn": {
1363
- type: "click: node has modelFqn";
1364
- params: unknown;
1365
- };
1366
- "click: selected node": {
1367
- type: "click: selected node";
1368
- params: unknown;
1369
- };
1370
- "click: same node": {
1371
- type: "click: same node";
1372
- params: unknown;
1373
- };
1374
- "click: focused node": {
1375
- type: "click: focused node";
1376
- params: unknown;
1377
- };
1378
- "click: node has connections": {
1379
- type: "click: node has connections";
1380
- params: unknown;
1381
- };
1382
- "click: selected edge": {
1383
- type: "click: selected edge";
1384
- params: unknown;
1385
- };
1386
- }>, never, EmittedEvents>[];
1387
- target?: never;
1388
- } | {
1389
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1390
- syncManualLayoutActorLogic: {
1391
- src: "syncManualLayoutActorLogic";
1392
- logic: SyncLayoutActorLogic;
1393
- id: "syncLayout";
1394
- };
1395
- hotkeyActorLogic: {
1396
- src: "hotkeyActorLogic";
1397
- logic: HotkeyActorLogic;
1398
- id: "hotkey";
1399
- };
1400
- overlaysActorLogic: {
1401
- src: "overlaysActorLogic";
1402
- logic: OverlaysActorLogic;
1403
- id: "overlays";
1404
- };
1405
- searchActorLogic: {
1406
- src: "searchActorLogic";
1407
- logic: SearchActorLogic;
1408
- id: "search";
1409
- };
1410
- }>, never, Values<{
1411
- isReady: {
1412
- type: "isReady";
1413
- params: unknown;
1414
- };
1415
- "enabled: FitView": {
1416
- type: "enabled: FitView";
1417
- params: unknown;
1418
- };
1419
- "enabled: FocusMode": {
1420
- type: "enabled: FocusMode";
1421
- params: unknown;
1422
- };
1423
- "enabled: Readonly": {
1424
- type: "enabled: Readonly";
1425
- params: unknown;
1426
- };
1427
- "enabled: RelationshipDetails": {
1428
- type: "enabled: RelationshipDetails";
1429
- params: unknown;
1430
- };
1431
- "enabled: Search": {
1432
- type: "enabled: Search";
1433
- params: unknown;
1434
- };
1435
- "enabled: ElementDetails": {
1436
- type: "enabled: ElementDetails";
1437
- params: unknown;
1438
- };
1439
- "enabled: DynamicViewWalkthrough": {
1440
- type: "enabled: DynamicViewWalkthrough";
1441
- params: unknown;
1442
- };
1443
- "not readonly": {
1444
- type: "not readonly";
1445
- params: unknown;
1446
- };
1447
- "is dynamic view": {
1448
- type: "is dynamic view";
1449
- params: unknown;
1450
- };
1451
- "is another view": {
1452
- type: "is another view";
1453
- params: unknown;
1454
- };
1455
- "click: node has modelFqn": {
1456
- type: "click: node has modelFqn";
1457
- params: unknown;
1458
- };
1459
- "click: selected node": {
1460
- type: "click: selected node";
1461
- params: unknown;
1462
- };
1463
- "click: same node": {
1464
- type: "click: same node";
1465
- params: unknown;
1466
- };
1467
- "click: focused node": {
1468
- type: "click: focused node";
1469
- params: unknown;
1470
- };
1471
- "click: node has connections": {
1472
- type: "click: node has connections";
1473
- params: unknown;
1474
- };
1475
- "click: selected edge": {
1476
- type: "click: selected edge";
1477
- params: unknown;
1478
- };
1479
- }>, never, EmittedEvents>[];
1480
- guard?: never;
1481
- target?: never;
1482
- })[];
1483
- 'xyflow.paneClick': {
1484
- actions: ( ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents> | ActionFunction<Context, Events, Events, undefined, Values<{
1485
- syncManualLayoutActorLogic: {
1486
- src: "syncManualLayoutActorLogic";
1487
- logic: SyncLayoutActorLogic;
1488
- id: "syncLayout";
1489
- };
1490
- hotkeyActorLogic: {
1491
- src: "hotkeyActorLogic";
1492
- logic: HotkeyActorLogic;
1493
- id: "hotkey";
1494
- };
1495
- overlaysActorLogic: {
1496
- src: "overlaysActorLogic";
1497
- logic: OverlaysActorLogic;
1498
- id: "overlays";
1499
- };
1500
- searchActorLogic: {
1501
- src: "searchActorLogic";
1502
- logic: SearchActorLogic;
1503
- id: "search";
1504
- };
1505
- }>, never, never, never, never>)[];
1506
- };
1507
- 'xyflow.paneDblClick': {
1508
- actions: ActionFunction<Context, {
1509
- type: "xyflow.paneDblClick";
1510
- }, Events, undefined, Values<{
1511
- syncManualLayoutActorLogic: {
1512
- src: "syncManualLayoutActorLogic";
1513
- logic: SyncLayoutActorLogic;
1514
- id: "syncLayout";
1515
- };
1516
- hotkeyActorLogic: {
1517
- src: "hotkeyActorLogic";
1518
- logic: HotkeyActorLogic;
1519
- id: "hotkey";
1520
- };
1521
- overlaysActorLogic: {
1522
- src: "overlaysActorLogic";
1523
- logic: OverlaysActorLogic;
1524
- id: "overlays";
1525
- };
1526
- searchActorLogic: {
1527
- src: "searchActorLogic";
1528
- logic: SearchActorLogic;
1529
- id: "search";
1530
- };
1531
- }>, never, Values<{
1532
- isReady: {
1533
- type: "isReady";
1534
- params: unknown;
1535
- };
1536
- "enabled: FitView": {
1537
- type: "enabled: FitView";
1538
- params: unknown;
1539
- };
1540
- "enabled: FocusMode": {
1541
- type: "enabled: FocusMode";
1542
- params: unknown;
1543
- };
1544
- "enabled: Readonly": {
1545
- type: "enabled: Readonly";
1546
- params: unknown;
1547
- };
1548
- "enabled: RelationshipDetails": {
1549
- type: "enabled: RelationshipDetails";
1550
- params: unknown;
1551
- };
1552
- "enabled: Search": {
1553
- type: "enabled: Search";
1554
- params: unknown;
1555
- };
1556
- "enabled: ElementDetails": {
1557
- type: "enabled: ElementDetails";
1558
- params: unknown;
1559
- };
1560
- "enabled: DynamicViewWalkthrough": {
1561
- type: "enabled: DynamicViewWalkthrough";
1562
- params: unknown;
1563
- };
1564
- "not readonly": {
1565
- type: "not readonly";
1566
- params: unknown;
1567
- };
1568
- "is dynamic view": {
1569
- type: "is dynamic view";
1570
- params: unknown;
1571
- };
1572
- "is another view": {
1573
- type: "is another view";
1574
- params: unknown;
1575
- };
1576
- "click: node has modelFqn": {
1577
- type: "click: node has modelFqn";
1578
- params: unknown;
1579
- };
1580
- "click: selected node": {
1581
- type: "click: selected node";
1582
- params: unknown;
1583
- };
1584
- "click: same node": {
1585
- type: "click: same node";
1586
- params: unknown;
1587
- };
1588
- "click: focused node": {
1589
- type: "click: focused node";
1590
- params: unknown;
1591
- };
1592
- "click: node has connections": {
1593
- type: "click: node has connections";
1594
- params: unknown;
1595
- };
1596
- "click: selected edge": {
1597
- type: "click: selected edge";
1598
- params: unknown;
1599
- };
1600
- }>, never, EmittedEvents>[];
1601
- };
1602
- 'focus.node': {
1603
- guard: "enabled: FocusMode";
1604
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1605
- syncManualLayoutActorLogic: {
1606
- src: "syncManualLayoutActorLogic";
1607
- logic: SyncLayoutActorLogic;
1608
- id: "syncLayout";
1609
- };
1610
- hotkeyActorLogic: {
1611
- src: "hotkeyActorLogic";
1612
- logic: HotkeyActorLogic;
1613
- id: "hotkey";
1614
- };
1615
- overlaysActorLogic: {
1616
- src: "overlaysActorLogic";
1617
- logic: OverlaysActorLogic;
1618
- id: "overlays";
1619
- };
1620
- searchActorLogic: {
1621
- src: "searchActorLogic";
1622
- logic: SearchActorLogic;
1623
- id: "search";
1624
- };
1625
- }>, never, never, never, never>;
1626
- target: string;
1627
- };
1628
- 'xyflow.edgeClick': {
1629
- guard: GuardPredicate<Context, {
1630
- type: "xyflow.edgeClick";
1631
- edge: import("../types").Types.Edge;
1632
- }, unknown, NormalizeGuardArgArray<["enabled: Readonly", "is dynamic view", "enabled: DynamicViewWalkthrough", "click: selected edge"]>>;
1633
- actions: ( ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents> | ActionFunction<Context, {
1634
- type: "xyflow.edgeClick";
1635
- edge: import("../types").Types.Edge;
1636
- }, Events, undefined, never, never, never, never, never>)[];
1637
- };
1638
- };
1639
- };
1640
- focused: {
1641
- entry: ActionFunction<Context, Events, Events, undefined, Values<{
1642
- syncManualLayoutActorLogic: {
1643
- src: "syncManualLayoutActorLogic";
1644
- logic: SyncLayoutActorLogic;
1645
- id: "syncLayout";
1646
- };
1647
- hotkeyActorLogic: {
1648
- src: "hotkeyActorLogic";
1649
- logic: HotkeyActorLogic;
1650
- id: "hotkey";
1651
- };
1652
- overlaysActorLogic: {
1653
- src: "overlaysActorLogic";
1654
- logic: OverlaysActorLogic;
1655
- id: "overlays";
1656
- };
1657
- searchActorLogic: {
1658
- src: "searchActorLogic";
1659
- logic: SearchActorLogic;
1660
- id: "search";
1661
- };
1662
- }>, never, Values<{
1663
- isReady: {
1664
- type: "isReady";
1665
- params: unknown;
1666
- };
1667
- "enabled: FitView": {
1668
- type: "enabled: FitView";
1669
- params: unknown;
1670
- };
1671
- "enabled: FocusMode": {
1672
- type: "enabled: FocusMode";
1673
- params: unknown;
1674
- };
1675
- "enabled: Readonly": {
1676
- type: "enabled: Readonly";
1677
- params: unknown;
1678
- };
1679
- "enabled: RelationshipDetails": {
1680
- type: "enabled: RelationshipDetails";
1681
- params: unknown;
1682
- };
1683
- "enabled: Search": {
1684
- type: "enabled: Search";
1685
- params: unknown;
1686
- };
1687
- "enabled: ElementDetails": {
1688
- type: "enabled: ElementDetails";
1689
- params: unknown;
1690
- };
1691
- "enabled: DynamicViewWalkthrough": {
1692
- type: "enabled: DynamicViewWalkthrough";
1693
- params: unknown;
1694
- };
1695
- "not readonly": {
1696
- type: "not readonly";
1697
- params: unknown;
1698
- };
1699
- "is dynamic view": {
1700
- type: "is dynamic view";
1701
- params: unknown;
1702
- };
1703
- "is another view": {
1704
- type: "is another view";
1705
- params: unknown;
1706
- };
1707
- "click: node has modelFqn": {
1708
- type: "click: node has modelFqn";
1709
- params: unknown;
1710
- };
1711
- "click: selected node": {
1712
- type: "click: selected node";
1713
- params: unknown;
1714
- };
1715
- "click: same node": {
1716
- type: "click: same node";
1717
- params: unknown;
1718
- };
1719
- "click: focused node": {
1720
- type: "click: focused node";
1721
- params: unknown;
1722
- };
1723
- "click: node has connections": {
1724
- type: "click: node has connections";
1725
- params: unknown;
1726
- };
1727
- "click: selected edge": {
1728
- type: "click: selected edge";
1729
- params: unknown;
1730
- };
1731
- }>, never, EmittedEvents>[];
1732
- exit: ActionFunction<Context, Events, Events, undefined, Values<{
1733
- syncManualLayoutActorLogic: {
1734
- src: "syncManualLayoutActorLogic";
1735
- logic: SyncLayoutActorLogic;
1736
- id: "syncLayout";
1737
- };
1738
- hotkeyActorLogic: {
1739
- src: "hotkeyActorLogic";
1740
- logic: HotkeyActorLogic;
1741
- id: "hotkey";
1742
- };
1743
- overlaysActorLogic: {
1744
- src: "overlaysActorLogic";
1745
- logic: OverlaysActorLogic;
1746
- id: "overlays";
1747
- };
1748
- searchActorLogic: {
1749
- src: "searchActorLogic";
1750
- logic: SearchActorLogic;
1751
- id: "search";
1752
- };
1753
- }>, never, Values<{
1754
- isReady: {
1755
- type: "isReady";
1756
- params: unknown;
1757
- };
1758
- "enabled: FitView": {
1759
- type: "enabled: FitView";
1760
- params: unknown;
1761
- };
1762
- "enabled: FocusMode": {
1763
- type: "enabled: FocusMode";
1764
- params: unknown;
1765
- };
1766
- "enabled: Readonly": {
1767
- type: "enabled: Readonly";
1768
- params: unknown;
1769
- };
1770
- "enabled: RelationshipDetails": {
1771
- type: "enabled: RelationshipDetails";
1772
- params: unknown;
1773
- };
1774
- "enabled: Search": {
1775
- type: "enabled: Search";
1776
- params: unknown;
1777
- };
1778
- "enabled: ElementDetails": {
1779
- type: "enabled: ElementDetails";
1780
- params: unknown;
1781
- };
1782
- "enabled: DynamicViewWalkthrough": {
1783
- type: "enabled: DynamicViewWalkthrough";
1784
- params: unknown;
1785
- };
1786
- "not readonly": {
1787
- type: "not readonly";
1788
- params: unknown;
1789
- };
1790
- "is dynamic view": {
1791
- type: "is dynamic view";
1792
- params: unknown;
1793
- };
1794
- "is another view": {
1795
- type: "is another view";
1796
- params: unknown;
1797
- };
1798
- "click: node has modelFqn": {
1799
- type: "click: node has modelFqn";
1800
- params: unknown;
1801
- };
1802
- "click: selected node": {
1803
- type: "click: selected node";
1804
- params: unknown;
1805
- };
1806
- "click: same node": {
1807
- type: "click: same node";
1808
- params: unknown;
1809
- };
1810
- "click: focused node": {
1811
- type: "click: focused node";
1812
- params: unknown;
1813
- };
1814
- "click: node has connections": {
1815
- type: "click: node has connections";
1816
- params: unknown;
1817
- };
1818
- "click: selected edge": {
1819
- type: "click: selected edge";
1820
- params: unknown;
1821
- };
1822
- }>, never, EmittedEvents>;
1823
- on: {
1824
- 'xyflow.nodeClick': ({
1825
- guard: GuardPredicate<Context, {
1826
- type: "xyflow.nodeClick";
1827
- node: import("../types").Types.Node;
1828
- }, unknown, NormalizeGuardArgArray<["click: focused node", "click: node has modelFqn"]>>;
1829
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1830
- syncManualLayoutActorLogic: {
1831
- src: "syncManualLayoutActorLogic";
1832
- logic: SyncLayoutActorLogic;
1833
- id: "syncLayout";
1834
- };
1835
- hotkeyActorLogic: {
1836
- src: "hotkeyActorLogic";
1837
- logic: HotkeyActorLogic;
1838
- id: "hotkey";
1839
- };
1840
- overlaysActorLogic: {
1841
- src: "overlaysActorLogic";
1842
- logic: OverlaysActorLogic;
1843
- id: "overlays";
1844
- };
1845
- searchActorLogic: {
1846
- src: "searchActorLogic";
1847
- logic: SearchActorLogic;
1848
- id: "search";
1849
- };
1850
- }>, never, Values<{
1851
- isReady: {
1852
- type: "isReady";
1853
- params: unknown;
1854
- };
1855
- "enabled: FitView": {
1856
- type: "enabled: FitView";
1857
- params: unknown;
1858
- };
1859
- "enabled: FocusMode": {
1860
- type: "enabled: FocusMode";
1861
- params: unknown;
1862
- };
1863
- "enabled: Readonly": {
1864
- type: "enabled: Readonly";
1865
- params: unknown;
1866
- };
1867
- "enabled: RelationshipDetails": {
1868
- type: "enabled: RelationshipDetails";
1869
- params: unknown;
1870
- };
1871
- "enabled: Search": {
1872
- type: "enabled: Search";
1873
- params: unknown;
1874
- };
1875
- "enabled: ElementDetails": {
1876
- type: "enabled: ElementDetails";
1877
- params: unknown;
1878
- };
1879
- "enabled: DynamicViewWalkthrough": {
1880
- type: "enabled: DynamicViewWalkthrough";
1881
- params: unknown;
1882
- };
1883
- "not readonly": {
1884
- type: "not readonly";
1885
- params: unknown;
1886
- };
1887
- "is dynamic view": {
1888
- type: "is dynamic view";
1889
- params: unknown;
1890
- };
1891
- "is another view": {
1892
- type: "is another view";
1893
- params: unknown;
1894
- };
1895
- "click: node has modelFqn": {
1896
- type: "click: node has modelFqn";
1897
- params: unknown;
1898
- };
1899
- "click: selected node": {
1900
- type: "click: selected node";
1901
- params: unknown;
1902
- };
1903
- "click: same node": {
1904
- type: "click: same node";
1905
- params: unknown;
1906
- };
1907
- "click: focused node": {
1908
- type: "click: focused node";
1909
- params: unknown;
1910
- };
1911
- "click: node has connections": {
1912
- type: "click: node has connections";
1913
- params: unknown;
1914
- };
1915
- "click: selected edge": {
1916
- type: "click: selected edge";
1917
- params: unknown;
1918
- };
1919
- }>, never, EmittedEvents>[];
1920
- target?: never;
1921
- } | {
1922
- guard: "click: focused node";
1923
- actions: ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents>;
1924
- target: string;
1925
- } | {
1926
- actions: ( ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents> | ActionFunction<Context, Events, Events, undefined, Values<{
1927
- syncManualLayoutActorLogic: {
1928
- src: "syncManualLayoutActorLogic";
1929
- logic: SyncLayoutActorLogic;
1930
- id: "syncLayout";
1931
- };
1932
- hotkeyActorLogic: {
1933
- src: "hotkeyActorLogic";
1934
- logic: HotkeyActorLogic;
1935
- id: "hotkey";
1936
- };
1937
- overlaysActorLogic: {
1938
- src: "overlaysActorLogic";
1939
- logic: OverlaysActorLogic;
1940
- id: "overlays";
1941
- };
1942
- searchActorLogic: {
1943
- src: "searchActorLogic";
1944
- logic: SearchActorLogic;
1945
- id: "search";
1946
- };
1947
- }>, never, never, never, never> | ActionFunction<Context, {
1948
- type: "xyflow.nodeClick";
1949
- node: import("../types").Types.Node;
1950
- }, Events, undefined, never, never, never, never, never>)[];
1951
- guard?: never;
1952
- target?: never;
1953
- })[];
1954
- 'focus.node': {
1955
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
1956
- syncManualLayoutActorLogic: {
1957
- src: "syncManualLayoutActorLogic";
1958
- logic: SyncLayoutActorLogic;
1959
- id: "syncLayout";
1960
- };
1961
- hotkeyActorLogic: {
1962
- src: "hotkeyActorLogic";
1963
- logic: HotkeyActorLogic;
1964
- id: "hotkey";
1965
- };
1966
- overlaysActorLogic: {
1967
- src: "overlaysActorLogic";
1968
- logic: OverlaysActorLogic;
1969
- id: "overlays";
1970
- };
1971
- searchActorLogic: {
1972
- src: "searchActorLogic";
1973
- logic: SearchActorLogic;
1974
- id: "search";
1975
- };
1976
- }>, never, Values<{
1977
- isReady: {
1978
- type: "isReady";
1979
- params: unknown;
1980
- };
1981
- "enabled: FitView": {
1982
- type: "enabled: FitView";
1983
- params: unknown;
1984
- };
1985
- "enabled: FocusMode": {
1986
- type: "enabled: FocusMode";
1987
- params: unknown;
1988
- };
1989
- "enabled: Readonly": {
1990
- type: "enabled: Readonly";
1991
- params: unknown;
1992
- };
1993
- "enabled: RelationshipDetails": {
1994
- type: "enabled: RelationshipDetails";
1995
- params: unknown;
1996
- };
1997
- "enabled: Search": {
1998
- type: "enabled: Search";
1999
- params: unknown;
2000
- };
2001
- "enabled: ElementDetails": {
2002
- type: "enabled: ElementDetails";
2003
- params: unknown;
2004
- };
2005
- "enabled: DynamicViewWalkthrough": {
2006
- type: "enabled: DynamicViewWalkthrough";
2007
- params: unknown;
2008
- };
2009
- "not readonly": {
2010
- type: "not readonly";
2011
- params: unknown;
2012
- };
2013
- "is dynamic view": {
2014
- type: "is dynamic view";
2015
- params: unknown;
2016
- };
2017
- "is another view": {
2018
- type: "is another view";
2019
- params: unknown;
2020
- };
2021
- "click: node has modelFqn": {
2022
- type: "click: node has modelFqn";
2023
- params: unknown;
2024
- };
2025
- "click: selected node": {
2026
- type: "click: selected node";
2027
- params: unknown;
2028
- };
2029
- "click: same node": {
2030
- type: "click: same node";
2031
- params: unknown;
2032
- };
2033
- "click: focused node": {
2034
- type: "click: focused node";
2035
- params: unknown;
2036
- };
2037
- "click: node has connections": {
2038
- type: "click: node has connections";
2039
- params: unknown;
2040
- };
2041
- "click: selected edge": {
2042
- type: "click: selected edge";
2043
- params: unknown;
2044
- };
2045
- }>, never, EmittedEvents>[];
2046
- };
2047
- 'key.esc': {
2048
- target: string;
2049
- };
2050
- 'xyflow.paneClick': {
2051
- actions: ( ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents> | ActionFunction<Context, Events, Events, undefined, Values<{
2052
- syncManualLayoutActorLogic: {
2053
- src: "syncManualLayoutActorLogic";
2054
- logic: SyncLayoutActorLogic;
2055
- id: "syncLayout";
2056
- };
2057
- hotkeyActorLogic: {
2058
- src: "hotkeyActorLogic";
2059
- logic: HotkeyActorLogic;
2060
- id: "hotkey";
2061
- };
2062
- overlaysActorLogic: {
2063
- src: "overlaysActorLogic";
2064
- logic: OverlaysActorLogic;
2065
- id: "overlays";
2066
- };
2067
- searchActorLogic: {
2068
- src: "searchActorLogic";
2069
- logic: SearchActorLogic;
2070
- id: "search";
2071
- };
2072
- }>, never, never, never, never>)[];
2073
- target: string;
2074
- };
2075
- 'notations.unhighlight': {
2076
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
2077
- syncManualLayoutActorLogic: {
2078
- src: "syncManualLayoutActorLogic";
2079
- logic: SyncLayoutActorLogic;
2080
- id: "syncLayout";
2081
- };
2082
- hotkeyActorLogic: {
2083
- src: "hotkeyActorLogic";
2084
- logic: HotkeyActorLogic;
2085
- id: "hotkey";
2086
- };
2087
- overlaysActorLogic: {
2088
- src: "overlaysActorLogic";
2089
- logic: OverlaysActorLogic;
2090
- id: "overlays";
2091
- };
2092
- searchActorLogic: {
2093
- src: "searchActorLogic";
2094
- logic: SearchActorLogic;
2095
- id: "search";
2096
- };
2097
- }>, never, never, never, never>;
2098
- };
2099
- 'tag.unhighlight': {
2100
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
2101
- syncManualLayoutActorLogic: {
2102
- src: "syncManualLayoutActorLogic";
2103
- logic: SyncLayoutActorLogic;
2104
- id: "syncLayout";
2105
- };
2106
- hotkeyActorLogic: {
2107
- src: "hotkeyActorLogic";
2108
- logic: HotkeyActorLogic;
2109
- id: "hotkey";
2110
- };
2111
- overlaysActorLogic: {
2112
- src: "overlaysActorLogic";
2113
- logic: OverlaysActorLogic;
2114
- id: "overlays";
2115
- };
2116
- searchActorLogic: {
2117
- src: "searchActorLogic";
2118
- logic: SearchActorLogic;
2119
- id: "search";
2120
- };
2121
- }>, never, never, never, never>;
2122
- };
2123
- };
2124
- };
2125
- walkthrough: {
2126
- entry: ( ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents> | ActionFunction<Context, Events, Events, unknown, Values<{
2127
- syncManualLayoutActorLogic: {
2128
- src: "syncManualLayoutActorLogic";
2129
- logic: SyncLayoutActorLogic;
2130
- id: "syncLayout";
2131
- };
2132
- hotkeyActorLogic: {
2133
- src: "hotkeyActorLogic";
2134
- logic: HotkeyActorLogic;
2135
- id: "hotkey";
2136
- };
2137
- overlaysActorLogic: {
2138
- src: "overlaysActorLogic";
2139
- logic: OverlaysActorLogic;
2140
- id: "overlays";
2141
- };
2142
- searchActorLogic: {
2143
- src: "searchActorLogic";
2144
- logic: SearchActorLogic;
2145
- id: "search";
2146
- };
2147
- }>, never, Values<{
2148
- isReady: {
2149
- type: "isReady";
2150
- params: unknown;
2151
- };
2152
- "enabled: FitView": {
2153
- type: "enabled: FitView";
2154
- params: unknown;
2155
- };
2156
- "enabled: FocusMode": {
2157
- type: "enabled: FocusMode";
2158
- params: unknown;
2159
- };
2160
- "enabled: Readonly": {
2161
- type: "enabled: Readonly";
2162
- params: unknown;
2163
- };
2164
- "enabled: RelationshipDetails": {
2165
- type: "enabled: RelationshipDetails";
2166
- params: unknown;
2167
- };
2168
- "enabled: Search": {
2169
- type: "enabled: Search";
2170
- params: unknown;
2171
- };
2172
- "enabled: ElementDetails": {
2173
- type: "enabled: ElementDetails";
2174
- params: unknown;
2175
- };
2176
- "enabled: DynamicViewWalkthrough": {
2177
- type: "enabled: DynamicViewWalkthrough";
2178
- params: unknown;
2179
- };
2180
- "not readonly": {
2181
- type: "not readonly";
2182
- params: unknown;
2183
- };
2184
- "is dynamic view": {
2185
- type: "is dynamic view";
2186
- params: unknown;
2187
- };
2188
- "is another view": {
2189
- type: "is another view";
2190
- params: unknown;
2191
- };
2192
- "click: node has modelFqn": {
2193
- type: "click: node has modelFqn";
2194
- params: unknown;
2195
- };
2196
- "click: selected node": {
2197
- type: "click: selected node";
2198
- params: unknown;
2199
- };
2200
- "click: same node": {
2201
- type: "click: same node";
2202
- params: unknown;
2203
- };
2204
- "click: focused node": {
2205
- type: "click: focused node";
2206
- params: unknown;
2207
- };
2208
- "click: node has connections": {
2209
- type: "click: node has connections";
2210
- params: unknown;
2211
- };
2212
- "click: selected edge": {
2213
- type: "click: selected edge";
2214
- params: unknown;
2215
- };
2216
- }>, never, EmittedEvents> | ActionFunction<Context, Events, Events, undefined, Values<{
2217
- syncManualLayoutActorLogic: {
2218
- src: "syncManualLayoutActorLogic";
2219
- logic: SyncLayoutActorLogic;
2220
- id: "syncLayout";
2221
- };
2222
- hotkeyActorLogic: {
2223
- src: "hotkeyActorLogic";
2224
- logic: HotkeyActorLogic;
2225
- id: "hotkey";
2226
- };
2227
- overlaysActorLogic: {
2228
- src: "overlaysActorLogic";
2229
- logic: OverlaysActorLogic;
2230
- id: "overlays";
2231
- };
2232
- searchActorLogic: {
2233
- src: "searchActorLogic";
2234
- logic: SearchActorLogic;
2235
- id: "search";
2236
- };
2237
- }>, never, never, never, never>)[];
2238
- exit: ActionFunction<Context, Events, Events, undefined, Values<{
2239
- syncManualLayoutActorLogic: {
2240
- src: "syncManualLayoutActorLogic";
2241
- logic: SyncLayoutActorLogic;
2242
- id: "syncLayout";
2243
- };
2244
- hotkeyActorLogic: {
2245
- src: "hotkeyActorLogic";
2246
- logic: HotkeyActorLogic;
2247
- id: "hotkey";
2248
- };
2249
- overlaysActorLogic: {
2250
- src: "overlaysActorLogic";
2251
- logic: OverlaysActorLogic;
2252
- id: "overlays";
2253
- };
2254
- searchActorLogic: {
2255
- src: "searchActorLogic";
2256
- logic: SearchActorLogic;
2257
- id: "search";
2258
- };
2259
- }>, never, Values<{
2260
- isReady: {
2261
- type: "isReady";
2262
- params: unknown;
2263
- };
2264
- "enabled: FitView": {
2265
- type: "enabled: FitView";
2266
- params: unknown;
2267
- };
2268
- "enabled: FocusMode": {
2269
- type: "enabled: FocusMode";
2270
- params: unknown;
2271
- };
2272
- "enabled: Readonly": {
2273
- type: "enabled: Readonly";
2274
- params: unknown;
2275
- };
2276
- "enabled: RelationshipDetails": {
2277
- type: "enabled: RelationshipDetails";
2278
- params: unknown;
2279
- };
2280
- "enabled: Search": {
2281
- type: "enabled: Search";
2282
- params: unknown;
2283
- };
2284
- "enabled: ElementDetails": {
2285
- type: "enabled: ElementDetails";
2286
- params: unknown;
2287
- };
2288
- "enabled: DynamicViewWalkthrough": {
2289
- type: "enabled: DynamicViewWalkthrough";
2290
- params: unknown;
2291
- };
2292
- "not readonly": {
2293
- type: "not readonly";
2294
- params: unknown;
2295
- };
2296
- "is dynamic view": {
2297
- type: "is dynamic view";
2298
- params: unknown;
2299
- };
2300
- "is another view": {
2301
- type: "is another view";
2302
- params: unknown;
2303
- };
2304
- "click: node has modelFqn": {
2305
- type: "click: node has modelFqn";
2306
- params: unknown;
2307
- };
2308
- "click: selected node": {
2309
- type: "click: selected node";
2310
- params: unknown;
2311
- };
2312
- "click: same node": {
2313
- type: "click: same node";
2314
- params: unknown;
2315
- };
2316
- "click: focused node": {
2317
- type: "click: focused node";
2318
- params: unknown;
2319
- };
2320
- "click: node has connections": {
2321
- type: "click: node has connections";
2322
- params: unknown;
2323
- };
2324
- "click: selected edge": {
2325
- type: "click: selected edge";
2326
- params: unknown;
2327
- };
2328
- }>, never, EmittedEvents>;
2329
- on: {
2330
- 'key.esc': {
2331
- target: string;
2332
- };
2333
- 'key.arrow.left': {
2334
- actions: ActionFunction<Context, HotKeyEvent, Events, undefined, never, never, never, never, never>;
2335
- };
2336
- 'key.arrow.right': {
2337
- actions: ActionFunction<Context, HotKeyEvent, Events, undefined, never, never, never, never, never>;
2338
- };
2339
- 'walkthrough.step': {
2340
- actions: ( ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents> | ActionFunction<Context, Events, Events, unknown, Values<{
2341
- syncManualLayoutActorLogic: {
2342
- src: "syncManualLayoutActorLogic";
2343
- logic: SyncLayoutActorLogic;
2344
- id: "syncLayout";
2345
- };
2346
- hotkeyActorLogic: {
2347
- src: "hotkeyActorLogic";
2348
- logic: HotkeyActorLogic;
2349
- id: "hotkey";
2350
- };
2351
- overlaysActorLogic: {
2352
- src: "overlaysActorLogic";
2353
- logic: OverlaysActorLogic;
2354
- id: "overlays";
2355
- };
2356
- searchActorLogic: {
2357
- src: "searchActorLogic";
2358
- logic: SearchActorLogic;
2359
- id: "search";
2360
- };
2361
- }>, never, Values<{
2362
- isReady: {
2363
- type: "isReady";
2364
- params: unknown;
2365
- };
2366
- "enabled: FitView": {
2367
- type: "enabled: FitView";
2368
- params: unknown;
2369
- };
2370
- "enabled: FocusMode": {
2371
- type: "enabled: FocusMode";
2372
- params: unknown;
2373
- };
2374
- "enabled: Readonly": {
2375
- type: "enabled: Readonly";
2376
- params: unknown;
2377
- };
2378
- "enabled: RelationshipDetails": {
2379
- type: "enabled: RelationshipDetails";
2380
- params: unknown;
2381
- };
2382
- "enabled: Search": {
2383
- type: "enabled: Search";
2384
- params: unknown;
2385
- };
2386
- "enabled: ElementDetails": {
2387
- type: "enabled: ElementDetails";
2388
- params: unknown;
2389
- };
2390
- "enabled: DynamicViewWalkthrough": {
2391
- type: "enabled: DynamicViewWalkthrough";
2392
- params: unknown;
2393
- };
2394
- "not readonly": {
2395
- type: "not readonly";
2396
- params: unknown;
2397
- };
2398
- "is dynamic view": {
2399
- type: "is dynamic view";
2400
- params: unknown;
2401
- };
2402
- "is another view": {
2403
- type: "is another view";
2404
- params: unknown;
2405
- };
2406
- "click: node has modelFqn": {
2407
- type: "click: node has modelFqn";
2408
- params: unknown;
2409
- };
2410
- "click: selected node": {
2411
- type: "click: selected node";
2412
- params: unknown;
2413
- };
2414
- "click: same node": {
2415
- type: "click: same node";
2416
- params: unknown;
2417
- };
2418
- "click: focused node": {
2419
- type: "click: focused node";
2420
- params: unknown;
2421
- };
2422
- "click: node has connections": {
2423
- type: "click: node has connections";
2424
- params: unknown;
2425
- };
2426
- "click: selected edge": {
2427
- type: "click: selected edge";
2428
- params: unknown;
2429
- };
2430
- }>, never, EmittedEvents> | ActionFunction<Context, {
2431
- type: "walkthrough.step";
2432
- direction: "next" | "previous";
2433
- }, Events, undefined, Values<{
2434
- syncManualLayoutActorLogic: {
2435
- src: "syncManualLayoutActorLogic";
2436
- logic: SyncLayoutActorLogic;
2437
- id: "syncLayout";
2438
- };
2439
- hotkeyActorLogic: {
2440
- src: "hotkeyActorLogic";
2441
- logic: HotkeyActorLogic;
2442
- id: "hotkey";
2443
- };
2444
- overlaysActorLogic: {
2445
- src: "overlaysActorLogic";
2446
- logic: OverlaysActorLogic;
2447
- id: "overlays";
2448
- };
2449
- searchActorLogic: {
2450
- src: "searchActorLogic";
2451
- logic: SearchActorLogic;
2452
- id: "search";
2453
- };
2454
- }>, never, never, never, never>)[];
2455
- };
2456
- 'xyflow.edgeClick': {
2457
- actions: ( ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents> | ActionFunction<Context, Events, Events, unknown, Values<{
2458
- syncManualLayoutActorLogic: {
2459
- src: "syncManualLayoutActorLogic";
2460
- logic: SyncLayoutActorLogic;
2461
- id: "syncLayout";
2462
- };
2463
- hotkeyActorLogic: {
2464
- src: "hotkeyActorLogic";
2465
- logic: HotkeyActorLogic;
2466
- id: "hotkey";
2467
- };
2468
- overlaysActorLogic: {
2469
- src: "overlaysActorLogic";
2470
- logic: OverlaysActorLogic;
2471
- id: "overlays";
2472
- };
2473
- searchActorLogic: {
2474
- src: "searchActorLogic";
2475
- logic: SearchActorLogic;
2476
- id: "search";
2477
- };
2478
- }>, never, Values<{
2479
- isReady: {
2480
- type: "isReady";
2481
- params: unknown;
2482
- };
2483
- "enabled: FitView": {
2484
- type: "enabled: FitView";
2485
- params: unknown;
2486
- };
2487
- "enabled: FocusMode": {
2488
- type: "enabled: FocusMode";
2489
- params: unknown;
2490
- };
2491
- "enabled: Readonly": {
2492
- type: "enabled: Readonly";
2493
- params: unknown;
2494
- };
2495
- "enabled: RelationshipDetails": {
2496
- type: "enabled: RelationshipDetails";
2497
- params: unknown;
2498
- };
2499
- "enabled: Search": {
2500
- type: "enabled: Search";
2501
- params: unknown;
2502
- };
2503
- "enabled: ElementDetails": {
2504
- type: "enabled: ElementDetails";
2505
- params: unknown;
2506
- };
2507
- "enabled: DynamicViewWalkthrough": {
2508
- type: "enabled: DynamicViewWalkthrough";
2509
- params: unknown;
2510
- };
2511
- "not readonly": {
2512
- type: "not readonly";
2513
- params: unknown;
2514
- };
2515
- "is dynamic view": {
2516
- type: "is dynamic view";
2517
- params: unknown;
2518
- };
2519
- "is another view": {
2520
- type: "is another view";
2521
- params: unknown;
2522
- };
2523
- "click: node has modelFqn": {
2524
- type: "click: node has modelFqn";
2525
- params: unknown;
2526
- };
2527
- "click: selected node": {
2528
- type: "click: selected node";
2529
- params: unknown;
2530
- };
2531
- "click: same node": {
2532
- type: "click: same node";
2533
- params: unknown;
2534
- };
2535
- "click: focused node": {
2536
- type: "click: focused node";
2537
- params: unknown;
2538
- };
2539
- "click: node has connections": {
2540
- type: "click: node has connections";
2541
- params: unknown;
2542
- };
2543
- "click: selected edge": {
2544
- type: "click: selected edge";
2545
- params: unknown;
2546
- };
2547
- }>, never, EmittedEvents> | ActionFunction<Context, {
2548
- type: "xyflow.edgeClick";
2549
- edge: import("../types").Types.Edge;
2550
- }, Events, undefined, Values<{
2551
- syncManualLayoutActorLogic: {
2552
- src: "syncManualLayoutActorLogic";
2553
- logic: SyncLayoutActorLogic;
2554
- id: "syncLayout";
2555
- };
2556
- hotkeyActorLogic: {
2557
- src: "hotkeyActorLogic";
2558
- logic: HotkeyActorLogic;
2559
- id: "hotkey";
2560
- };
2561
- overlaysActorLogic: {
2562
- src: "overlaysActorLogic";
2563
- logic: OverlaysActorLogic;
2564
- id: "overlays";
2565
- };
2566
- searchActorLogic: {
2567
- src: "searchActorLogic";
2568
- logic: SearchActorLogic;
2569
- id: "search";
2570
- };
2571
- }>, never, never, never, never>)[];
2572
- };
2573
- 'notations.unhighlight': {
2574
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
2575
- syncManualLayoutActorLogic: {
2576
- src: "syncManualLayoutActorLogic";
2577
- logic: SyncLayoutActorLogic;
2578
- id: "syncLayout";
2579
- };
2580
- hotkeyActorLogic: {
2581
- src: "hotkeyActorLogic";
2582
- logic: HotkeyActorLogic;
2583
- id: "hotkey";
2584
- };
2585
- overlaysActorLogic: {
2586
- src: "overlaysActorLogic";
2587
- logic: OverlaysActorLogic;
2588
- id: "overlays";
2589
- };
2590
- searchActorLogic: {
2591
- src: "searchActorLogic";
2592
- logic: SearchActorLogic;
2593
- id: "search";
2594
- };
2595
- }>, never, never, never, never>;
2596
- };
2597
- 'tag.unhighlight': {
2598
- actions: ActionFunction<Context, Events, Events, undefined, Values<{
2599
- syncManualLayoutActorLogic: {
2600
- src: "syncManualLayoutActorLogic";
2601
- logic: SyncLayoutActorLogic;
2602
- id: "syncLayout";
2603
- };
2604
- hotkeyActorLogic: {
2605
- src: "hotkeyActorLogic";
2606
- logic: HotkeyActorLogic;
2607
- id: "hotkey";
2608
- };
2609
- overlaysActorLogic: {
2610
- src: "overlaysActorLogic";
2611
- logic: OverlaysActorLogic;
2612
- id: "overlays";
2613
- };
2614
- searchActorLogic: {
2615
- src: "searchActorLogic";
2616
- logic: SearchActorLogic;
2617
- id: "search";
2618
- };
2619
- }>, never, never, never, never>;
2620
- };
2621
- 'walkthrough.end': {
2622
- target: string;
2623
- };
2624
- 'xyflow.paneDblClick': {
2625
- target: string;
2626
- };
2627
- 'update.view': {
2628
- guard: "is another view";
2629
- actions: ActionFunction<Context, {
2630
- type: "update.view";
2631
- view: DiagramView;
2632
- xynodes: import("../types").Types.Node[];
2633
- xyedges: import("../types").Types.Edge[];
2634
- }, Events, undefined, never, never, never, never, never>;
2635
- target: string;
2636
- };
2637
- };
2638
- };
2639
- };
2640
- };
2641
- readonly navigating: {
2642
- id: string;
2643
- entry: CancelAction<Context, Events, undefined, Events>[];
2644
- on: {
2645
- 'update.view': {
2646
- actions: ActionFunction<Context, {
2647
- type: "update.view";
2648
- view: DiagramView;
2649
- xynodes: import("../types").Types.Node[];
2650
- xyedges: import("../types").Types.Edge[];
2651
- }, Events, undefined, Values<{
2652
- syncManualLayoutActorLogic: {
2653
- src: "syncManualLayoutActorLogic";
2654
- logic: SyncLayoutActorLogic;
2655
- id: "syncLayout";
2656
- };
2657
- hotkeyActorLogic: {
2658
- src: "hotkeyActorLogic";
2659
- logic: HotkeyActorLogic;
2660
- id: "hotkey";
2661
- };
2662
- overlaysActorLogic: {
2663
- src: "overlaysActorLogic";
2664
- logic: OverlaysActorLogic;
2665
- id: "overlays";
2666
- };
2667
- searchActorLogic: {
2668
- src: "searchActorLogic";
2669
- logic: SearchActorLogic;
2670
- id: "search";
2671
- };
2672
- }>, never, Values<{
2673
- isReady: {
2674
- type: "isReady";
2675
- params: unknown;
2676
- };
2677
- "enabled: FitView": {
2678
- type: "enabled: FitView";
2679
- params: unknown;
2680
- };
2681
- "enabled: FocusMode": {
2682
- type: "enabled: FocusMode";
2683
- params: unknown;
2684
- };
2685
- "enabled: Readonly": {
2686
- type: "enabled: Readonly";
2687
- params: unknown;
2688
- };
2689
- "enabled: RelationshipDetails": {
2690
- type: "enabled: RelationshipDetails";
2691
- params: unknown;
2692
- };
2693
- "enabled: Search": {
2694
- type: "enabled: Search";
2695
- params: unknown;
2696
- };
2697
- "enabled: ElementDetails": {
2698
- type: "enabled: ElementDetails";
2699
- params: unknown;
2700
- };
2701
- "enabled: DynamicViewWalkthrough": {
2702
- type: "enabled: DynamicViewWalkthrough";
2703
- params: unknown;
2704
- };
2705
- "not readonly": {
2706
- type: "not readonly";
2707
- params: unknown;
2708
- };
2709
- "is dynamic view": {
2710
- type: "is dynamic view";
2711
- params: unknown;
2712
- };
2713
- "is another view": {
2714
- type: "is another view";
2715
- params: unknown;
2716
- };
2717
- "click: node has modelFqn": {
2718
- type: "click: node has modelFqn";
2719
- params: unknown;
2720
- };
2721
- "click: selected node": {
2722
- type: "click: selected node";
2723
- params: unknown;
2724
- };
2725
- "click: same node": {
2726
- type: "click: same node";
2727
- params: unknown;
2728
- };
2729
- "click: focused node": {
2730
- type: "click: focused node";
2731
- params: unknown;
2732
- };
2733
- "click: node has connections": {
2734
- type: "click: node has connections";
2735
- params: unknown;
2736
- };
2737
- "click: selected edge": {
2738
- type: "click: selected edge";
2739
- params: unknown;
2740
- };
2741
- }>, never, EmittedEvents>;
2742
- target: string;
2743
- };
2744
- };
2745
- };
2746
- };
2747
- readonly on: {
2748
- readonly 'xyflow.paneClick': {
2749
- readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
2750
- syncManualLayoutActorLogic: {
2751
- src: "syncManualLayoutActorLogic";
2752
- logic: SyncLayoutActorLogic;
2753
- id: "syncLayout";
2754
- };
2755
- hotkeyActorLogic: {
2756
- src: "hotkeyActorLogic";
2757
- logic: HotkeyActorLogic;
2758
- id: "hotkey";
2759
- };
2760
- overlaysActorLogic: {
2761
- src: "overlaysActorLogic";
2762
- logic: OverlaysActorLogic;
2763
- id: "overlays";
2764
- };
2765
- searchActorLogic: {
2766
- src: "searchActorLogic";
2767
- logic: SearchActorLogic;
2768
- id: "search";
2769
- };
2770
- }>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents>];
2771
- };
2772
- readonly 'xyflow.nodeClick': {
2773
- readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
2774
- syncManualLayoutActorLogic: {
2775
- src: "syncManualLayoutActorLogic";
2776
- logic: SyncLayoutActorLogic;
2777
- id: "syncLayout";
2778
- };
2779
- hotkeyActorLogic: {
2780
- src: "hotkeyActorLogic";
2781
- logic: HotkeyActorLogic;
2782
- id: "hotkey";
2783
- };
2784
- overlaysActorLogic: {
2785
- src: "overlaysActorLogic";
2786
- logic: OverlaysActorLogic;
2787
- id: "overlays";
2788
- };
2789
- searchActorLogic: {
2790
- src: "searchActorLogic";
2791
- logic: SearchActorLogic;
2792
- id: "search";
2793
- };
2794
- }>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents>];
2795
- };
2796
- readonly 'xyflow.edgeClick': {
2797
- readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
2798
- syncManualLayoutActorLogic: {
2799
- src: "syncManualLayoutActorLogic";
2800
- logic: SyncLayoutActorLogic;
2801
- id: "syncLayout";
2802
- };
2803
- hotkeyActorLogic: {
2804
- src: "hotkeyActorLogic";
2805
- logic: HotkeyActorLogic;
2806
- id: "hotkey";
2807
- };
2808
- overlaysActorLogic: {
2809
- src: "overlaysActorLogic";
2810
- logic: OverlaysActorLogic;
2811
- id: "overlays";
2812
- };
2813
- searchActorLogic: {
2814
- src: "searchActorLogic";
2815
- logic: SearchActorLogic;
2816
- id: "search";
2817
- };
2818
- }>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents>];
2819
- };
2820
- readonly 'xyflow.applyNodeChanges': {
2821
- readonly actions: ActionFunction<Context, {
2822
- type: "xyflow.applyNodeChanges";
2823
- changes: NodeChange<import("../types").Types.Node>[];
2824
- }, Events, undefined, Values<{
2825
- syncManualLayoutActorLogic: {
2826
- src: "syncManualLayoutActorLogic";
2827
- logic: SyncLayoutActorLogic;
2828
- id: "syncLayout";
2829
- };
2830
- hotkeyActorLogic: {
2831
- src: "hotkeyActorLogic";
2832
- logic: HotkeyActorLogic;
2833
- id: "hotkey";
2834
- };
2835
- overlaysActorLogic: {
2836
- src: "overlaysActorLogic";
2837
- logic: OverlaysActorLogic;
2838
- id: "overlays";
2839
- };
2840
- searchActorLogic: {
2841
- src: "searchActorLogic";
2842
- logic: SearchActorLogic;
2843
- id: "search";
2844
- };
2845
- }>, never, never, never, never>;
2846
- };
2847
- readonly 'xyflow.applyEdgeChanges': {
2848
- readonly actions: ActionFunction<Context, {
2849
- type: "xyflow.applyEdgeChanges";
2850
- changes: EdgeChange<import("../types").Types.Edge>[];
2851
- }, Events, undefined, Values<{
2852
- syncManualLayoutActorLogic: {
2853
- src: "syncManualLayoutActorLogic";
2854
- logic: SyncLayoutActorLogic;
2855
- id: "syncLayout";
2856
- };
2857
- hotkeyActorLogic: {
2858
- src: "hotkeyActorLogic";
2859
- logic: HotkeyActorLogic;
2860
- id: "hotkey";
2861
- };
2862
- overlaysActorLogic: {
2863
- src: "overlaysActorLogic";
2864
- logic: OverlaysActorLogic;
2865
- id: "overlays";
2866
- };
2867
- searchActorLogic: {
2868
- src: "searchActorLogic";
2869
- logic: SearchActorLogic;
2870
- id: "search";
2871
- };
2872
- }>, never, never, never, never>;
2873
- };
2874
- readonly 'xyflow.viewportMoved': {
2875
- readonly actions: ActionFunction<Context, {
2876
- type: "xyflow.viewportMoved";
2877
- viewport: Viewport;
2878
- manually: boolean;
2879
- }, Events, undefined, Values<{
2880
- syncManualLayoutActorLogic: {
2881
- src: "syncManualLayoutActorLogic";
2882
- logic: SyncLayoutActorLogic;
2883
- id: "syncLayout";
2884
- };
2885
- hotkeyActorLogic: {
2886
- src: "hotkeyActorLogic";
2887
- logic: HotkeyActorLogic;
2888
- id: "hotkey";
2889
- };
2890
- overlaysActorLogic: {
2891
- src: "overlaysActorLogic";
2892
- logic: OverlaysActorLogic;
2893
- id: "overlays";
2894
- };
2895
- searchActorLogic: {
2896
- src: "searchActorLogic";
2897
- logic: SearchActorLogic;
2898
- id: "search";
2899
- };
2900
- }>, never, never, never, never>;
2901
- };
2902
- readonly fitDiagram: {
2903
- readonly guard: "enabled: FitView";
2904
- readonly actions: ActionFunction<Context, Events, Events, unknown, Values<{
2905
- syncManualLayoutActorLogic: {
2906
- src: "syncManualLayoutActorLogic";
2907
- logic: SyncLayoutActorLogic;
2908
- id: "syncLayout";
2909
- };
2910
- hotkeyActorLogic: {
2911
- src: "hotkeyActorLogic";
2912
- logic: HotkeyActorLogic;
2913
- id: "hotkey";
2914
- };
2915
- overlaysActorLogic: {
2916
- src: "overlaysActorLogic";
2917
- logic: OverlaysActorLogic;
2918
- id: "overlays";
2919
- };
2920
- searchActorLogic: {
2921
- src: "searchActorLogic";
2922
- logic: SearchActorLogic;
2923
- id: "search";
2924
- };
2925
- }>, never, Values<{
2926
- isReady: {
2927
- type: "isReady";
2928
- params: unknown;
2929
- };
2930
- "enabled: FitView": {
2931
- type: "enabled: FitView";
2932
- params: unknown;
2933
- };
2934
- "enabled: FocusMode": {
2935
- type: "enabled: FocusMode";
2936
- params: unknown;
2937
- };
2938
- "enabled: Readonly": {
2939
- type: "enabled: Readonly";
2940
- params: unknown;
2941
- };
2942
- "enabled: RelationshipDetails": {
2943
- type: "enabled: RelationshipDetails";
2944
- params: unknown;
2945
- };
2946
- "enabled: Search": {
2947
- type: "enabled: Search";
2948
- params: unknown;
2949
- };
2950
- "enabled: ElementDetails": {
2951
- type: "enabled: ElementDetails";
2952
- params: unknown;
2953
- };
2954
- "enabled: DynamicViewWalkthrough": {
2955
- type: "enabled: DynamicViewWalkthrough";
2956
- params: unknown;
2957
- };
2958
- "not readonly": {
2959
- type: "not readonly";
2960
- params: unknown;
2961
- };
2962
- "is dynamic view": {
2963
- type: "is dynamic view";
2964
- params: unknown;
2965
- };
2966
- "is another view": {
2967
- type: "is another view";
2968
- params: unknown;
2969
- };
2970
- "click: node has modelFqn": {
2971
- type: "click: node has modelFqn";
2972
- params: unknown;
2973
- };
2974
- "click: selected node": {
2975
- type: "click: selected node";
2976
- params: unknown;
2977
- };
2978
- "click: same node": {
2979
- type: "click: same node";
2980
- params: unknown;
2981
- };
2982
- "click: focused node": {
2983
- type: "click: focused node";
2984
- params: unknown;
2985
- };
2986
- "click: node has connections": {
2987
- type: "click: node has connections";
2988
- params: unknown;
2989
- };
2990
- "click: selected edge": {
2991
- type: "click: selected edge";
2992
- params: unknown;
2993
- };
2994
- }>, never, EmittedEvents>;
2995
- };
2996
- readonly 'update.nodeData': {
2997
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
2998
- syncManualLayoutActorLogic: {
2999
- src: "syncManualLayoutActorLogic";
3000
- logic: SyncLayoutActorLogic;
3001
- id: "syncLayout";
3002
- };
3003
- hotkeyActorLogic: {
3004
- src: "hotkeyActorLogic";
3005
- logic: HotkeyActorLogic;
3006
- id: "hotkey";
3007
- };
3008
- overlaysActorLogic: {
3009
- src: "overlaysActorLogic";
3010
- logic: OverlaysActorLogic;
3011
- id: "overlays";
3012
- };
3013
- searchActorLogic: {
3014
- src: "searchActorLogic";
3015
- logic: SearchActorLogic;
3016
- id: "search";
3017
- };
3018
- }>, never, never, never, never>;
3019
- };
3020
- readonly 'update.edgeData': {
3021
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
3022
- syncManualLayoutActorLogic: {
3023
- src: "syncManualLayoutActorLogic";
3024
- logic: SyncLayoutActorLogic;
3025
- id: "syncLayout";
3026
- };
3027
- hotkeyActorLogic: {
3028
- src: "hotkeyActorLogic";
3029
- logic: HotkeyActorLogic;
3030
- id: "hotkey";
3031
- };
3032
- overlaysActorLogic: {
3033
- src: "overlaysActorLogic";
3034
- logic: OverlaysActorLogic;
3035
- id: "overlays";
3036
- };
3037
- searchActorLogic: {
3038
- src: "searchActorLogic";
3039
- logic: SearchActorLogic;
3040
- id: "search";
3041
- };
3042
- }>, never, never, never, never>;
3043
- };
3044
- readonly 'update.view': {
3045
- readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
3046
- syncManualLayoutActorLogic: {
3047
- src: "syncManualLayoutActorLogic";
3048
- logic: SyncLayoutActorLogic;
3049
- id: "syncLayout";
3050
- };
3051
- hotkeyActorLogic: {
3052
- src: "hotkeyActorLogic";
3053
- logic: HotkeyActorLogic;
3054
- id: "hotkey";
3055
- };
3056
- overlaysActorLogic: {
3057
- src: "overlaysActorLogic";
3058
- logic: OverlaysActorLogic;
3059
- id: "overlays";
3060
- };
3061
- searchActorLogic: {
3062
- src: "searchActorLogic";
3063
- logic: SearchActorLogic;
3064
- id: "search";
3065
- };
3066
- }>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, Values<{
3067
- syncManualLayoutActorLogic: {
3068
- src: "syncManualLayoutActorLogic";
3069
- logic: SyncLayoutActorLogic;
3070
- id: "syncLayout";
3071
- };
3072
- hotkeyActorLogic: {
3073
- src: "hotkeyActorLogic";
3074
- logic: HotkeyActorLogic;
3075
- id: "hotkey";
3076
- };
3077
- overlaysActorLogic: {
3078
- src: "overlaysActorLogic";
3079
- logic: OverlaysActorLogic;
3080
- id: "overlays";
3081
- };
3082
- searchActorLogic: {
3083
- src: "searchActorLogic";
3084
- logic: SearchActorLogic;
3085
- id: "search";
3086
- };
3087
- }>, never, Values<{
3088
- isReady: {
3089
- type: "isReady";
3090
- params: unknown;
3091
- };
3092
- "enabled: FitView": {
3093
- type: "enabled: FitView";
3094
- params: unknown;
3095
- };
3096
- "enabled: FocusMode": {
3097
- type: "enabled: FocusMode";
3098
- params: unknown;
3099
- };
3100
- "enabled: Readonly": {
3101
- type: "enabled: Readonly";
3102
- params: unknown;
3103
- };
3104
- "enabled: RelationshipDetails": {
3105
- type: "enabled: RelationshipDetails";
3106
- params: unknown;
3107
- };
3108
- "enabled: Search": {
3109
- type: "enabled: Search";
3110
- params: unknown;
3111
- };
3112
- "enabled: ElementDetails": {
3113
- type: "enabled: ElementDetails";
3114
- params: unknown;
3115
- };
3116
- "enabled: DynamicViewWalkthrough": {
3117
- type: "enabled: DynamicViewWalkthrough";
3118
- params: unknown;
3119
- };
3120
- "not readonly": {
3121
- type: "not readonly";
3122
- params: unknown;
3123
- };
3124
- "is dynamic view": {
3125
- type: "is dynamic view";
3126
- params: unknown;
3127
- };
3128
- "is another view": {
3129
- type: "is another view";
3130
- params: unknown;
3131
- };
3132
- "click: node has modelFqn": {
3133
- type: "click: node has modelFqn";
3134
- params: unknown;
3135
- };
3136
- "click: selected node": {
3137
- type: "click: selected node";
3138
- params: unknown;
3139
- };
3140
- "click: same node": {
3141
- type: "click: same node";
3142
- params: unknown;
3143
- };
3144
- "click: focused node": {
3145
- type: "click: focused node";
3146
- params: unknown;
3147
- };
3148
- "click: node has connections": {
3149
- type: "click: node has connections";
3150
- params: unknown;
3151
- };
3152
- "click: selected edge": {
3153
- type: "click: selected edge";
3154
- params: unknown;
3155
- };
3156
- }>, never, EmittedEvents>];
3157
- };
3158
- readonly 'update.inputs': {
3159
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
3160
- syncManualLayoutActorLogic: {
3161
- src: "syncManualLayoutActorLogic";
3162
- logic: SyncLayoutActorLogic;
3163
- id: "syncLayout";
3164
- };
3165
- hotkeyActorLogic: {
3166
- src: "hotkeyActorLogic";
3167
- logic: HotkeyActorLogic;
3168
- id: "hotkey";
3169
- };
3170
- overlaysActorLogic: {
3171
- src: "overlaysActorLogic";
3172
- logic: OverlaysActorLogic;
3173
- id: "overlays";
3174
- };
3175
- searchActorLogic: {
3176
- src: "searchActorLogic";
3177
- logic: SearchActorLogic;
3178
- id: "search";
3179
- };
3180
- }>, never, never, never, never>;
3181
- };
3182
- readonly 'update.features': {
3183
- readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
3184
- syncManualLayoutActorLogic: {
3185
- src: "syncManualLayoutActorLogic";
3186
- logic: SyncLayoutActorLogic;
3187
- id: "syncLayout";
3188
- };
3189
- hotkeyActorLogic: {
3190
- src: "hotkeyActorLogic";
3191
- logic: HotkeyActorLogic;
3192
- id: "hotkey";
3193
- };
3194
- overlaysActorLogic: {
3195
- src: "overlaysActorLogic";
3196
- logic: OverlaysActorLogic;
3197
- id: "overlays";
3198
- };
3199
- searchActorLogic: {
3200
- src: "searchActorLogic";
3201
- logic: SearchActorLogic;
3202
- id: "search";
3203
- };
3204
- }>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, Values<{
3205
- syncManualLayoutActorLogic: {
3206
- src: "syncManualLayoutActorLogic";
3207
- logic: SyncLayoutActorLogic;
3208
- id: "syncLayout";
3209
- };
3210
- hotkeyActorLogic: {
3211
- src: "hotkeyActorLogic";
3212
- logic: HotkeyActorLogic;
3213
- id: "hotkey";
3214
- };
3215
- overlaysActorLogic: {
3216
- src: "overlaysActorLogic";
3217
- logic: OverlaysActorLogic;
3218
- id: "overlays";
3219
- };
3220
- searchActorLogic: {
3221
- src: "searchActorLogic";
3222
- logic: SearchActorLogic;
3223
- id: "search";
3224
- };
3225
- }>, never, Values<{
3226
- isReady: {
3227
- type: "isReady";
3228
- params: unknown;
3229
- };
3230
- "enabled: FitView": {
3231
- type: "enabled: FitView";
3232
- params: unknown;
3233
- };
3234
- "enabled: FocusMode": {
3235
- type: "enabled: FocusMode";
3236
- params: unknown;
3237
- };
3238
- "enabled: Readonly": {
3239
- type: "enabled: Readonly";
3240
- params: unknown;
3241
- };
3242
- "enabled: RelationshipDetails": {
3243
- type: "enabled: RelationshipDetails";
3244
- params: unknown;
3245
- };
3246
- "enabled: Search": {
3247
- type: "enabled: Search";
3248
- params: unknown;
3249
- };
3250
- "enabled: ElementDetails": {
3251
- type: "enabled: ElementDetails";
3252
- params: unknown;
3253
- };
3254
- "enabled: DynamicViewWalkthrough": {
3255
- type: "enabled: DynamicViewWalkthrough";
3256
- params: unknown;
3257
- };
3258
- "not readonly": {
3259
- type: "not readonly";
3260
- params: unknown;
3261
- };
3262
- "is dynamic view": {
3263
- type: "is dynamic view";
3264
- params: unknown;
3265
- };
3266
- "is another view": {
3267
- type: "is another view";
3268
- params: unknown;
3269
- };
3270
- "click: node has modelFqn": {
3271
- type: "click: node has modelFqn";
3272
- params: unknown;
3273
- };
3274
- "click: selected node": {
3275
- type: "click: selected node";
3276
- params: unknown;
3277
- };
3278
- "click: same node": {
3279
- type: "click: same node";
3280
- params: unknown;
3281
- };
3282
- "click: focused node": {
3283
- type: "click: focused node";
3284
- params: unknown;
3285
- };
3286
- "click: node has connections": {
3287
- type: "click: node has connections";
3288
- params: unknown;
3289
- };
3290
- "click: selected edge": {
3291
- type: "click: selected edge";
3292
- params: unknown;
3293
- };
3294
- }>, never, EmittedEvents>, ActionFunction<Context, Events, Events, undefined, Values<{
3295
- syncManualLayoutActorLogic: {
3296
- src: "syncManualLayoutActorLogic";
3297
- logic: SyncLayoutActorLogic;
3298
- id: "syncLayout";
3299
- };
3300
- hotkeyActorLogic: {
3301
- src: "hotkeyActorLogic";
3302
- logic: HotkeyActorLogic;
3303
- id: "hotkey";
3304
- };
3305
- overlaysActorLogic: {
3306
- src: "overlaysActorLogic";
3307
- logic: OverlaysActorLogic;
3308
- id: "overlays";
3309
- };
3310
- searchActorLogic: {
3311
- src: "searchActorLogic";
3312
- logic: SearchActorLogic;
3313
- id: "search";
3314
- };
3315
- }>, never, Values<{
3316
- isReady: {
3317
- type: "isReady";
3318
- params: unknown;
3319
- };
3320
- "enabled: FitView": {
3321
- type: "enabled: FitView";
3322
- params: unknown;
3323
- };
3324
- "enabled: FocusMode": {
3325
- type: "enabled: FocusMode";
3326
- params: unknown;
3327
- };
3328
- "enabled: Readonly": {
3329
- type: "enabled: Readonly";
3330
- params: unknown;
3331
- };
3332
- "enabled: RelationshipDetails": {
3333
- type: "enabled: RelationshipDetails";
3334
- params: unknown;
3335
- };
3336
- "enabled: Search": {
3337
- type: "enabled: Search";
3338
- params: unknown;
3339
- };
3340
- "enabled: ElementDetails": {
3341
- type: "enabled: ElementDetails";
3342
- params: unknown;
3343
- };
3344
- "enabled: DynamicViewWalkthrough": {
3345
- type: "enabled: DynamicViewWalkthrough";
3346
- params: unknown;
3347
- };
3348
- "not readonly": {
3349
- type: "not readonly";
3350
- params: unknown;
3351
- };
3352
- "is dynamic view": {
3353
- type: "is dynamic view";
3354
- params: unknown;
3355
- };
3356
- "is another view": {
3357
- type: "is another view";
3358
- params: unknown;
3359
- };
3360
- "click: node has modelFqn": {
3361
- type: "click: node has modelFqn";
3362
- params: unknown;
3363
- };
3364
- "click: selected node": {
3365
- type: "click: selected node";
3366
- params: unknown;
3367
- };
3368
- "click: same node": {
3369
- type: "click: same node";
3370
- params: unknown;
3371
- };
3372
- "click: focused node": {
3373
- type: "click: focused node";
3374
- params: unknown;
3375
- };
3376
- "click: node has connections": {
3377
- type: "click: node has connections";
3378
- params: unknown;
3379
- };
3380
- "click: selected edge": {
3381
- type: "click: selected edge";
3382
- params: unknown;
3383
- };
3384
- }>, never, EmittedEvents>];
3385
- };
3386
- readonly 'switch.dynamicViewVariant': {
3387
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
3388
- syncManualLayoutActorLogic: {
3389
- src: "syncManualLayoutActorLogic";
3390
- logic: SyncLayoutActorLogic;
3391
- id: "syncLayout";
3392
- };
3393
- hotkeyActorLogic: {
3394
- src: "hotkeyActorLogic";
3395
- logic: HotkeyActorLogic;
3396
- id: "hotkey";
3397
- };
3398
- overlaysActorLogic: {
3399
- src: "overlaysActorLogic";
3400
- logic: OverlaysActorLogic;
3401
- id: "overlays";
3402
- };
3403
- searchActorLogic: {
3404
- src: "searchActorLogic";
3405
- logic: SearchActorLogic;
3406
- id: "search";
3407
- };
3408
- }>, never, never, never, never>;
3409
- };
3410
- readonly 'emit.onChange': {
3411
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
3412
- syncManualLayoutActorLogic: {
3413
- src: "syncManualLayoutActorLogic";
3414
- logic: SyncLayoutActorLogic;
3415
- id: "syncLayout";
3416
- };
3417
- hotkeyActorLogic: {
3418
- src: "hotkeyActorLogic";
3419
- logic: HotkeyActorLogic;
3420
- id: "hotkey";
3421
- };
3422
- overlaysActorLogic: {
3423
- src: "overlaysActorLogic";
3424
- logic: OverlaysActorLogic;
3425
- id: "overlays";
3426
- };
3427
- searchActorLogic: {
3428
- src: "searchActorLogic";
3429
- logic: SearchActorLogic;
3430
- id: "search";
3431
- };
3432
- }>, never, Values<{
3433
- isReady: {
3434
- type: "isReady";
3435
- params: unknown;
3436
- };
3437
- "enabled: FitView": {
3438
- type: "enabled: FitView";
3439
- params: unknown;
3440
- };
3441
- "enabled: FocusMode": {
3442
- type: "enabled: FocusMode";
3443
- params: unknown;
3444
- };
3445
- "enabled: Readonly": {
3446
- type: "enabled: Readonly";
3447
- params: unknown;
3448
- };
3449
- "enabled: RelationshipDetails": {
3450
- type: "enabled: RelationshipDetails";
3451
- params: unknown;
3452
- };
3453
- "enabled: Search": {
3454
- type: "enabled: Search";
3455
- params: unknown;
3456
- };
3457
- "enabled: ElementDetails": {
3458
- type: "enabled: ElementDetails";
3459
- params: unknown;
3460
- };
3461
- "enabled: DynamicViewWalkthrough": {
3462
- type: "enabled: DynamicViewWalkthrough";
3463
- params: unknown;
3464
- };
3465
- "not readonly": {
3466
- type: "not readonly";
3467
- params: unknown;
3468
- };
3469
- "is dynamic view": {
3470
- type: "is dynamic view";
3471
- params: unknown;
3472
- };
3473
- "is another view": {
3474
- type: "is another view";
3475
- params: unknown;
3476
- };
3477
- "click: node has modelFqn": {
3478
- type: "click: node has modelFqn";
3479
- params: unknown;
3480
- };
3481
- "click: selected node": {
3482
- type: "click: selected node";
3483
- params: unknown;
3484
- };
3485
- "click: same node": {
3486
- type: "click: same node";
3487
- params: unknown;
3488
- };
3489
- "click: focused node": {
3490
- type: "click: focused node";
3491
- params: unknown;
3492
- };
3493
- "click: node has connections": {
3494
- type: "click: node has connections";
3495
- params: unknown;
3496
- };
3497
- "click: selected edge": {
3498
- type: "click: selected edge";
3499
- params: unknown;
3500
- };
3501
- }>, never, EmittedEvents>;
3502
- };
3503
- readonly 'emit.onLayoutTypeChange': {
3504
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
3505
- syncManualLayoutActorLogic: {
3506
- src: "syncManualLayoutActorLogic";
3507
- logic: SyncLayoutActorLogic;
3508
- id: "syncLayout";
3509
- };
3510
- hotkeyActorLogic: {
3511
- src: "hotkeyActorLogic";
3512
- logic: HotkeyActorLogic;
3513
- id: "hotkey";
3514
- };
3515
- overlaysActorLogic: {
3516
- src: "overlaysActorLogic";
3517
- logic: OverlaysActorLogic;
3518
- id: "overlays";
3519
- };
3520
- searchActorLogic: {
3521
- src: "searchActorLogic";
3522
- logic: SearchActorLogic;
3523
- id: "search";
3524
- };
3525
- }>, never, Values<{
3526
- isReady: {
3527
- type: "isReady";
3528
- params: unknown;
3529
- };
3530
- "enabled: FitView": {
3531
- type: "enabled: FitView";
3532
- params: unknown;
3533
- };
3534
- "enabled: FocusMode": {
3535
- type: "enabled: FocusMode";
3536
- params: unknown;
3537
- };
3538
- "enabled: Readonly": {
3539
- type: "enabled: Readonly";
3540
- params: unknown;
3541
- };
3542
- "enabled: RelationshipDetails": {
3543
- type: "enabled: RelationshipDetails";
3544
- params: unknown;
3545
- };
3546
- "enabled: Search": {
3547
- type: "enabled: Search";
3548
- params: unknown;
3549
- };
3550
- "enabled: ElementDetails": {
3551
- type: "enabled: ElementDetails";
3552
- params: unknown;
3553
- };
3554
- "enabled: DynamicViewWalkthrough": {
3555
- type: "enabled: DynamicViewWalkthrough";
3556
- params: unknown;
3557
- };
3558
- "not readonly": {
3559
- type: "not readonly";
3560
- params: unknown;
3561
- };
3562
- "is dynamic view": {
3563
- type: "is dynamic view";
3564
- params: unknown;
3565
- };
3566
- "is another view": {
3567
- type: "is another view";
3568
- params: unknown;
3569
- };
3570
- "click: node has modelFqn": {
3571
- type: "click: node has modelFqn";
3572
- params: unknown;
3573
- };
3574
- "click: selected node": {
3575
- type: "click: selected node";
3576
- params: unknown;
3577
- };
3578
- "click: same node": {
3579
- type: "click: same node";
3580
- params: unknown;
3581
- };
3582
- "click: focused node": {
3583
- type: "click: focused node";
3584
- params: unknown;
3585
- };
3586
- "click: node has connections": {
3587
- type: "click: node has connections";
3588
- params: unknown;
3589
- };
3590
- "click: selected edge": {
3591
- type: "click: selected edge";
3592
- params: unknown;
3593
- };
3594
- }>, never, EmittedEvents>;
3595
- };
3596
- };
3597
- readonly exit: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
3598
- syncManualLayoutActorLogic: {
3599
- src: "syncManualLayoutActorLogic";
3600
- logic: SyncLayoutActorLogic;
3601
- id: "syncLayout";
3602
- };
3603
- hotkeyActorLogic: {
3604
- src: "hotkeyActorLogic";
3605
- logic: HotkeyActorLogic;
3606
- id: "hotkey";
3607
- };
3608
- overlaysActorLogic: {
3609
- src: "overlaysActorLogic";
3610
- logic: OverlaysActorLogic;
3611
- id: "overlays";
3612
- };
3613
- searchActorLogic: {
3614
- src: "searchActorLogic";
3615
- logic: SearchActorLogic;
3616
- id: "search";
3617
- };
3618
- }>, never, Values<{
3619
- isReady: {
3620
- type: "isReady";
3621
- params: unknown;
3622
- };
3623
- "enabled: FitView": {
3624
- type: "enabled: FitView";
3625
- params: unknown;
3626
- };
3627
- "enabled: FocusMode": {
3628
- type: "enabled: FocusMode";
3629
- params: unknown;
3630
- };
3631
- "enabled: Readonly": {
3632
- type: "enabled: Readonly";
3633
- params: unknown;
3634
- };
3635
- "enabled: RelationshipDetails": {
3636
- type: "enabled: RelationshipDetails";
3637
- params: unknown;
3638
- };
3639
- "enabled: Search": {
3640
- type: "enabled: Search";
3641
- params: unknown;
3642
- };
3643
- "enabled: ElementDetails": {
3644
- type: "enabled: ElementDetails";
3645
- params: unknown;
3646
- };
3647
- "enabled: DynamicViewWalkthrough": {
3648
- type: "enabled: DynamicViewWalkthrough";
3649
- params: unknown;
3650
- };
3651
- "not readonly": {
3652
- type: "not readonly";
3653
- params: unknown;
3654
- };
3655
- "is dynamic view": {
3656
- type: "is dynamic view";
3657
- params: unknown;
3658
- };
3659
- "is another view": {
3660
- type: "is another view";
3661
- params: unknown;
3662
- };
3663
- "click: node has modelFqn": {
3664
- type: "click: node has modelFqn";
3665
- params: unknown;
3666
- };
3667
- "click: selected node": {
3668
- type: "click: selected node";
3669
- params: unknown;
3670
- };
3671
- "click: same node": {
3672
- type: "click: same node";
3673
- params: unknown;
3674
- };
3675
- "click: focused node": {
3676
- type: "click: focused node";
3677
- params: unknown;
3678
- };
3679
- "click: node has connections": {
3680
- type: "click: node has connections";
3681
- params: unknown;
3682
- };
3683
- "click: selected edge": {
3684
- type: "click: selected edge";
3685
- params: unknown;
3686
- };
3687
- }>, never, EmittedEvents>, CancelAction<Context, Events, undefined, Events>, StopAction<Context, Events, undefined, Events>, StopAction<Context, Events, undefined, Events>, StopAction<Context, Events, undefined, Events>, ActionFunction<Context, Events, Events, undefined, Values<{
3688
- syncManualLayoutActorLogic: {
3689
- src: "syncManualLayoutActorLogic";
3690
- logic: SyncLayoutActorLogic;
3691
- id: "syncLayout";
3692
- };
3693
- hotkeyActorLogic: {
3694
- src: "hotkeyActorLogic";
3695
- logic: HotkeyActorLogic;
3696
- id: "hotkey";
3697
- };
3698
- overlaysActorLogic: {
3699
- src: "overlaysActorLogic";
3700
- logic: OverlaysActorLogic;
3701
- id: "overlays";
3702
- };
3703
- searchActorLogic: {
3704
- src: "searchActorLogic";
3705
- logic: SearchActorLogic;
3706
- id: "search";
3707
- };
3708
- }>, never, never, never, never>];
3709
- }>;
3710
- export type { Context as DiagramContext, EmittedEvents as DiagramEmittedEvents, } from './machine.setup';
1
+ import { ActorRef, MachineSnapshot, StateMachine } from 'xstate';
2
+ import { EditorActorRef } from '../../editor/editorActor';
3
+ import { OverlaysActorRef } from '../../overlays/overlaysActor';
4
+ import { SearchActorRef } from '../../search/searchActor';
5
+ import { Context as DiagramContext, EmittedEvents as DiagramEmittedEvents, Events as DiagramEvents, Input } from './machine.setup';
3711
6
  /**
3712
7
  * Here is a trick to reduce inference types
3713
8
  */
3714
- type InferredDiagramMachine = typeof _diagramMachine;
3715
- export interface DiagramMachineLogic extends InferredDiagramMachine {
9
+ export interface DiagramMachineLogic extends StateMachine<DiagramContext, DiagramEvents, {
10
+ overlays: OverlaysActorRef | undefined;
11
+ search: SearchActorRef | undefined;
12
+ editor: EditorActorRef | undefined;
13
+ }, any, any, any, any, any, any, Input, any, any, any, any> {
3716
14
  }
3717
15
  export declare const diagramMachine: DiagramMachineLogic;
16
+ export type DiagramMachineSnapshot = MachineSnapshot<DiagramContext, DiagramEvents, {
17
+ overlays: OverlaysActorRef | undefined;
18
+ search: SearchActorRef | undefined;
19
+ editor: EditorActorRef | undefined;
20
+ }, any, any, any, {}, {}>;
21
+ export interface DiagramMachineRef extends ActorRef<DiagramMachineSnapshot, DiagramEvents, DiagramEmittedEvents> {
22
+ }
23
+ export type { DiagramContext, DiagramEmittedEvents, DiagramEvents, };