@likec4/diagram 1.24.0 → 1.25.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 (285) hide show
  1. package/dist/LikeC4Diagram.css.d.ts +3 -0
  2. package/dist/LikeC4Diagram.d.ts +3 -2
  3. package/dist/LikeC4Diagram.js +74 -60
  4. package/dist/LikeC4Diagram.props.d.ts +11 -0
  5. package/dist/StaticLikeC4Diagram.d.ts +1 -1
  6. package/dist/base/BaseXYFlow.d.ts +1 -1
  7. package/dist/base/BaseXYFlow.js +25 -5
  8. package/dist/base/const.d.ts +4 -4
  9. package/dist/base/const.js +4 -4
  10. package/dist/base/primitives/compound/CompoundActionButton.css.d.ts +0 -1
  11. package/dist/base/primitives/compound/CompoundActionButton.css.js +2 -3
  12. package/dist/base/primitives/compound/CompoundActionButton.js +9 -15
  13. package/dist/base/primitives/compound/CompoundDetailsButton.css.js +1 -2
  14. package/dist/base/primitives/compound/CompoundDetailsButton.js +8 -14
  15. package/dist/base/primitives/compound/CompoundNodeContainer.css.d.ts +0 -1
  16. package/dist/base/primitives/compound/CompoundNodeContainer.css.js +2 -4
  17. package/dist/base/primitives/compound/CompoundNodeContainer.js +37 -24
  18. package/dist/base/primitives/compound/CompoundTitle.css.js +2 -1
  19. package/dist/base/primitives/compound/CompoundTitle.js +1 -1
  20. package/dist/base/primitives/customNode.js +1 -1
  21. package/dist/base/primitives/edge/EdgeContainer.d.ts +2 -1
  22. package/dist/base/primitives/edge/EdgeContainer.js +21 -17
  23. package/dist/base/primitives/edge/EdgeLabel.css.d.ts +0 -1
  24. package/dist/base/primitives/edge/EdgeLabel.css.js +1 -5
  25. package/dist/base/primitives/edge/EdgeLabel.js +9 -12
  26. package/dist/base/primitives/edge/EdgePath.js +13 -5
  27. package/dist/base/primitives/edge/edge.css.d.ts +1 -1
  28. package/dist/base/primitives/edge/edge.css.js +2 -4
  29. package/dist/base/primitives/element/ElementActionButtons.css.js +1 -0
  30. package/dist/base/primitives/element/ElementActionButtons.js +4 -3
  31. package/dist/base/primitives/element/ElementDetailsButton.css.js +1 -2
  32. package/dist/base/primitives/element/ElementDetailsButton.js +9 -15
  33. package/dist/base/primitives/element/ElementNodeContainer.css.js +1 -0
  34. package/dist/base/primitives/element/ElementShape.css.js +3 -2
  35. package/dist/base/primitives/element/ElementShape.js +2 -3
  36. package/dist/base/primitives/element/ElementTitle.css.d.ts +2 -0
  37. package/dist/base/primitives/element/ElementTitle.css.js +2 -2
  38. package/dist/base/primitives/element/ElementTitle.js +7 -7
  39. package/dist/components/SearchControl.css.d.ts +1 -0
  40. package/dist/components/SearchControl.css.js +3 -1
  41. package/dist/components/SearchControl.js +3 -3
  42. package/dist/context/ControlsCustomLayout.d.ts +13 -0
  43. package/dist/context/ControlsCustomLayout.js +10 -0
  44. package/dist/context/FramerMotionConfig.d.ts +9 -1
  45. package/dist/context/FramerMotionConfig.js +5 -2
  46. package/dist/context/RootContainer.d.ts +2 -1
  47. package/dist/context/RootContainer.js +13 -2
  48. package/dist/diagram.css +1 -1
  49. package/dist/hooks/safeContext.js +1 -0
  50. package/dist/hooks/useDiagram.d.ts +954 -1865
  51. package/dist/hooks/useDiagram.js +7 -1
  52. package/dist/hooks/useIsReducedGraphics.d.ts +4 -0
  53. package/dist/hooks/useIsReducedGraphics.js +8 -0
  54. package/dist/hooks/useXYFlow.js +1 -1
  55. package/dist/index.d.ts +1 -0
  56. package/dist/likec4diagram/DiagramUI.d.ts +2 -1
  57. package/dist/likec4diagram/DiagramUI.js +5 -3
  58. package/dist/likec4diagram/XYFlow.d.ts +3 -7
  59. package/dist/likec4diagram/XYFlow.js +13 -6
  60. package/dist/likec4diagram/custom/edges/RelationshipEdge.js +30 -25
  61. package/dist/likec4diagram/custom/edges/edges.css.d.ts +1 -0
  62. package/dist/likec4diagram/custom/edges/edges.css.js +5 -3
  63. package/dist/likec4diagram/custom/index.d.ts +9 -1
  64. package/dist/likec4diagram/custom/index.js +10 -1
  65. package/dist/likec4diagram/custom/nodes/nodeTypes.d.ts +5 -7
  66. package/dist/likec4diagram/custom/nodes/nodeTypes.js +60 -58
  67. package/dist/likec4diagram/ui/controls/Controls.js +110 -71
  68. package/dist/likec4diagram/ui/controls/NavigationButtons.js +14 -22
  69. package/dist/likec4diagram/ui/controls/_shared.js +1 -1
  70. package/dist/likec4diagram/ui/diagram-title/DiagramTitlePanel.css.d.ts +0 -1
  71. package/dist/likec4diagram/ui/diagram-title/DiagramTitlePanel.css.js +3 -5
  72. package/dist/likec4diagram/ui/diagram-title/DiagramTitlePanel.js +5 -7
  73. package/dist/likec4diagram/ui/notation/NotationPanel.css.d.ts +1 -0
  74. package/dist/likec4diagram/ui/notation/NotationPanel.css.js +6 -4
  75. package/dist/likec4diagram/ui/notation/NotationPanel.js +2 -2
  76. package/dist/likec4diagram/ui/search/SearchInput.js +1 -1
  77. package/dist/likec4diagram/ui/search/ViewsColum.js +1 -2
  78. package/dist/likec4diagram/ui/search/ViewsColumn.css.d.ts +1 -1
  79. package/dist/likec4diagram/ui/search/ViewsColumn.css.js +2 -0
  80. package/dist/likec4model/useLikeC4Model.js +0 -1
  81. package/dist/node_modules/.pnpm/@mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.module.css.mjs.vanilla.css.js +1 -0
  82. package/dist/overlays/element-details/ElementDetailsCard.css.d.ts +2 -0
  83. package/dist/overlays/element-details/ElementDetailsCard.css.js +18 -14
  84. package/dist/overlays/element-details/ElementDetailsCard.js +21 -14
  85. package/dist/overlays/element-details/actor.d.ts +9084 -2569
  86. package/dist/overlays/overlay/Overlay.css.d.ts +2 -0
  87. package/dist/overlays/overlay/Overlay.css.js +93 -89
  88. package/dist/overlays/overlay/Overlay.js +16 -10
  89. package/dist/overlays/relationship-details/RelationshipDetails.js +31 -17
  90. package/dist/overlays/relationship-details/actor.d.ts +228 -3
  91. package/dist/overlays/relationship-details/actor.js +86 -14
  92. package/dist/overlays/relationship-details/hooks.d.ts +3 -0
  93. package/dist/overlays/relationship-details/hooks.js +6 -2
  94. package/dist/overlays/relationship-details/useLayoutedDetails.js +4 -3
  95. package/dist/overlays/relationships-browser/-useRelationshipsView.js +12 -3
  96. package/dist/overlays/relationships-browser/RelationshipsBrowser.js +12 -3
  97. package/dist/overlays/relationships-browser/actor.d.ts +271 -54
  98. package/dist/overlays/relationships-browser/actor.js +86 -23
  99. package/dist/state/DiagramActorProvider.js +12 -2
  100. package/dist/state/assign.js +15 -1
  101. package/dist/state/diagram-machine.d.ts +971 -1872
  102. package/dist/state/diagram-machine.js +127 -121
  103. package/dist/state/persistence.d.ts +5 -0
  104. package/dist/state/persistence.js +23 -0
  105. package/dist/theme-vars.css.d.ts +0 -9
  106. package/dist/theme-vars.d.ts +13 -1
  107. package/dist/theme-vars.js +3 -1
  108. package/dist/utils/css.d.ts +1 -0
  109. package/dist/utils/css.js +10 -0
  110. package/package.json +22 -14
  111. package/src/LikeC4Diagram.css.ts +145 -7
  112. package/src/LikeC4Diagram.props.ts +13 -0
  113. package/src/LikeC4Diagram.tsx +46 -27
  114. package/src/StaticLikeC4Diagram.tsx +1 -0
  115. package/src/base/BaseXYFlow.tsx +31 -11
  116. package/src/base/const.ts +4 -4
  117. package/src/base/primitives/compound/CompoundActionButton.css.ts +9 -12
  118. package/src/base/primitives/compound/CompoundActionButton.tsx +10 -14
  119. package/src/base/primitives/compound/CompoundDetailsButton.css.ts +4 -2
  120. package/src/base/primitives/compound/CompoundDetailsButton.tsx +8 -12
  121. package/src/base/primitives/compound/CompoundNodeContainer.css.ts +42 -59
  122. package/src/base/primitives/compound/CompoundNodeContainer.tsx +44 -24
  123. package/src/base/primitives/compound/CompoundTitle.css.ts +14 -13
  124. package/src/base/primitives/customNode.ts +4 -3
  125. package/src/base/primitives/edge/EdgeContainer.tsx +27 -13
  126. package/src/base/primitives/edge/EdgeLabel.css.ts +34 -24
  127. package/src/base/primitives/edge/EdgeLabel.tsx +10 -13
  128. package/src/base/primitives/edge/EdgePath.tsx +28 -16
  129. package/src/base/primitives/edge/edge.css.ts +54 -33
  130. package/src/base/primitives/element/ElementActionButtons.css.ts +5 -1
  131. package/src/base/primitives/element/ElementActionButtons.tsx +4 -2
  132. package/src/base/primitives/element/ElementDetailsButton.css.ts +6 -10
  133. package/src/base/primitives/element/ElementDetailsButton.tsx +9 -13
  134. package/src/base/primitives/element/ElementNodeContainer.css.ts +64 -18
  135. package/src/base/primitives/element/ElementNodeContainer.tsx +1 -0
  136. package/src/base/primitives/element/ElementShape.css.ts +24 -8
  137. package/src/base/primitives/element/ElementShape.tsx +2 -2
  138. package/src/base/primitives/element/ElementTitle.css.ts +4 -1
  139. package/src/base/primitives/element/ElementTitle.tsx +5 -4
  140. package/src/base/primitives/element/vars.css.ts +5 -0
  141. package/src/components/Link.css.ts +1 -1
  142. package/src/components/SearchControl.css.ts +25 -10
  143. package/src/components/SearchControl.tsx +2 -2
  144. package/src/context/ControlsCustomLayout.ts +16 -0
  145. package/src/context/FramerMotionConfig.tsx +13 -2
  146. package/src/context/RootContainer.tsx +13 -4
  147. package/src/hooks/safeContext.tsx +2 -1
  148. package/src/hooks/useDiagram.ts +1 -0
  149. package/src/hooks/useIsReducedGraphics.ts +5 -0
  150. package/src/hooks/useXYFlow.ts +1 -1
  151. package/src/index.ts +1 -0
  152. package/src/likec4diagram/DiagramUI.tsx +5 -3
  153. package/src/likec4diagram/XYFlow.tsx +9 -3
  154. package/src/likec4diagram/custom/edges/RelationshipEdge.tsx +32 -21
  155. package/src/likec4diagram/custom/edges/RelationshipsDropdownMenu.tsx +1 -1
  156. package/src/likec4diagram/custom/edges/edges.css.ts +15 -0
  157. package/src/likec4diagram/custom/index.tsx +14 -1
  158. package/src/likec4diagram/custom/nodes/nodeTypes.tsx +61 -59
  159. package/src/likec4diagram/ui/controls/Controls.tsx +102 -61
  160. package/src/likec4diagram/ui/controls/NavigationButtons.tsx +19 -20
  161. package/src/likec4diagram/ui/controls/styles.css.ts +17 -2
  162. package/src/likec4diagram/ui/diagram-title/DiagramTitlePanel.css.ts +13 -11
  163. package/src/likec4diagram/ui/diagram-title/DiagramTitlePanel.tsx +7 -5
  164. package/src/likec4diagram/ui/notation/NotationPanel.css.ts +14 -1
  165. package/src/likec4diagram/ui/notation/NotationPanel.tsx +1 -1
  166. package/src/likec4diagram/ui/search/ElementsColumn.css.ts +1 -2
  167. package/src/likec4diagram/ui/search/ElementsColumn.tsx +1 -1
  168. package/src/likec4diagram/ui/search/LikeC4Search.css.ts +1 -2
  169. package/src/likec4diagram/ui/search/SearchInput.tsx +1 -1
  170. package/src/likec4diagram/ui/search/ViewsColum.tsx +1 -2
  171. package/src/likec4diagram/ui/search/ViewsColumn.css.ts +1 -1
  172. package/src/likec4diagram/ui/search/_shared.css.ts +2 -3
  173. package/src/likec4model/useLikeC4Model.ts +1 -1
  174. package/src/overlays/element-details/ElementDetailsCard.css.ts +8 -5
  175. package/src/overlays/element-details/ElementDetailsCard.tsx +249 -238
  176. package/src/overlays/overlay/Overlay.css.ts +12 -16
  177. package/src/overlays/overlay/Overlay.tsx +16 -9
  178. package/src/overlays/relationship-details/RelationshipDetails.tsx +83 -70
  179. package/src/overlays/relationship-details/actor.ts +106 -13
  180. package/src/overlays/relationship-details/hooks.ts +6 -2
  181. package/src/overlays/relationship-details/useLayoutedDetails.ts +4 -4
  182. package/src/overlays/relationships-browser/-useRelationshipsView.ts +10 -0
  183. package/src/overlays/relationships-browser/RelationshipsBrowser.tsx +16 -8
  184. package/src/overlays/relationships-browser/actor.ts +92 -22
  185. package/src/state/DiagramActorProvider.tsx +13 -3
  186. package/src/state/assign.ts +15 -1
  187. package/src/state/diagram-machine.ts +124 -116
  188. package/src/state/persistence.ts +22 -0
  189. package/src/theme-vars.css.ts +0 -12
  190. package/src/theme-vars.ts +16 -4
  191. package/src/utils/css.ts +7 -0
  192. package/dist/base/primitives/element/styles.css.js +0 -6
  193. package/dist/globals.css.d.ts +0 -1
  194. package/dist/globals.css.js +0 -5
  195. package/dist/likec4diagram/ui/search/_shared.css.js +0 -5
  196. package/src/base/primitives/element/styles.css.ts +0 -52
  197. package/src/globals.css.ts +0 -128
  198. /package/dist/base/primitives/element/{styles.css.d.ts → vars.css.d.ts} +0 -0
  199. /package/dist/{node_modules/.pnpm/@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Accordion/Accordion.module.css.mjs.vanilla.css.js → base/primitives/element/vars.css.ts.vanilla.css.js} +0 -0
  200. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Accordion/Accordion.module.css.mjs.vanilla.css.js} +0 -0
  201. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Affix/Affix.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.module.css.mjs.vanilla.css.js} +0 -0
  202. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Alert/Alert.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Affix/Affix.module.css.mjs.vanilla.css.js} +0 -0
  203. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Anchor/Anchor.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Alert/Alert.module.css.mjs.vanilla.css.js} +0 -0
  204. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AngleSlider/AngleSlider.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Anchor/Anchor.module.css.mjs.vanilla.css.js} +0 -0
  205. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AppShell/AppShell.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AngleSlider/AngleSlider.module.css.mjs.vanilla.css.js} +0 -0
  206. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AspectRatio/AspectRatio.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AppShell/AppShell.module.css.mjs.vanilla.css.js} +0 -0
  207. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Avatar/Avatar.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/AspectRatio/AspectRatio.module.css.mjs.vanilla.css.js} +0 -0
  208. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/BackgroundImage/BackgroundImage.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Avatar/Avatar.module.css.mjs.vanilla.css.js} +0 -0
  209. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Badge/Badge.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/BackgroundImage/BackgroundImage.module.css.mjs.vanilla.css.js} +0 -0
  210. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Blockquote/Blockquote.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Badge/Badge.module.css.mjs.vanilla.css.js} +0 -0
  211. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Breadcrumbs/Breadcrumbs.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Blockquote/Blockquote.module.css.mjs.vanilla.css.js} +0 -0
  212. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Burger/Burger.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Breadcrumbs/Breadcrumbs.module.css.mjs.vanilla.css.js} +0 -0
  213. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Button/Button.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Burger/Burger.module.css.mjs.vanilla.css.js} +0 -0
  214. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Card/Card.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Button/Button.module.css.mjs.vanilla.css.js} +0 -0
  215. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Center/Center.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Card/Card.module.css.mjs.vanilla.css.js} +0 -0
  216. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/Checkbox.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Center/Center.module.css.mjs.vanilla.css.js} +0 -0
  217. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/CheckboxCard/CheckboxCard.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/Checkbox.module.css.mjs.vanilla.css.js} +0 -0
  218. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/CheckboxCard/CheckboxCard.module.css.mjs.vanilla.css.js} +0 -0
  219. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Chip/Chip.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.module.css.mjs.vanilla.css.js} +0 -0
  220. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Chip/Chip.module.css.mjs.vanilla.css.js} +0 -0
  221. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Code/Code.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.css.mjs.vanilla.css.js} +0 -0
  222. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorInput/ColorInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Code/Code.module.css.mjs.vanilla.css.js} +0 -0
  223. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorPicker/ColorPicker.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorInput/ColorInput.module.css.mjs.vanilla.css.js} +0 -0
  224. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorSwatch/ColorSwatch.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorPicker/ColorPicker.module.css.mjs.vanilla.css.js} +0 -0
  225. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Combobox/Combobox.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ColorSwatch/ColorSwatch.module.css.mjs.vanilla.css.js} +0 -0
  226. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Container/Container.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Combobox/Combobox.module.css.mjs.vanilla.css.js} +0 -0
  227. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Dialog/Dialog.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Container/Container.module.css.mjs.vanilla.css.js} +0 -0
  228. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Divider/Divider.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Dialog/Dialog.module.css.mjs.vanilla.css.js} +0 -0
  229. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Drawer/Drawer.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Divider/Divider.module.css.mjs.vanilla.css.js} +0 -0
  230. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Fieldset/Fieldset.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Drawer/Drawer.module.css.mjs.vanilla.css.js} +0 -0
  231. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Flex/Flex.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Fieldset/Fieldset.module.css.mjs.vanilla.css.js} +0 -0
  232. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/FloatingIndicator/FloatingIndicator.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Flex/Flex.module.css.mjs.vanilla.css.js} +0 -0
  233. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Grid/Grid.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/FloatingIndicator/FloatingIndicator.module.css.mjs.vanilla.css.js} +0 -0
  234. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Group/Group.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Grid/Grid.module.css.mjs.vanilla.css.js} +0 -0
  235. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Image/Image.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Group/Group.module.css.mjs.vanilla.css.js} +0 -0
  236. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Indicator/Indicator.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Image/Image.module.css.mjs.vanilla.css.js} +0 -0
  237. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/InlineInput/InlineInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Indicator/Indicator.module.css.mjs.vanilla.css.js} +0 -0
  238. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Input/Input.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/InlineInput/InlineInput.module.css.mjs.vanilla.css.js} +0 -0
  239. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Kbd/Kbd.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Input/Input.module.css.mjs.vanilla.css.js} +0 -0
  240. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/List/List.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Kbd/Kbd.module.css.mjs.vanilla.css.js} +0 -0
  241. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Loader/Loader.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/List/List.module.css.mjs.vanilla.css.js} +0 -0
  242. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/LoadingOverlay/LoadingOverlay.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Loader/Loader.module.css.mjs.vanilla.css.js} +0 -0
  243. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Mark/Mark.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/LoadingOverlay/LoadingOverlay.module.css.mjs.vanilla.css.js} +0 -0
  244. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Menu/Menu.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Mark/Mark.module.css.mjs.vanilla.css.js} +0 -0
  245. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Modal/Modal.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Menu/Menu.module.css.mjs.vanilla.css.js} +0 -0
  246. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ModalBase/ModalBase.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Modal/Modal.module.css.mjs.vanilla.css.js} +0 -0
  247. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/NavLink/NavLink.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ModalBase/ModalBase.module.css.mjs.vanilla.css.js} +0 -0
  248. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Notification/Notification.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/NavLink/NavLink.module.css.mjs.vanilla.css.js} +0 -0
  249. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/NumberInput/NumberInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Notification/Notification.module.css.mjs.vanilla.css.js} +0 -0
  250. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Overlay/Overlay.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/NumberInput/NumberInput.module.css.mjs.vanilla.css.js} +0 -0
  251. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Pagination/Pagination.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Overlay/Overlay.module.css.mjs.vanilla.css.js} +0 -0
  252. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Paper/Paper.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Pagination/Pagination.module.css.mjs.vanilla.css.js} +0 -0
  253. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PasswordInput/PasswordInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Paper/Paper.module.css.mjs.vanilla.css.js} +0 -0
  254. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Pill/Pill.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PasswordInput/PasswordInput.module.css.mjs.vanilla.css.js} +0 -0
  255. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PillsInput/PillsInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Pill/Pill.module.css.mjs.vanilla.css.js} +0 -0
  256. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PinInput/PinInput.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PillsInput/PillsInput.module.css.mjs.vanilla.css.js} +0 -0
  257. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Popover/Popover.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/PinInput/PinInput.module.css.mjs.vanilla.css.js} +0 -0
  258. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Progress/Progress.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Popover/Popover.module.css.mjs.vanilla.css.js} +0 -0
  259. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/Radio.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Progress/Progress.module.css.mjs.vanilla.css.js} +0 -0
  260. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/RadioCard/RadioCard.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/Radio.module.css.mjs.vanilla.css.js} +0 -0
  261. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/RadioIndicator/RadioIndicator.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/RadioCard/RadioCard.module.css.mjs.vanilla.css.js} +0 -0
  262. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Rating/Rating.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Radio/RadioIndicator/RadioIndicator.module.css.mjs.vanilla.css.js} +0 -0
  263. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/RingProgress/RingProgress.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Rating/Rating.module.css.mjs.vanilla.css.js} +0 -0
  264. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ScrollArea/ScrollArea.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/RingProgress/RingProgress.module.css.mjs.vanilla.css.js} +0 -0
  265. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SegmentedControl/SegmentedControl.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ScrollArea/ScrollArea.module.css.mjs.vanilla.css.js} +0 -0
  266. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SemiCircleProgress/SemiCircleProgress.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SegmentedControl/SegmentedControl.module.css.mjs.vanilla.css.js} +0 -0
  267. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SimpleGrid/SimpleGrid.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SemiCircleProgress/SemiCircleProgress.module.css.mjs.vanilla.css.js} +0 -0
  268. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Skeleton/Skeleton.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/SimpleGrid/SimpleGrid.module.css.mjs.vanilla.css.js} +0 -0
  269. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Slider/Slider.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Skeleton/Skeleton.module.css.mjs.vanilla.css.js} +0 -0
  270. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Spoiler/Spoiler.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Slider/Slider.module.css.mjs.vanilla.css.js} +0 -0
  271. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Stack/Stack.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Spoiler/Spoiler.module.css.mjs.vanilla.css.js} +0 -0
  272. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Stepper/Stepper.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Stack/Stack.module.css.mjs.vanilla.css.js} +0 -0
  273. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Switch/Switch.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Stepper/Stepper.module.css.mjs.vanilla.css.js} +0 -0
  274. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Table/Table.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Switch/Switch.module.css.mjs.vanilla.css.js} +0 -0
  275. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/TableOfContents/TableOfContents.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Table/Table.module.css.mjs.vanilla.css.js} +0 -0
  276. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tabs/Tabs.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/TableOfContents/TableOfContents.module.css.mjs.vanilla.css.js} +0 -0
  277. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Text/Text.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tabs/Tabs.module.css.mjs.vanilla.css.js} +0 -0
  278. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ThemeIcon/ThemeIcon.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Text/Text.module.css.mjs.vanilla.css.js} +0 -0
  279. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Timeline/Timeline.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/ThemeIcon/ThemeIcon.module.css.mjs.vanilla.css.js} +0 -0
  280. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Title/Title.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Timeline/Timeline.module.css.mjs.vanilla.css.js} +0 -0
  281. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Title/Title.module.css.mjs.vanilla.css.js} +0 -0
  282. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tree/Tree.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.module.css.mjs.vanilla.css.js} +0 -0
  283. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/TypographyStylesProvider/TypographyStylesProvider.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/Tree/Tree.module.css.mjs.vanilla.css.js} +0 -0
  284. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/UnstyledButton/UnstyledButton.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/TypographyStylesProvider/TypographyStylesProvider.module.css.mjs.vanilla.css.js} +0 -0
  285. /package/dist/node_modules/.pnpm/{@mantine_core@7.17.0_@mantine_hooks@7.17.0_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.module.css.mjs.vanilla.css.js → @mantine_core@7.17.1_@mantine_hooks@7.17.1_react@19.0.0__@types_react@19.0.8_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@mantine/core/esm/components/UnstyledButton/UnstyledButton.module.css.mjs.vanilla.css.js} +0 -0
@@ -8,7 +8,6 @@ import { Types } from '../likec4diagram/types';
8
8
  import { AlignmentMode } from './aligners';
9
9
  import { HotKeyEvent } from './hotkeyActor';
10
10
  import { Events as SyncLayoutEvents, Input } from './syncManualLayoutActor';
11
- import { focusedBounds } from './utils';
12
11
  import { OverlaysContext, OverlayActorEvent, OverlayActorEmitedEvent } from '../overlays/overlaysActor';
13
12
  import { ElementDetailsLogic } from '../overlays/element-details/actor';
14
13
  type XYStoreApi = ReturnType<typeof useStoreApi<Types.Node, Types.Edge>>;
@@ -687,10 +686,18 @@ export declare const diagramMachine: StateMachine<Context, Events, {
687
686
  type: "trigger:OpenSource";
688
687
  params: OpenSourceParams;
689
688
  };
690
- "open source of focused node": {
691
- type: "open source of focused node";
689
+ "assign lastClickedNode": {
690
+ type: "assign lastClickedNode";
692
691
  params: NonReducibleUnknown;
693
692
  };
693
+ "open source of focused or last clicked node": {
694
+ type: "open source of focused or last clicked node";
695
+ params: NonReducibleUnknown;
696
+ };
697
+ "xyflow:fitFocusedBounds": {
698
+ type: "xyflow:fitFocusedBounds";
699
+ params: unknown;
700
+ };
694
701
  "xyflow:setViewportCenter": {
695
702
  type: "xyflow:setViewportCenter";
696
703
  params: {
@@ -745,8 +752,8 @@ export declare const diagramMachine: StateMachine<Context, Events, {
745
752
  type: "is another view";
746
753
  params: unknown;
747
754
  };
748
- "click: selected node ": {
749
- type: "click: selected node ";
755
+ "click: selected node": {
756
+ type: "click: selected node";
750
757
  params: unknown;
751
758
  };
752
759
  "click: same node": {
@@ -757,9 +764,11 @@ export declare const diagramMachine: StateMachine<Context, Events, {
757
764
  type: "click: focused node";
758
765
  params: unknown;
759
766
  };
760
- }>, never, "initializing" | "idle" | "walkthrough" | "focused" | {
761
- navigating: "done" | "pending";
762
- }, string, Input, NonReducibleUnknown, EventObject, MetaObject, {
767
+ "click: node has connections": {
768
+ type: "click: node has connections";
769
+ params: unknown;
770
+ };
771
+ }>, never, "initializing" | "idle" | "walkthrough" | "focused" | "navigating", string, Input, NonReducibleUnknown, EventObject, MetaObject, {
763
772
  readonly initial: "initializing";
764
773
  readonly context: ({ input, self, spawn }: {
765
774
  spawn: {
@@ -1564,9 +1573,7 @@ export declare const diagramMachine: StateMachine<Context, Events, {
1564
1573
  enableLikeC4Model: boolean;
1565
1574
  enableVscode: boolean;
1566
1575
  };
1567
- toggledFeatures: {
1568
- enableReadOnly: true;
1569
- };
1576
+ toggledFeatures: Partial<EnabledFeatures>;
1570
1577
  initialized: false;
1571
1578
  viewportChangedManually: false;
1572
1579
  lastOnNavigate: null;
@@ -1981,10 +1988,18 @@ export declare const diagramMachine: StateMachine<Context, Events, {
1981
1988
  type: "trigger:OpenSource";
1982
1989
  params: OpenSourceParams;
1983
1990
  };
1984
- "open source of focused node": {
1985
- type: "open source of focused node";
1991
+ "assign lastClickedNode": {
1992
+ type: "assign lastClickedNode";
1993
+ params: NonReducibleUnknown;
1994
+ };
1995
+ "open source of focused or last clicked node": {
1996
+ type: "open source of focused or last clicked node";
1986
1997
  params: NonReducibleUnknown;
1987
1998
  };
1999
+ "xyflow:fitFocusedBounds": {
2000
+ type: "xyflow:fitFocusedBounds";
2001
+ params: unknown;
2002
+ };
1988
2003
  "xyflow:setViewportCenter": {
1989
2004
  type: "xyflow:setViewportCenter";
1990
2005
  params: {
@@ -2039,8 +2054,8 @@ export declare const diagramMachine: StateMachine<Context, Events, {
2039
2054
  type: "is another view";
2040
2055
  params: unknown;
2041
2056
  };
2042
- "click: selected node ": {
2043
- type: "click: selected node ";
2057
+ "click: selected node": {
2058
+ type: "click: selected node";
2044
2059
  params: unknown;
2045
2060
  };
2046
2061
  "click: same node": {
@@ -2051,6 +2066,10 @@ export declare const diagramMachine: StateMachine<Context, Events, {
2051
2066
  type: "click: focused node";
2052
2067
  params: unknown;
2053
2068
  };
2069
+ "click: node has connections": {
2070
+ type: "click: node has connections";
2071
+ params: unknown;
2072
+ };
2054
2073
  }>, never, EventObject>;
2055
2074
  readonly target: "idle";
2056
2075
  };
@@ -2320,9 +2339,11 @@ export declare const diagramMachine: StateMachine<Context, Events, {
2320
2339
  }>, never, never, never, never>];
2321
2340
  readonly target: "focused";
2322
2341
  }, {
2323
- readonly actions: ActionFunction<Context, {
2324
- type: "xyflow.nodeClick";
2325
- node: Types.Node;
2342
+ readonly actions: readonly ["assign lastClickedNode", "open source of focused or last clicked node"];
2343
+ }];
2344
+ readonly 'xyflow.paneClick': {
2345
+ readonly actions: readonly [ ActionFunction<Context, {
2346
+ type: "xyflow.paneClick";
2326
2347
  }, Events, undefined, Values<{
2327
2348
  syncManualLayoutActorLogic: {
2328
2349
  src: "syncManualLayoutActorLogic";
@@ -2576,11 +2597,36 @@ export declare const diagramMachine: StateMachine<Context, Events, {
2576
2597
  }>;
2577
2598
  id: "overlays";
2578
2599
  };
2579
- }>, never, never, never, never>;
2580
- }];
2581
- readonly 'xyflow.paneClick': {
2582
- readonly actions: readonly [ ActionFunction<Context, {
2583
- type: "xyflow.paneClick";
2600
+ }>, never, never, never, never>];
2601
+ };
2602
+ readonly 'xyflow.paneDblClick': {
2603
+ readonly actions: readonly [{
2604
+ readonly type: "xyflow:fitDiagram";
2605
+ }, {
2606
+ readonly type: "trigger:OpenSource";
2607
+ readonly params: ({ context }: {
2608
+ context: Context;
2609
+ event: {
2610
+ type: "xyflow.paneDblClick";
2611
+ };
2612
+ }) => {
2613
+ view: ViewId<string>;
2614
+ };
2615
+ }];
2616
+ };
2617
+ readonly 'saveManualLayout.*': {
2618
+ readonly guard: "not readonly";
2619
+ readonly actions: ActionFunction<Context, {
2620
+ type: "saveManualLayout.schedule";
2621
+ } | {
2622
+ type: "saveManualLayout.cancel";
2623
+ }, Events, undefined, never, never, never, never, never>;
2624
+ };
2625
+ readonly 'focus.node': {
2626
+ readonly guard: "enabled: FocusMode";
2627
+ readonly actions: ActionFunction<Context, {
2628
+ type: "focus.node";
2629
+ nodeId: NodeId;
2584
2630
  }, Events, undefined, Values<{
2585
2631
  syncManualLayoutActorLogic: {
2586
2632
  src: "syncManualLayoutActorLogic";
@@ -2834,390 +2880,107 @@ export declare const diagramMachine: StateMachine<Context, Events, {
2834
2880
  }>;
2835
2881
  id: "overlays";
2836
2882
  };
2837
- }>, never, never, never, never>];
2883
+ }>, never, never, never, never>;
2884
+ readonly target: "focused";
2838
2885
  };
2839
- readonly 'xyflow.paneDblClick': {
2840
- readonly actions: readonly [{
2841
- readonly type: "xyflow:fitDiagram";
2886
+ };
2887
+ };
2888
+ readonly focused: {
2889
+ readonly entry: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
2890
+ syncManualLayoutActorLogic: {
2891
+ src: "syncManualLayoutActorLogic";
2892
+ logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
2893
+ type: "trigger:OnChange";
2894
+ params: {
2895
+ change: ViewChange;
2896
+ };
2842
2897
  }, {
2843
- readonly type: "trigger:OpenSource";
2844
- readonly params: ({ context }: {
2845
- context: Context;
2846
- event: {
2847
- type: "xyflow.paneDblClick";
2898
+ type: "same view";
2899
+ params: unknown;
2900
+ }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
2901
+ readonly initial: "idle";
2902
+ readonly context: ({ input }: {
2903
+ spawn: {
2904
+ <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
2905
+ <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
2906
+ id?: never;
2907
+ systemId?: string;
2908
+ input?: InputFrom<TLogic>;
2909
+ syncSnapshot?: boolean;
2910
+ } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
2848
2911
  };
2912
+ input: Input;
2913
+ self: ActorRef< MachineSnapshot<Readonly< Input>, SyncLayoutEvents, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, SyncLayoutEvents, AnyEventObject>;
2849
2914
  }) => {
2850
- view: ViewId<string>;
2915
+ parent: ActorRef< MachineSnapshot<Context, Events, any, any, any, any, any, any>, Events, any>;
2916
+ viewId: ViewId;
2851
2917
  };
2852
- }];
2853
- };
2854
- readonly 'saveManualLayout.*': {
2855
- readonly guard: "not readonly";
2856
- readonly actions: ActionFunction<Context, {
2857
- type: "saveManualLayout.schedule";
2858
- } | {
2859
- type: "saveManualLayout.cancel";
2860
- }, Events, undefined, never, never, never, never, never>;
2861
- };
2862
- readonly 'focus.node': {
2863
- readonly guard: "enabled: FocusMode";
2864
- readonly actions: ActionFunction<Context, {
2865
- type: "focus.node";
2866
- nodeId: NodeId;
2867
- }, Events, undefined, Values<{
2868
- syncManualLayoutActorLogic: {
2869
- src: "syncManualLayoutActorLogic";
2870
- logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
2871
- type: "trigger:OnChange";
2872
- params: {
2873
- change: ViewChange;
2874
- };
2875
- }, {
2876
- type: "same view";
2877
- params: unknown;
2878
- }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
2879
- readonly initial: "idle";
2880
- readonly context: ({ input }: {
2881
- spawn: {
2882
- <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
2883
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
2884
- id?: never;
2885
- systemId?: string;
2886
- input?: InputFrom<TLogic>;
2887
- syncSnapshot?: boolean;
2888
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
2918
+ readonly states: {
2919
+ readonly idle: {
2920
+ readonly tags: "ready";
2921
+ readonly on: {
2922
+ readonly sync: {
2923
+ readonly target: "pending";
2889
2924
  };
2890
- input: Input;
2891
- self: ActorRef< MachineSnapshot<Readonly< Input>, SyncLayoutEvents, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, SyncLayoutEvents, AnyEventObject>;
2892
- }) => {
2893
- parent: ActorRef< MachineSnapshot<Context, Events, any, any, any, any, any, any>, Events, any>;
2894
- viewId: ViewId;
2895
2925
  };
2896
- readonly states: {
2897
- readonly idle: {
2898
- readonly tags: "ready";
2899
- readonly on: {
2900
- readonly sync: {
2901
- readonly target: "pending";
2902
- };
2903
- };
2926
+ };
2927
+ readonly paused: {
2928
+ readonly tags: "pending";
2929
+ readonly on: {
2930
+ readonly sync: {
2931
+ readonly target: "pending";
2904
2932
  };
2905
- readonly paused: {
2906
- readonly tags: "pending";
2907
- readonly on: {
2908
- readonly sync: {
2909
- readonly target: "pending";
2910
- };
2911
- };
2933
+ };
2934
+ };
2935
+ readonly pending: {
2936
+ readonly tags: "pending";
2937
+ readonly on: {
2938
+ readonly sync: {
2939
+ readonly target: "pending";
2940
+ readonly reenter: true;
2912
2941
  };
2913
- readonly pending: {
2914
- readonly tags: "pending";
2915
- readonly on: {
2916
- readonly sync: {
2917
- readonly target: "pending";
2918
- readonly reenter: true;
2919
- };
2920
- readonly cancel: {
2921
- readonly target: "paused";
2922
- };
2923
- };
2924
- readonly after: {
2925
- readonly timeout: readonly [{
2926
- readonly guard: "same view";
2927
- readonly actions: {
2928
- readonly type: "trigger:OnChange";
2929
- readonly params: ({ context }: {
2930
- context: Readonly< Input>;
2931
- event: SyncLayoutEvents;
2932
- }) => {
2933
- change: ViewChange.SaveManualLayout;
2934
- };
2935
- };
2936
- readonly target: "synced";
2937
- }, {
2938
- readonly target: "stopped";
2939
- }];
2940
- };
2942
+ readonly cancel: {
2943
+ readonly target: "paused";
2941
2944
  };
2942
- readonly synced: {
2943
- readonly tags: "ready";
2944
- readonly on: {
2945
- readonly sync: {
2946
- readonly target: "pending";
2945
+ };
2946
+ readonly after: {
2947
+ readonly timeout: readonly [{
2948
+ readonly guard: "same view";
2949
+ readonly actions: {
2950
+ readonly type: "trigger:OnChange";
2951
+ readonly params: ({ context }: {
2952
+ context: Readonly< Input>;
2953
+ event: SyncLayoutEvents;
2954
+ }) => {
2955
+ change: ViewChange.SaveManualLayout;
2947
2956
  };
2948
2957
  };
2949
- };
2950
- readonly stopped: {
2951
- readonly entry: ActionFunction<Readonly< Input>, SyncLayoutEvents, SyncLayoutEvents, undefined, never, never, never, never, never>;
2952
- readonly type: "final";
2953
- };
2958
+ readonly target: "synced";
2959
+ }, {
2960
+ readonly target: "stopped";
2961
+ }];
2954
2962
  };
2963
+ };
2964
+ readonly synced: {
2965
+ readonly tags: "ready";
2955
2966
  readonly on: {
2956
- readonly synced: {
2957
- readonly target: ".synced";
2958
- };
2959
- readonly stop: {
2960
- readonly target: ".stopped";
2967
+ readonly sync: {
2968
+ readonly target: "pending";
2961
2969
  };
2962
2970
  };
2963
- }>;
2964
- id: "syncLayout";
2971
+ };
2972
+ readonly stopped: {
2973
+ readonly entry: ActionFunction<Readonly< Input>, SyncLayoutEvents, SyncLayoutEvents, undefined, never, never, never, never, never>;
2974
+ readonly type: "final";
2975
+ };
2965
2976
  };
2966
- hotkeyActorLogic: {
2967
- src: "hotkeyActorLogic";
2968
- logic: CallbackActorLogic<AnyEventObject, NonReducibleUnknown, HotKeyEvent>;
2969
- id: "hotkey";
2970
- };
2971
- overlaysActorLogic: {
2972
- src: "overlaysActorLogic";
2973
- logic: StateMachine<OverlaysContext, OverlayActorEvent, {
2974
- [x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
2975
- [x: `relationshipDetails-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipDetails.Logic> | undefined;
2976
- [x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipsBrowser.Logic> | undefined;
2977
- hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
2978
- }, Values<{
2979
- elementDetails: {
2980
- src: "elementDetails";
2981
- logic: ElementDetailsLogic;
2982
- id: `elementDetails-${number}`;
2983
- };
2984
- relationshipDetails: {
2985
- src: "relationshipDetails";
2986
- logic: import("../overlays/types").Overlays.RelationshipDetails.Logic;
2987
- id: `relationshipDetails-${number}`;
2988
- };
2989
- relationshipsBrowser: {
2990
- src: "relationshipsBrowser";
2991
- logic: import("../overlays/types").Overlays.RelationshipsBrowser.Logic;
2992
- id: `relationshipsBrowser-${number}`;
2993
- };
2994
- hotkey: {
2995
- src: "hotkey";
2996
- logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
2997
- id: "hotkey";
2998
- };
2999
- }>, Values<{
3000
- closeLastOverlay: {
3001
- type: "closeLastOverlay";
3002
- params: NonReducibleUnknown;
3003
- };
3004
- closeSpecificOverlay: {
3005
- type: "closeSpecificOverlay";
3006
- params: {
3007
- actorId: string;
3008
- };
3009
- };
3010
- closeAllOverlays: {
3011
- type: "closeAllOverlays";
3012
- params: NonReducibleUnknown;
3013
- };
3014
- openElementDetails: {
3015
- type: "openElementDetails";
3016
- params: NonReducibleUnknown;
3017
- };
3018
- openRelationshipDetails: {
3019
- type: "openRelationshipDetails";
3020
- params: NonReducibleUnknown;
3021
- };
3022
- openRelationshipsBrowser: {
3023
- type: "openRelationshipsBrowser";
3024
- params: NonReducibleUnknown;
3025
- };
3026
- listenToEsc: {
3027
- type: "listenToEsc";
3028
- params: NonReducibleUnknown;
3029
- };
3030
- stopListeningToEsc: {
3031
- type: "stopListeningToEsc";
3032
- params: NonReducibleUnknown;
3033
- };
3034
- }>, Values<{
3035
- "has overlays?": {
3036
- type: "has overlays?";
3037
- params: unknown;
3038
- };
3039
- "close specific overlay?": {
3040
- type: "close specific overlay?";
3041
- params: unknown;
3042
- };
3043
- "last: is relationshipDetails?": {
3044
- type: "last: is relationshipDetails?";
3045
- params: unknown;
3046
- };
3047
- "last: is relationshipsBrowser?": {
3048
- type: "last: is relationshipsBrowser?";
3049
- params: unknown;
3050
- };
3051
- }>, never, "active" | "idle" | "closing", string, NonReducibleUnknown, NonReducibleUnknown, OverlayActorEmitedEvent, MetaObject, {
3052
- readonly id: "overlays";
3053
- readonly context: () => {
3054
- seq: number;
3055
- overlays: never[];
3056
- };
3057
- readonly initial: "idle";
3058
- readonly on: {
3059
- readonly 'open.elementDetails': {
3060
- readonly actions: "openElementDetails";
3061
- readonly target: ".active";
3062
- readonly reenter: false;
3063
- };
3064
- readonly 'open.relationshipDetails': {
3065
- readonly actions: "openRelationshipDetails";
3066
- readonly target: ".active";
3067
- readonly reenter: false;
3068
- };
3069
- readonly 'open.relationshipsBrowser': {
3070
- readonly actions: "openRelationshipsBrowser";
3071
- readonly target: ".active";
3072
- readonly reenter: false;
3073
- };
3074
- };
3075
- readonly states: {
3076
- readonly idle: {};
3077
- readonly active: {
3078
- readonly entry: "listenToEsc";
3079
- readonly exit: "stopListeningToEsc";
3080
- readonly on: {
3081
- readonly close: readonly [{
3082
- readonly guard: "close specific overlay?";
3083
- readonly actions: {
3084
- readonly type: "closeSpecificOverlay";
3085
- readonly params: ({ event }: {
3086
- context: OverlaysContext;
3087
- event: {
3088
- type: "close";
3089
- actorId?: string | undefined;
3090
- };
3091
- }) => {
3092
- actorId: string;
3093
- };
3094
- };
3095
- readonly target: "closing";
3096
- }, {
3097
- readonly actions: "closeLastOverlay";
3098
- readonly target: "closing";
3099
- }];
3100
- readonly 'close.all': {
3101
- readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
3102
- readonly target: "idle";
3103
- };
3104
- };
3105
- };
3106
- readonly closing: {
3107
- readonly always: readonly [{
3108
- readonly guard: "has overlays?";
3109
- readonly target: "active";
3110
- }, {
3111
- readonly actions: "stopListeningToEsc";
3112
- readonly target: "idle";
3113
- }];
3114
- };
3115
- };
3116
- readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
3117
- }>;
3118
- id: "overlays";
3119
- };
3120
- }>, never, never, never, never>;
3121
- readonly target: "focused";
3122
- };
3123
- };
3124
- };
3125
- readonly focused: {
3126
- readonly entry: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
3127
- syncManualLayoutActorLogic: {
3128
- src: "syncManualLayoutActorLogic";
3129
- logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
3130
- type: "trigger:OnChange";
3131
- params: {
3132
- change: ViewChange;
3133
- };
3134
- }, {
3135
- type: "same view";
3136
- params: unknown;
3137
- }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
3138
- readonly initial: "idle";
3139
- readonly context: ({ input }: {
3140
- spawn: {
3141
- <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
3142
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
3143
- id?: never;
3144
- systemId?: string;
3145
- input?: InputFrom<TLogic>;
3146
- syncSnapshot?: boolean;
3147
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
3148
- };
3149
- input: Input;
3150
- self: ActorRef< MachineSnapshot<Readonly< Input>, SyncLayoutEvents, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, SyncLayoutEvents, AnyEventObject>;
3151
- }) => {
3152
- parent: ActorRef< MachineSnapshot<Context, Events, any, any, any, any, any, any>, Events, any>;
3153
- viewId: ViewId;
3154
- };
3155
- readonly states: {
3156
- readonly idle: {
3157
- readonly tags: "ready";
3158
- readonly on: {
3159
- readonly sync: {
3160
- readonly target: "pending";
3161
- };
3162
- };
3163
- };
3164
- readonly paused: {
3165
- readonly tags: "pending";
3166
- readonly on: {
3167
- readonly sync: {
3168
- readonly target: "pending";
3169
- };
3170
- };
3171
- };
3172
- readonly pending: {
3173
- readonly tags: "pending";
3174
- readonly on: {
3175
- readonly sync: {
3176
- readonly target: "pending";
3177
- readonly reenter: true;
3178
- };
3179
- readonly cancel: {
3180
- readonly target: "paused";
3181
- };
3182
- };
3183
- readonly after: {
3184
- readonly timeout: readonly [{
3185
- readonly guard: "same view";
3186
- readonly actions: {
3187
- readonly type: "trigger:OnChange";
3188
- readonly params: ({ context }: {
3189
- context: Readonly< Input>;
3190
- event: SyncLayoutEvents;
3191
- }) => {
3192
- change: ViewChange.SaveManualLayout;
3193
- };
3194
- };
3195
- readonly target: "synced";
3196
- }, {
3197
- readonly target: "stopped";
3198
- }];
3199
- };
3200
- };
3201
- readonly synced: {
3202
- readonly tags: "ready";
3203
- readonly on: {
3204
- readonly sync: {
3205
- readonly target: "pending";
3206
- };
3207
- };
3208
- };
3209
- readonly stopped: {
3210
- readonly entry: ActionFunction<Readonly< Input>, SyncLayoutEvents, SyncLayoutEvents, undefined, never, never, never, never, never>;
3211
- readonly type: "final";
3212
- };
3213
- };
3214
- readonly on: {
3215
- readonly synced: {
3216
- readonly target: ".synced";
3217
- };
3218
- readonly stop: {
3219
- readonly target: ".stopped";
3220
- };
2977
+ readonly on: {
2978
+ readonly synced: {
2979
+ readonly target: ".synced";
2980
+ };
2981
+ readonly stop: {
2982
+ readonly target: ".stopped";
2983
+ };
3221
2984
  };
3222
2985
  }>;
3223
2986
  id: "syncLayout";
@@ -3376,7 +3139,7 @@ export declare const diagramMachine: StateMachine<Context, Events, {
3376
3139
  }>;
3377
3140
  id: "overlays";
3378
3141
  };
3379
- }>, never, never, never, never>, "open source of focused node", ActionFunction<Context, Events, Events, undefined, Values<{
3142
+ }>, never, never, never, never>, "open source of focused or last clicked node", ActionFunction<Context, Events, Events, undefined, Values<{
3380
3143
  syncManualLayoutActorLogic: {
3381
3144
  src: "syncManualLayoutActorLogic";
3382
3145
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -3629,10 +3392,7 @@ export declare const diagramMachine: StateMachine<Context, Events, {
3629
3392
  }>;
3630
3393
  id: "overlays";
3631
3394
  };
3632
- }>, never, never, never, never>, {
3633
- readonly type: "xyflow:fitDiagram";
3634
- readonly params: typeof focusedBounds;
3635
- }];
3395
+ }>, never, never, never, never>, "xyflow:fitFocusedBounds"];
3636
3396
  readonly exit: ActionFunction<Context, Events, Events, undefined, Values<{
3637
3397
  syncManualLayoutActorLogic: {
3638
3398
  src: "syncManualLayoutActorLogic";
@@ -3920,10 +3680,18 @@ export declare const diagramMachine: StateMachine<Context, Events, {
3920
3680
  type: "trigger:OpenSource";
3921
3681
  params: OpenSourceParams;
3922
3682
  };
3923
- "open source of focused node": {
3924
- type: "open source of focused node";
3683
+ "assign lastClickedNode": {
3684
+ type: "assign lastClickedNode";
3925
3685
  params: NonReducibleUnknown;
3926
3686
  };
3687
+ "open source of focused or last clicked node": {
3688
+ type: "open source of focused or last clicked node";
3689
+ params: NonReducibleUnknown;
3690
+ };
3691
+ "xyflow:fitFocusedBounds": {
3692
+ type: "xyflow:fitFocusedBounds";
3693
+ params: unknown;
3694
+ };
3927
3695
  "xyflow:setViewportCenter": {
3928
3696
  type: "xyflow:setViewportCenter";
3929
3697
  params: {
@@ -3978,8 +3746,8 @@ export declare const diagramMachine: StateMachine<Context, Events, {
3978
3746
  type: "is another view";
3979
3747
  params: unknown;
3980
3748
  };
3981
- "click: selected node ": {
3982
- type: "click: selected node ";
3749
+ "click: selected node": {
3750
+ type: "click: selected node";
3983
3751
  params: unknown;
3984
3752
  };
3985
3753
  "click: same node": {
@@ -3990,6 +3758,10 @@ export declare const diagramMachine: StateMachine<Context, Events, {
3990
3758
  type: "click: focused node";
3991
3759
  params: unknown;
3992
3760
  };
3761
+ "click: node has connections": {
3762
+ type: "click: node has connections";
3763
+ params: unknown;
3764
+ };
3993
3765
  }>, never, EventObject>;
3994
3766
  readonly on: {
3995
3767
  readonly 'xyflow.nodeClick': readonly [{
@@ -4252,7 +4024,16 @@ export declare const diagramMachine: StateMachine<Context, Events, {
4252
4024
  }>;
4253
4025
  id: "overlays";
4254
4026
  };
4255
- }>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, Values<{
4027
+ }>, never, never, never, never>, ActionFunction<Context, {
4028
+ type: "xyflow.nodeClick";
4029
+ node: Types.Node;
4030
+ }, Events, undefined, never, never, never, never, never>];
4031
+ }];
4032
+ readonly 'focus.node': {
4033
+ readonly actions: readonly [ ActionFunction<Context, {
4034
+ type: "focus.node";
4035
+ nodeId: NodeId;
4036
+ }, Events, undefined, Values<{
4256
4037
  syncManualLayoutActorLogic: {
4257
4038
  src: "syncManualLayoutActorLogic";
4258
4039
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -4505,16 +4286,7 @@ export declare const diagramMachine: StateMachine<Context, Events, {
4505
4286
  }>;
4506
4287
  id: "overlays";
4507
4288
  };
4508
- }>, never, never, never, never>, "open source of focused node", {
4509
- readonly type: "xyflow:fitDiagram";
4510
- readonly params: typeof focusedBounds;
4511
- }];
4512
- }];
4513
- readonly 'focus.node': {
4514
- readonly actions: readonly [ ActionFunction<Context, {
4515
- type: "focus.node";
4516
- nodeId: NodeId;
4517
- }, Events, undefined, Values<{
4289
+ }>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, Values<{
4518
4290
  syncManualLayoutActorLogic: {
4519
4291
  src: "syncManualLayoutActorLogic";
4520
4292
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -4767,7 +4539,15 @@ export declare const diagramMachine: StateMachine<Context, Events, {
4767
4539
  }>;
4768
4540
  id: "overlays";
4769
4541
  };
4770
- }>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, Values<{
4542
+ }>, never, never, never, never>, "open source of focused or last clicked node", "xyflow:fitFocusedBounds"];
4543
+ };
4544
+ readonly 'key.esc': {
4545
+ readonly target: "idle";
4546
+ };
4547
+ readonly 'xyflow.paneClick': {
4548
+ readonly actions: ActionFunction<Context, {
4549
+ type: "xyflow.paneClick";
4550
+ }, Events, undefined, Values<{
4771
4551
  syncManualLayoutActorLogic: {
4772
4552
  src: "syncManualLayoutActorLogic";
4773
4553
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -5020,289 +4800,291 @@ export declare const diagramMachine: StateMachine<Context, Events, {
5020
4800
  }>;
5021
4801
  id: "overlays";
5022
4802
  };
5023
- }>, never, never, never, never>, "open source of focused node", {
5024
- readonly type: "xyflow:fitDiagram";
5025
- readonly params: typeof focusedBounds;
5026
- }];
5027
- };
5028
- readonly 'key.esc': {
4803
+ }>, never, never, never, never>;
5029
4804
  readonly target: "idle";
5030
4805
  };
5031
- readonly 'xyflow.paneClick': {
4806
+ readonly 'saveManualLayout.*': {
4807
+ readonly guard: "not readonly";
5032
4808
  readonly actions: ActionFunction<Context, {
5033
- type: "xyflow.paneClick";
5034
- }, Events, undefined, Values<{
5035
- syncManualLayoutActorLogic: {
5036
- src: "syncManualLayoutActorLogic";
5037
- logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
5038
- type: "trigger:OnChange";
5039
- params: {
5040
- change: ViewChange;
5041
- };
5042
- }, {
5043
- type: "same view";
5044
- params: unknown;
5045
- }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
5046
- readonly initial: "idle";
5047
- readonly context: ({ input }: {
5048
- spawn: {
5049
- <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
5050
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
5051
- id?: never;
5052
- systemId?: string;
5053
- input?: InputFrom<TLogic>;
5054
- syncSnapshot?: boolean;
5055
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
4809
+ type: "saveManualLayout.schedule";
4810
+ } | {
4811
+ type: "saveManualLayout.cancel";
4812
+ }, Events, undefined, never, never, never, never, never>;
4813
+ };
4814
+ };
4815
+ };
4816
+ readonly navigating: {
4817
+ readonly entry: readonly ["closeAllOverlays", "stopSyncLayout", {
4818
+ readonly type: "trigger:NavigateTo";
4819
+ readonly params: ({ context }: {
4820
+ context: Context;
4821
+ event: Events;
4822
+ }) => {
4823
+ viewId: ViewId;
4824
+ };
4825
+ }];
4826
+ readonly exit: ActionFunction<Context, Events, Events, undefined, Values<{
4827
+ syncManualLayoutActorLogic: {
4828
+ src: "syncManualLayoutActorLogic";
4829
+ logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
4830
+ type: "trigger:OnChange";
4831
+ params: {
4832
+ change: ViewChange;
4833
+ };
4834
+ }, {
4835
+ type: "same view";
4836
+ params: unknown;
4837
+ }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
4838
+ readonly initial: "idle";
4839
+ readonly context: ({ input }: {
4840
+ spawn: {
4841
+ <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
4842
+ <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
4843
+ id?: never;
4844
+ systemId?: string;
4845
+ input?: InputFrom<TLogic>;
4846
+ syncSnapshot?: boolean;
4847
+ } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
4848
+ };
4849
+ input: Input;
4850
+ self: ActorRef< MachineSnapshot<Readonly< Input>, SyncLayoutEvents, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, SyncLayoutEvents, AnyEventObject>;
4851
+ }) => {
4852
+ parent: ActorRef< MachineSnapshot<Context, Events, any, any, any, any, any, any>, Events, any>;
4853
+ viewId: ViewId;
4854
+ };
4855
+ readonly states: {
4856
+ readonly idle: {
4857
+ readonly tags: "ready";
4858
+ readonly on: {
4859
+ readonly sync: {
4860
+ readonly target: "pending";
5056
4861
  };
5057
- input: Input;
5058
- self: ActorRef< MachineSnapshot<Readonly< Input>, SyncLayoutEvents, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, SyncLayoutEvents, AnyEventObject>;
5059
- }) => {
5060
- parent: ActorRef< MachineSnapshot<Context, Events, any, any, any, any, any, any>, Events, any>;
5061
- viewId: ViewId;
5062
4862
  };
5063
- readonly states: {
5064
- readonly idle: {
5065
- readonly tags: "ready";
5066
- readonly on: {
5067
- readonly sync: {
5068
- readonly target: "pending";
5069
- };
5070
- };
4863
+ };
4864
+ readonly paused: {
4865
+ readonly tags: "pending";
4866
+ readonly on: {
4867
+ readonly sync: {
4868
+ readonly target: "pending";
5071
4869
  };
5072
- readonly paused: {
5073
- readonly tags: "pending";
5074
- readonly on: {
5075
- readonly sync: {
5076
- readonly target: "pending";
5077
- };
5078
- };
4870
+ };
4871
+ };
4872
+ readonly pending: {
4873
+ readonly tags: "pending";
4874
+ readonly on: {
4875
+ readonly sync: {
4876
+ readonly target: "pending";
4877
+ readonly reenter: true;
5079
4878
  };
5080
- readonly pending: {
5081
- readonly tags: "pending";
5082
- readonly on: {
5083
- readonly sync: {
5084
- readonly target: "pending";
5085
- readonly reenter: true;
5086
- };
5087
- readonly cancel: {
5088
- readonly target: "paused";
5089
- };
5090
- };
5091
- readonly after: {
5092
- readonly timeout: readonly [{
5093
- readonly guard: "same view";
5094
- readonly actions: {
5095
- readonly type: "trigger:OnChange";
5096
- readonly params: ({ context }: {
5097
- context: Readonly< Input>;
5098
- event: SyncLayoutEvents;
5099
- }) => {
5100
- change: ViewChange.SaveManualLayout;
5101
- };
5102
- };
5103
- readonly target: "synced";
5104
- }, {
5105
- readonly target: "stopped";
5106
- }];
5107
- };
4879
+ readonly cancel: {
4880
+ readonly target: "paused";
5108
4881
  };
5109
- readonly synced: {
5110
- readonly tags: "ready";
5111
- readonly on: {
5112
- readonly sync: {
5113
- readonly target: "pending";
4882
+ };
4883
+ readonly after: {
4884
+ readonly timeout: readonly [{
4885
+ readonly guard: "same view";
4886
+ readonly actions: {
4887
+ readonly type: "trigger:OnChange";
4888
+ readonly params: ({ context }: {
4889
+ context: Readonly< Input>;
4890
+ event: SyncLayoutEvents;
4891
+ }) => {
4892
+ change: ViewChange.SaveManualLayout;
5114
4893
  };
5115
4894
  };
5116
- };
5117
- readonly stopped: {
5118
- readonly entry: ActionFunction<Readonly< Input>, SyncLayoutEvents, SyncLayoutEvents, undefined, never, never, never, never, never>;
5119
- readonly type: "final";
5120
- };
4895
+ readonly target: "synced";
4896
+ }, {
4897
+ readonly target: "stopped";
4898
+ }];
5121
4899
  };
4900
+ };
4901
+ readonly synced: {
4902
+ readonly tags: "ready";
5122
4903
  readonly on: {
5123
- readonly synced: {
5124
- readonly target: ".synced";
5125
- };
5126
- readonly stop: {
5127
- readonly target: ".stopped";
4904
+ readonly sync: {
4905
+ readonly target: "pending";
5128
4906
  };
5129
4907
  };
5130
- }>;
5131
- id: "syncLayout";
4908
+ };
4909
+ readonly stopped: {
4910
+ readonly entry: ActionFunction<Readonly< Input>, SyncLayoutEvents, SyncLayoutEvents, undefined, never, never, never, never, never>;
4911
+ readonly type: "final";
4912
+ };
5132
4913
  };
5133
- hotkeyActorLogic: {
5134
- src: "hotkeyActorLogic";
5135
- logic: CallbackActorLogic<AnyEventObject, NonReducibleUnknown, HotKeyEvent>;
5136
- id: "hotkey";
4914
+ readonly on: {
4915
+ readonly synced: {
4916
+ readonly target: ".synced";
4917
+ };
4918
+ readonly stop: {
4919
+ readonly target: ".stopped";
4920
+ };
5137
4921
  };
5138
- overlaysActorLogic: {
5139
- src: "overlaysActorLogic";
5140
- logic: StateMachine<OverlaysContext, OverlayActorEvent, {
5141
- [x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
5142
- [x: `relationshipDetails-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipDetails.Logic> | undefined;
5143
- [x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipsBrowser.Logic> | undefined;
5144
- hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
5145
- }, Values<{
5146
- elementDetails: {
5147
- src: "elementDetails";
5148
- logic: ElementDetailsLogic;
5149
- id: `elementDetails-${number}`;
5150
- };
5151
- relationshipDetails: {
5152
- src: "relationshipDetails";
5153
- logic: import("../overlays/types").Overlays.RelationshipDetails.Logic;
5154
- id: `relationshipDetails-${number}`;
5155
- };
5156
- relationshipsBrowser: {
5157
- src: "relationshipsBrowser";
5158
- logic: import("../overlays/types").Overlays.RelationshipsBrowser.Logic;
5159
- id: `relationshipsBrowser-${number}`;
5160
- };
5161
- hotkey: {
5162
- src: "hotkey";
5163
- logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
5164
- id: "hotkey";
5165
- };
5166
- }>, Values<{
5167
- closeLastOverlay: {
5168
- type: "closeLastOverlay";
5169
- params: NonReducibleUnknown;
5170
- };
5171
- closeSpecificOverlay: {
5172
- type: "closeSpecificOverlay";
5173
- params: {
5174
- actorId: string;
5175
- };
5176
- };
5177
- closeAllOverlays: {
5178
- type: "closeAllOverlays";
5179
- params: NonReducibleUnknown;
5180
- };
5181
- openElementDetails: {
5182
- type: "openElementDetails";
5183
- params: NonReducibleUnknown;
5184
- };
5185
- openRelationshipDetails: {
5186
- type: "openRelationshipDetails";
5187
- params: NonReducibleUnknown;
5188
- };
5189
- openRelationshipsBrowser: {
5190
- type: "openRelationshipsBrowser";
5191
- params: NonReducibleUnknown;
5192
- };
5193
- listenToEsc: {
5194
- type: "listenToEsc";
5195
- params: NonReducibleUnknown;
5196
- };
5197
- stopListeningToEsc: {
5198
- type: "stopListeningToEsc";
5199
- params: NonReducibleUnknown;
5200
- };
5201
- }>, Values<{
5202
- "has overlays?": {
5203
- type: "has overlays?";
5204
- params: unknown;
5205
- };
5206
- "close specific overlay?": {
5207
- type: "close specific overlay?";
5208
- params: unknown;
5209
- };
5210
- "last: is relationshipDetails?": {
5211
- type: "last: is relationshipDetails?";
5212
- params: unknown;
5213
- };
5214
- "last: is relationshipsBrowser?": {
5215
- type: "last: is relationshipsBrowser?";
5216
- params: unknown;
5217
- };
5218
- }>, never, "active" | "idle" | "closing", string, NonReducibleUnknown, NonReducibleUnknown, OverlayActorEmitedEvent, MetaObject, {
5219
- readonly id: "overlays";
5220
- readonly context: () => {
5221
- seq: number;
5222
- overlays: never[];
5223
- };
5224
- readonly initial: "idle";
4922
+ }>;
4923
+ id: "syncLayout";
4924
+ };
4925
+ hotkeyActorLogic: {
4926
+ src: "hotkeyActorLogic";
4927
+ logic: CallbackActorLogic<AnyEventObject, NonReducibleUnknown, HotKeyEvent>;
4928
+ id: "hotkey";
4929
+ };
4930
+ overlaysActorLogic: {
4931
+ src: "overlaysActorLogic";
4932
+ logic: StateMachine<OverlaysContext, OverlayActorEvent, {
4933
+ [x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
4934
+ [x: `relationshipDetails-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipDetails.Logic> | undefined;
4935
+ [x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipsBrowser.Logic> | undefined;
4936
+ hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
4937
+ }, Values<{
4938
+ elementDetails: {
4939
+ src: "elementDetails";
4940
+ logic: ElementDetailsLogic;
4941
+ id: `elementDetails-${number}`;
4942
+ };
4943
+ relationshipDetails: {
4944
+ src: "relationshipDetails";
4945
+ logic: import("../overlays/types").Overlays.RelationshipDetails.Logic;
4946
+ id: `relationshipDetails-${number}`;
4947
+ };
4948
+ relationshipsBrowser: {
4949
+ src: "relationshipsBrowser";
4950
+ logic: import("../overlays/types").Overlays.RelationshipsBrowser.Logic;
4951
+ id: `relationshipsBrowser-${number}`;
4952
+ };
4953
+ hotkey: {
4954
+ src: "hotkey";
4955
+ logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
4956
+ id: "hotkey";
4957
+ };
4958
+ }>, Values<{
4959
+ closeLastOverlay: {
4960
+ type: "closeLastOverlay";
4961
+ params: NonReducibleUnknown;
4962
+ };
4963
+ closeSpecificOverlay: {
4964
+ type: "closeSpecificOverlay";
4965
+ params: {
4966
+ actorId: string;
4967
+ };
4968
+ };
4969
+ closeAllOverlays: {
4970
+ type: "closeAllOverlays";
4971
+ params: NonReducibleUnknown;
4972
+ };
4973
+ openElementDetails: {
4974
+ type: "openElementDetails";
4975
+ params: NonReducibleUnknown;
4976
+ };
4977
+ openRelationshipDetails: {
4978
+ type: "openRelationshipDetails";
4979
+ params: NonReducibleUnknown;
4980
+ };
4981
+ openRelationshipsBrowser: {
4982
+ type: "openRelationshipsBrowser";
4983
+ params: NonReducibleUnknown;
4984
+ };
4985
+ listenToEsc: {
4986
+ type: "listenToEsc";
4987
+ params: NonReducibleUnknown;
4988
+ };
4989
+ stopListeningToEsc: {
4990
+ type: "stopListeningToEsc";
4991
+ params: NonReducibleUnknown;
4992
+ };
4993
+ }>, Values<{
4994
+ "has overlays?": {
4995
+ type: "has overlays?";
4996
+ params: unknown;
4997
+ };
4998
+ "close specific overlay?": {
4999
+ type: "close specific overlay?";
5000
+ params: unknown;
5001
+ };
5002
+ "last: is relationshipDetails?": {
5003
+ type: "last: is relationshipDetails?";
5004
+ params: unknown;
5005
+ };
5006
+ "last: is relationshipsBrowser?": {
5007
+ type: "last: is relationshipsBrowser?";
5008
+ params: unknown;
5009
+ };
5010
+ }>, never, "active" | "idle" | "closing", string, NonReducibleUnknown, NonReducibleUnknown, OverlayActorEmitedEvent, MetaObject, {
5011
+ readonly id: "overlays";
5012
+ readonly context: () => {
5013
+ seq: number;
5014
+ overlays: never[];
5015
+ };
5016
+ readonly initial: "idle";
5017
+ readonly on: {
5018
+ readonly 'open.elementDetails': {
5019
+ readonly actions: "openElementDetails";
5020
+ readonly target: ".active";
5021
+ readonly reenter: false;
5022
+ };
5023
+ readonly 'open.relationshipDetails': {
5024
+ readonly actions: "openRelationshipDetails";
5025
+ readonly target: ".active";
5026
+ readonly reenter: false;
5027
+ };
5028
+ readonly 'open.relationshipsBrowser': {
5029
+ readonly actions: "openRelationshipsBrowser";
5030
+ readonly target: ".active";
5031
+ readonly reenter: false;
5032
+ };
5033
+ };
5034
+ readonly states: {
5035
+ readonly idle: {};
5036
+ readonly active: {
5037
+ readonly entry: "listenToEsc";
5038
+ readonly exit: "stopListeningToEsc";
5225
5039
  readonly on: {
5226
- readonly 'open.elementDetails': {
5227
- readonly actions: "openElementDetails";
5228
- readonly target: ".active";
5229
- readonly reenter: false;
5230
- };
5231
- readonly 'open.relationshipDetails': {
5232
- readonly actions: "openRelationshipDetails";
5233
- readonly target: ".active";
5234
- readonly reenter: false;
5235
- };
5236
- readonly 'open.relationshipsBrowser': {
5237
- readonly actions: "openRelationshipsBrowser";
5238
- readonly target: ".active";
5239
- readonly reenter: false;
5240
- };
5241
- };
5242
- readonly states: {
5243
- readonly idle: {};
5244
- readonly active: {
5245
- readonly entry: "listenToEsc";
5246
- readonly exit: "stopListeningToEsc";
5247
- readonly on: {
5248
- readonly close: readonly [{
5249
- readonly guard: "close specific overlay?";
5250
- readonly actions: {
5251
- readonly type: "closeSpecificOverlay";
5252
- readonly params: ({ event }: {
5253
- context: OverlaysContext;
5254
- event: {
5255
- type: "close";
5256
- actorId?: string | undefined;
5257
- };
5258
- }) => {
5259
- actorId: string;
5260
- };
5040
+ readonly close: readonly [{
5041
+ readonly guard: "close specific overlay?";
5042
+ readonly actions: {
5043
+ readonly type: "closeSpecificOverlay";
5044
+ readonly params: ({ event }: {
5045
+ context: OverlaysContext;
5046
+ event: {
5047
+ type: "close";
5048
+ actorId?: string | undefined;
5261
5049
  };
5262
- readonly target: "closing";
5263
- }, {
5264
- readonly actions: "closeLastOverlay";
5265
- readonly target: "closing";
5266
- }];
5267
- readonly 'close.all': {
5268
- readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
5269
- readonly target: "idle";
5050
+ }) => {
5051
+ actorId: string;
5270
5052
  };
5271
5053
  };
5272
- };
5273
- readonly closing: {
5274
- readonly always: readonly [{
5275
- readonly guard: "has overlays?";
5276
- readonly target: "active";
5277
- }, {
5278
- readonly actions: "stopListeningToEsc";
5279
- readonly target: "idle";
5280
- }];
5054
+ readonly target: "closing";
5055
+ }, {
5056
+ readonly actions: "closeLastOverlay";
5057
+ readonly target: "closing";
5058
+ }];
5059
+ readonly 'close.all': {
5060
+ readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
5061
+ readonly target: "idle";
5281
5062
  };
5282
5063
  };
5283
- readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
5284
- }>;
5285
- id: "overlays";
5064
+ };
5065
+ readonly closing: {
5066
+ readonly always: readonly [{
5067
+ readonly guard: "has overlays?";
5068
+ readonly target: "active";
5069
+ }, {
5070
+ readonly actions: "stopListeningToEsc";
5071
+ readonly target: "idle";
5072
+ }];
5073
+ };
5286
5074
  };
5287
- }>, never, never, never, never>;
5288
- readonly target: "idle";
5075
+ readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
5076
+ }>;
5077
+ id: "overlays";
5289
5078
  };
5290
- readonly 'saveManualLayout.*': {
5291
- readonly guard: "not readonly";
5079
+ }>, never, never, never, never>;
5080
+ readonly on: {
5081
+ readonly 'update.view': {
5292
5082
  readonly actions: ActionFunction<Context, {
5293
- type: "saveManualLayout.schedule";
5294
- } | {
5295
- type: "saveManualLayout.cancel";
5296
- }, Events, undefined, never, never, never, never, never>;
5297
- };
5298
- };
5299
- };
5300
- readonly navigating: {
5301
- readonly initial: "pending";
5302
- readonly type: "compound";
5303
- readonly states: {
5304
- readonly pending: {
5305
- readonly entry: ActionFunction<Context, Events, Events, undefined, Values<{
5083
+ type: "update.view";
5084
+ view: DiagramView;
5085
+ xynodes: Types.Node[];
5086
+ xyedges: Types.Edge[];
5087
+ }, Events, undefined, Values<{
5306
5088
  syncManualLayoutActorLogic: {
5307
5089
  src: "syncManualLayoutActorLogic";
5308
5090
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -5589,10 +5371,18 @@ export declare const diagramMachine: StateMachine<Context, Events, {
5589
5371
  type: "trigger:OpenSource";
5590
5372
  params: OpenSourceParams;
5591
5373
  };
5592
- "open source of focused node": {
5593
- type: "open source of focused node";
5374
+ "assign lastClickedNode": {
5375
+ type: "assign lastClickedNode";
5594
5376
  params: NonReducibleUnknown;
5595
5377
  };
5378
+ "open source of focused or last clicked node": {
5379
+ type: "open source of focused or last clicked node";
5380
+ params: NonReducibleUnknown;
5381
+ };
5382
+ "xyflow:fitFocusedBounds": {
5383
+ type: "xyflow:fitFocusedBounds";
5384
+ params: unknown;
5385
+ };
5596
5386
  "xyflow:setViewportCenter": {
5597
5387
  type: "xyflow:setViewportCenter";
5598
5388
  params: {
@@ -5647,396 +5437,29 @@ export declare const diagramMachine: StateMachine<Context, Events, {
5647
5437
  type: "is another view";
5648
5438
  params: unknown;
5649
5439
  };
5650
- "click: selected node ": {
5651
- type: "click: selected node ";
5440
+ "click: selected node": {
5441
+ type: "click: selected node";
5652
5442
  params: unknown;
5653
5443
  };
5654
5444
  "click: same node": {
5655
5445
  type: "click: same node";
5656
5446
  params: unknown;
5657
5447
  };
5658
- "click: focused node": {
5659
- type: "click: focused node";
5660
- params: unknown;
5661
- };
5662
- }>, never, EventObject>;
5663
- readonly on: {
5664
- readonly 'update.view': {
5665
- readonly actions: ActionFunction<Context, {
5666
- type: "update.view";
5667
- view: DiagramView;
5668
- xynodes: Types.Node[];
5669
- xyedges: Types.Edge[];
5670
- }, Events, undefined, Values<{
5671
- syncManualLayoutActorLogic: {
5672
- src: "syncManualLayoutActorLogic";
5673
- logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
5674
- type: "trigger:OnChange";
5675
- params: {
5676
- change: ViewChange;
5677
- };
5678
- }, {
5679
- type: "same view";
5680
- params: unknown;
5681
- }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
5682
- readonly initial: "idle";
5683
- readonly context: ({ input }: {
5684
- spawn: {
5685
- <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
5686
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
5687
- id?: never;
5688
- systemId?: string;
5689
- input?: InputFrom<TLogic>;
5690
- syncSnapshot?: boolean;
5691
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
5692
- };
5693
- input: Input;
5694
- self: ActorRef< MachineSnapshot<Readonly< Input>, SyncLayoutEvents, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, SyncLayoutEvents, AnyEventObject>;
5695
- }) => {
5696
- parent: ActorRef< MachineSnapshot<Context, Events, any, any, any, any, any, any>, Events, any>;
5697
- viewId: ViewId;
5698
- };
5699
- readonly states: {
5700
- readonly idle: {
5701
- readonly tags: "ready";
5702
- readonly on: {
5703
- readonly sync: {
5704
- readonly target: "pending";
5705
- };
5706
- };
5707
- };
5708
- readonly paused: {
5709
- readonly tags: "pending";
5710
- readonly on: {
5711
- readonly sync: {
5712
- readonly target: "pending";
5713
- };
5714
- };
5715
- };
5716
- readonly pending: {
5717
- readonly tags: "pending";
5718
- readonly on: {
5719
- readonly sync: {
5720
- readonly target: "pending";
5721
- readonly reenter: true;
5722
- };
5723
- readonly cancel: {
5724
- readonly target: "paused";
5725
- };
5726
- };
5727
- readonly after: {
5728
- readonly timeout: readonly [{
5729
- readonly guard: "same view";
5730
- readonly actions: {
5731
- readonly type: "trigger:OnChange";
5732
- readonly params: ({ context }: {
5733
- context: Readonly< Input>;
5734
- event: SyncLayoutEvents;
5735
- }) => {
5736
- change: ViewChange.SaveManualLayout;
5737
- };
5738
- };
5739
- readonly target: "synced";
5740
- }, {
5741
- readonly target: "stopped";
5742
- }];
5743
- };
5744
- };
5745
- readonly synced: {
5746
- readonly tags: "ready";
5747
- readonly on: {
5748
- readonly sync: {
5749
- readonly target: "pending";
5750
- };
5751
- };
5752
- };
5753
- readonly stopped: {
5754
- readonly entry: ActionFunction<Readonly< Input>, SyncLayoutEvents, SyncLayoutEvents, undefined, never, never, never, never, never>;
5755
- readonly type: "final";
5756
- };
5757
- };
5758
- readonly on: {
5759
- readonly synced: {
5760
- readonly target: ".synced";
5761
- };
5762
- readonly stop: {
5763
- readonly target: ".stopped";
5764
- };
5765
- };
5766
- }>;
5767
- id: "syncLayout";
5768
- };
5769
- hotkeyActorLogic: {
5770
- src: "hotkeyActorLogic";
5771
- logic: CallbackActorLogic<AnyEventObject, NonReducibleUnknown, HotKeyEvent>;
5772
- id: "hotkey";
5773
- };
5774
- overlaysActorLogic: {
5775
- src: "overlaysActorLogic";
5776
- logic: StateMachine<OverlaysContext, OverlayActorEvent, {
5777
- [x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
5778
- [x: `relationshipDetails-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipDetails.Logic> | undefined;
5779
- [x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipsBrowser.Logic> | undefined;
5780
- hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
5781
- }, Values<{
5782
- elementDetails: {
5783
- src: "elementDetails";
5784
- logic: ElementDetailsLogic;
5785
- id: `elementDetails-${number}`;
5786
- };
5787
- relationshipDetails: {
5788
- src: "relationshipDetails";
5789
- logic: import("../overlays/types").Overlays.RelationshipDetails.Logic;
5790
- id: `relationshipDetails-${number}`;
5791
- };
5792
- relationshipsBrowser: {
5793
- src: "relationshipsBrowser";
5794
- logic: import("../overlays/types").Overlays.RelationshipsBrowser.Logic;
5795
- id: `relationshipsBrowser-${number}`;
5796
- };
5797
- hotkey: {
5798
- src: "hotkey";
5799
- logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
5800
- id: "hotkey";
5801
- };
5802
- }>, Values<{
5803
- closeLastOverlay: {
5804
- type: "closeLastOverlay";
5805
- params: NonReducibleUnknown;
5806
- };
5807
- closeSpecificOverlay: {
5808
- type: "closeSpecificOverlay";
5809
- params: {
5810
- actorId: string;
5811
- };
5812
- };
5813
- closeAllOverlays: {
5814
- type: "closeAllOverlays";
5815
- params: NonReducibleUnknown;
5816
- };
5817
- openElementDetails: {
5818
- type: "openElementDetails";
5819
- params: NonReducibleUnknown;
5820
- };
5821
- openRelationshipDetails: {
5822
- type: "openRelationshipDetails";
5823
- params: NonReducibleUnknown;
5824
- };
5825
- openRelationshipsBrowser: {
5826
- type: "openRelationshipsBrowser";
5827
- params: NonReducibleUnknown;
5828
- };
5829
- listenToEsc: {
5830
- type: "listenToEsc";
5831
- params: NonReducibleUnknown;
5832
- };
5833
- stopListeningToEsc: {
5834
- type: "stopListeningToEsc";
5835
- params: NonReducibleUnknown;
5836
- };
5837
- }>, Values<{
5838
- "has overlays?": {
5839
- type: "has overlays?";
5840
- params: unknown;
5841
- };
5842
- "close specific overlay?": {
5843
- type: "close specific overlay?";
5844
- params: unknown;
5845
- };
5846
- "last: is relationshipDetails?": {
5847
- type: "last: is relationshipDetails?";
5848
- params: unknown;
5849
- };
5850
- "last: is relationshipsBrowser?": {
5851
- type: "last: is relationshipsBrowser?";
5852
- params: unknown;
5853
- };
5854
- }>, never, "active" | "idle" | "closing", string, NonReducibleUnknown, NonReducibleUnknown, OverlayActorEmitedEvent, MetaObject, {
5855
- readonly id: "overlays";
5856
- readonly context: () => {
5857
- seq: number;
5858
- overlays: never[];
5859
- };
5860
- readonly initial: "idle";
5861
- readonly on: {
5862
- readonly 'open.elementDetails': {
5863
- readonly actions: "openElementDetails";
5864
- readonly target: ".active";
5865
- readonly reenter: false;
5866
- };
5867
- readonly 'open.relationshipDetails': {
5868
- readonly actions: "openRelationshipDetails";
5869
- readonly target: ".active";
5870
- readonly reenter: false;
5871
- };
5872
- readonly 'open.relationshipsBrowser': {
5873
- readonly actions: "openRelationshipsBrowser";
5874
- readonly target: ".active";
5875
- readonly reenter: false;
5876
- };
5877
- };
5878
- readonly states: {
5879
- readonly idle: {};
5880
- readonly active: {
5881
- readonly entry: "listenToEsc";
5882
- readonly exit: "stopListeningToEsc";
5883
- readonly on: {
5884
- readonly close: readonly [{
5885
- readonly guard: "close specific overlay?";
5886
- readonly actions: {
5887
- readonly type: "closeSpecificOverlay";
5888
- readonly params: ({ event }: {
5889
- context: OverlaysContext;
5890
- event: {
5891
- type: "close";
5892
- actorId?: string | undefined;
5893
- };
5894
- }) => {
5895
- actorId: string;
5896
- };
5897
- };
5898
- readonly target: "closing";
5899
- }, {
5900
- readonly actions: "closeLastOverlay";
5901
- readonly target: "closing";
5902
- }];
5903
- readonly 'close.all': {
5904
- readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
5905
- readonly target: "idle";
5906
- };
5907
- };
5908
- };
5909
- readonly closing: {
5910
- readonly always: readonly [{
5911
- readonly guard: "has overlays?";
5912
- readonly target: "active";
5913
- }, {
5914
- readonly actions: "stopListeningToEsc";
5915
- readonly target: "idle";
5916
- }];
5917
- };
5918
- };
5919
- readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
5920
- }>;
5921
- id: "overlays";
5922
- };
5923
- }>, Values<{
5924
- "xyflow:fitDiagram": {
5925
- type: "xyflow:fitDiagram";
5926
- params: {
5927
- duration?: number;
5928
- bounds?: BBox;
5929
- } | undefined;
5930
- };
5931
- closeAllOverlays: {
5932
- type: "closeAllOverlays";
5933
- params: NonReducibleUnknown;
5934
- };
5935
- "layout.align": {
5936
- type: "layout.align";
5937
- params: {
5938
- mode: AlignmentMode;
5939
- };
5940
- };
5941
- "trigger:OnChange": {
5942
- type: "trigger:OnChange";
5943
- params: {
5944
- change: ViewChange;
5945
- };
5946
- };
5947
- "trigger:NavigateTo": {
5948
- type: "trigger:NavigateTo";
5949
- params: {
5950
- viewId: ViewId;
5951
- };
5952
- };
5953
- "trigger:OpenSource": {
5954
- type: "trigger:OpenSource";
5955
- params: OpenSourceParams;
5956
- };
5957
- "open source of focused node": {
5958
- type: "open source of focused node";
5959
- params: NonReducibleUnknown;
5960
- };
5961
- "xyflow:setViewportCenter": {
5962
- type: "xyflow:setViewportCenter";
5963
- params: {
5964
- x: number;
5965
- y: number;
5966
- };
5967
- };
5968
- "xyflow:setViewport": {
5969
- type: "xyflow:setViewport";
5970
- params: {
5971
- viewport: Viewport;
5972
- duration?: number;
5973
- };
5974
- };
5975
- "xyflow:alignNodeFromToAfterNavigate": {
5976
- type: "xyflow:alignNodeFromToAfterNavigate";
5977
- params: {
5978
- fromNode: NodeId;
5979
- toPosition: XYPoint;
5980
- };
5981
- };
5982
- updateFeatures: {
5983
- type: "updateFeatures";
5984
- params: NonReducibleUnknown;
5985
- };
5986
- stopSyncLayout: {
5987
- type: "stopSyncLayout";
5988
- params: NonReducibleUnknown;
5989
- };
5990
- }>, Values<{
5991
- "enabled: FitView": {
5992
- type: "enabled: FitView";
5993
- params: unknown;
5994
- };
5995
- "enabled: FocusMode": {
5996
- type: "enabled: FocusMode";
5997
- params: unknown;
5998
- };
5999
- "enabled: Readonly": {
6000
- type: "enabled: Readonly";
6001
- params: unknown;
6002
- };
6003
- "not readonly": {
6004
- type: "not readonly";
6005
- params: unknown;
6006
- };
6007
- "is dynamic view": {
6008
- type: "is dynamic view";
6009
- params: unknown;
6010
- };
6011
- "is another view": {
6012
- type: "is another view";
6013
- params: unknown;
6014
- };
6015
- "click: selected node ": {
6016
- type: "click: selected node ";
6017
- params: unknown;
6018
- };
6019
- "click: same node": {
6020
- type: "click: same node";
6021
- params: unknown;
6022
- };
6023
- "click: focused node": {
6024
- type: "click: focused node";
6025
- params: unknown;
6026
- };
6027
- }>, never, EventObject>;
6028
- readonly target: "done";
5448
+ "click: focused node": {
5449
+ type: "click: focused node";
5450
+ params: unknown;
6029
5451
  };
6030
- };
6031
- };
6032
- readonly done: {
6033
- readonly type: "final";
5452
+ "click: node has connections": {
5453
+ type: "click: node has connections";
5454
+ params: unknown;
5455
+ };
5456
+ }>, never, EventObject>;
5457
+ readonly target: "#idle";
6034
5458
  };
6035
5459
  };
6036
- readonly onDone: {
6037
- readonly target: "idle";
6038
- };
6039
- readonly exit: ActionFunction<Context, Events, Events, undefined, Values<{
5460
+ };
5461
+ readonly walkthrough: {
5462
+ readonly entry: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
6040
5463
  syncManualLayoutActorLogic: {
6041
5464
  src: "syncManualLayoutActorLogic";
6042
5465
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -6289,10 +5712,7 @@ export declare const diagramMachine: StateMachine<Context, Events, {
6289
5712
  }>;
6290
5713
  id: "overlays";
6291
5714
  };
6292
- }>, never, never, never, never>;
6293
- };
6294
- readonly walkthrough: {
6295
- readonly entry: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
5715
+ }>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, Values<{
6296
5716
  syncManualLayoutActorLogic: {
6297
5717
  src: "syncManualLayoutActorLogic";
6298
5718
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -6798,10 +6218,7 @@ export declare const diagramMachine: StateMachine<Context, Events, {
6798
6218
  }>;
6799
6219
  id: "overlays";
6800
6220
  };
6801
- }>, never, never, never, never>, {
6802
- readonly type: "xyflow:fitDiagram";
6803
- readonly params: typeof focusedBounds;
6804
- }];
6221
+ }>, never, never, never, never>, "xyflow:fitFocusedBounds"];
6805
6222
  readonly on: {
6806
6223
  readonly 'key.esc': {
6807
6224
  readonly target: "idle";
@@ -7018,543 +6435,193 @@ export declare const diagramMachine: StateMachine<Context, Events, {
7018
6435
  readonly target: ".active";
7019
6436
  readonly reenter: false;
7020
6437
  };
7021
- readonly 'open.relationshipsBrowser': {
7022
- readonly actions: "openRelationshipsBrowser";
7023
- readonly target: ".active";
7024
- readonly reenter: false;
7025
- };
7026
- };
7027
- readonly states: {
7028
- readonly idle: {};
7029
- readonly active: {
7030
- readonly entry: "listenToEsc";
7031
- readonly exit: "stopListeningToEsc";
7032
- readonly on: {
7033
- readonly close: readonly [{
7034
- readonly guard: "close specific overlay?";
7035
- readonly actions: {
7036
- readonly type: "closeSpecificOverlay";
7037
- readonly params: ({ event }: {
7038
- context: OverlaysContext;
7039
- event: {
7040
- type: "close";
7041
- actorId?: string | undefined;
7042
- };
7043
- }) => {
7044
- actorId: string;
7045
- };
7046
- };
7047
- readonly target: "closing";
7048
- }, {
7049
- readonly actions: "closeLastOverlay";
7050
- readonly target: "closing";
7051
- }];
7052
- readonly 'close.all': {
7053
- readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
7054
- readonly target: "idle";
7055
- };
7056
- };
7057
- };
7058
- readonly closing: {
7059
- readonly always: readonly [{
7060
- readonly guard: "has overlays?";
7061
- readonly target: "active";
7062
- }, {
7063
- readonly actions: "stopListeningToEsc";
7064
- readonly target: "idle";
7065
- }];
7066
- };
7067
- };
7068
- readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
7069
- }>;
7070
- id: "overlays";
7071
- };
7072
- }>, Values<{
7073
- "xyflow:fitDiagram": {
7074
- type: "xyflow:fitDiagram";
7075
- params: {
7076
- duration?: number;
7077
- bounds?: BBox;
7078
- } | undefined;
7079
- };
7080
- closeAllOverlays: {
7081
- type: "closeAllOverlays";
7082
- params: NonReducibleUnknown;
7083
- };
7084
- "layout.align": {
7085
- type: "layout.align";
7086
- params: {
7087
- mode: AlignmentMode;
7088
- };
7089
- };
7090
- "trigger:OnChange": {
7091
- type: "trigger:OnChange";
7092
- params: {
7093
- change: ViewChange;
7094
- };
7095
- };
7096
- "trigger:NavigateTo": {
7097
- type: "trigger:NavigateTo";
7098
- params: {
7099
- viewId: ViewId;
7100
- };
7101
- };
7102
- "trigger:OpenSource": {
7103
- type: "trigger:OpenSource";
7104
- params: OpenSourceParams;
7105
- };
7106
- "open source of focused node": {
7107
- type: "open source of focused node";
7108
- params: NonReducibleUnknown;
7109
- };
7110
- "xyflow:setViewportCenter": {
7111
- type: "xyflow:setViewportCenter";
7112
- params: {
7113
- x: number;
7114
- y: number;
7115
- };
7116
- };
7117
- "xyflow:setViewport": {
7118
- type: "xyflow:setViewport";
7119
- params: {
7120
- viewport: Viewport;
7121
- duration?: number;
7122
- };
7123
- };
7124
- "xyflow:alignNodeFromToAfterNavigate": {
7125
- type: "xyflow:alignNodeFromToAfterNavigate";
7126
- params: {
7127
- fromNode: NodeId;
7128
- toPosition: XYPoint;
7129
- };
7130
- };
7131
- updateFeatures: {
7132
- type: "updateFeatures";
7133
- params: NonReducibleUnknown;
7134
- };
7135
- stopSyncLayout: {
7136
- type: "stopSyncLayout";
7137
- params: NonReducibleUnknown;
7138
- };
7139
- }>, Values<{
7140
- "enabled: FitView": {
7141
- type: "enabled: FitView";
7142
- params: unknown;
7143
- };
7144
- "enabled: FocusMode": {
7145
- type: "enabled: FocusMode";
7146
- params: unknown;
7147
- };
7148
- "enabled: Readonly": {
7149
- type: "enabled: Readonly";
7150
- params: unknown;
7151
- };
7152
- "not readonly": {
7153
- type: "not readonly";
7154
- params: unknown;
7155
- };
7156
- "is dynamic view": {
7157
- type: "is dynamic view";
7158
- params: unknown;
7159
- };
7160
- "is another view": {
7161
- type: "is another view";
7162
- params: unknown;
7163
- };
7164
- "click: selected node ": {
7165
- type: "click: selected node ";
7166
- params: unknown;
7167
- };
7168
- "click: same node": {
7169
- type: "click: same node";
7170
- params: unknown;
7171
- };
7172
- "click: focused node": {
7173
- type: "click: focused node";
7174
- params: unknown;
7175
- };
7176
- }>, never, EventObject>;
7177
- };
7178
- readonly 'walkthrough.end': {
7179
- readonly target: "idle";
7180
- };
7181
- readonly 'update.view': {
7182
- readonly guard: "is another view";
7183
- readonly actions: ActionFunction<Context, {
7184
- type: "update.view";
7185
- view: DiagramView;
7186
- xynodes: Types.Node[];
7187
- xyedges: Types.Edge[];
7188
- }, Events, undefined, never, never, never, never, never>;
7189
- readonly target: "idle";
7190
- };
7191
- };
7192
- readonly exit: ActionFunction<Context, Events, Events, undefined, Values<{
7193
- syncManualLayoutActorLogic: {
7194
- src: "syncManualLayoutActorLogic";
7195
- logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
7196
- type: "trigger:OnChange";
7197
- params: {
7198
- change: ViewChange;
7199
- };
7200
- }, {
7201
- type: "same view";
7202
- params: unknown;
7203
- }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
7204
- readonly initial: "idle";
7205
- readonly context: ({ input }: {
7206
- spawn: {
7207
- <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
7208
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
7209
- id?: never;
7210
- systemId?: string;
7211
- input?: InputFrom<TLogic>;
7212
- syncSnapshot?: boolean;
7213
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
7214
- };
7215
- input: Input;
7216
- self: ActorRef< MachineSnapshot<Readonly< Input>, SyncLayoutEvents, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, SyncLayoutEvents, AnyEventObject>;
7217
- }) => {
7218
- parent: ActorRef< MachineSnapshot<Context, Events, any, any, any, any, any, any>, Events, any>;
7219
- viewId: ViewId;
7220
- };
7221
- readonly states: {
7222
- readonly idle: {
7223
- readonly tags: "ready";
7224
- readonly on: {
7225
- readonly sync: {
7226
- readonly target: "pending";
7227
- };
7228
- };
7229
- };
7230
- readonly paused: {
7231
- readonly tags: "pending";
7232
- readonly on: {
7233
- readonly sync: {
7234
- readonly target: "pending";
7235
- };
7236
- };
7237
- };
7238
- readonly pending: {
7239
- readonly tags: "pending";
7240
- readonly on: {
7241
- readonly sync: {
7242
- readonly target: "pending";
7243
- readonly reenter: true;
7244
- };
7245
- readonly cancel: {
7246
- readonly target: "paused";
7247
- };
7248
- };
7249
- readonly after: {
7250
- readonly timeout: readonly [{
7251
- readonly guard: "same view";
7252
- readonly actions: {
7253
- readonly type: "trigger:OnChange";
7254
- readonly params: ({ context }: {
7255
- context: Readonly< Input>;
7256
- event: SyncLayoutEvents;
7257
- }) => {
7258
- change: ViewChange.SaveManualLayout;
6438
+ readonly 'open.relationshipsBrowser': {
6439
+ readonly actions: "openRelationshipsBrowser";
6440
+ readonly target: ".active";
6441
+ readonly reenter: false;
6442
+ };
6443
+ };
6444
+ readonly states: {
6445
+ readonly idle: {};
6446
+ readonly active: {
6447
+ readonly entry: "listenToEsc";
6448
+ readonly exit: "stopListeningToEsc";
6449
+ readonly on: {
6450
+ readonly close: readonly [{
6451
+ readonly guard: "close specific overlay?";
6452
+ readonly actions: {
6453
+ readonly type: "closeSpecificOverlay";
6454
+ readonly params: ({ event }: {
6455
+ context: OverlaysContext;
6456
+ event: {
6457
+ type: "close";
6458
+ actorId?: string | undefined;
6459
+ };
6460
+ }) => {
6461
+ actorId: string;
6462
+ };
6463
+ };
6464
+ readonly target: "closing";
6465
+ }, {
6466
+ readonly actions: "closeLastOverlay";
6467
+ readonly target: "closing";
6468
+ }];
6469
+ readonly 'close.all': {
6470
+ readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
6471
+ readonly target: "idle";
7259
6472
  };
7260
6473
  };
7261
- readonly target: "synced";
7262
- }, {
7263
- readonly target: "stopped";
7264
- }];
7265
- };
7266
- };
7267
- readonly synced: {
7268
- readonly tags: "ready";
7269
- readonly on: {
7270
- readonly sync: {
7271
- readonly target: "pending";
6474
+ };
6475
+ readonly closing: {
6476
+ readonly always: readonly [{
6477
+ readonly guard: "has overlays?";
6478
+ readonly target: "active";
6479
+ }, {
6480
+ readonly actions: "stopListeningToEsc";
6481
+ readonly target: "idle";
6482
+ }];
7272
6483
  };
7273
6484
  };
7274
- };
7275
- readonly stopped: {
7276
- readonly entry: ActionFunction<Readonly< Input>, SyncLayoutEvents, SyncLayoutEvents, undefined, never, never, never, never, never>;
7277
- readonly type: "final";
7278
- };
7279
- };
7280
- readonly on: {
7281
- readonly synced: {
7282
- readonly target: ".synced";
7283
- };
7284
- readonly stop: {
7285
- readonly target: ".stopped";
7286
- };
7287
- };
7288
- }>;
7289
- id: "syncLayout";
7290
- };
7291
- hotkeyActorLogic: {
7292
- src: "hotkeyActorLogic";
7293
- logic: CallbackActorLogic<AnyEventObject, NonReducibleUnknown, HotKeyEvent>;
7294
- id: "hotkey";
7295
- };
7296
- overlaysActorLogic: {
7297
- src: "overlaysActorLogic";
7298
- logic: StateMachine<OverlaysContext, OverlayActorEvent, {
7299
- [x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
7300
- [x: `relationshipDetails-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipDetails.Logic> | undefined;
7301
- [x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipsBrowser.Logic> | undefined;
7302
- hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
7303
- }, Values<{
7304
- elementDetails: {
7305
- src: "elementDetails";
7306
- logic: ElementDetailsLogic;
7307
- id: `elementDetails-${number}`;
7308
- };
7309
- relationshipDetails: {
7310
- src: "relationshipDetails";
7311
- logic: import("../overlays/types").Overlays.RelationshipDetails.Logic;
7312
- id: `relationshipDetails-${number}`;
7313
- };
7314
- relationshipsBrowser: {
7315
- src: "relationshipsBrowser";
7316
- logic: import("../overlays/types").Overlays.RelationshipsBrowser.Logic;
7317
- id: `relationshipsBrowser-${number}`;
7318
- };
7319
- hotkey: {
7320
- src: "hotkey";
7321
- logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
7322
- id: "hotkey";
6485
+ readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
6486
+ }>;
6487
+ id: "overlays";
7323
6488
  };
7324
6489
  }>, Values<{
7325
- closeLastOverlay: {
7326
- type: "closeLastOverlay";
7327
- params: NonReducibleUnknown;
7328
- };
7329
- closeSpecificOverlay: {
7330
- type: "closeSpecificOverlay";
6490
+ "xyflow:fitDiagram": {
6491
+ type: "xyflow:fitDiagram";
7331
6492
  params: {
7332
- actorId: string;
7333
- };
6493
+ duration?: number;
6494
+ bounds?: BBox;
6495
+ } | undefined;
7334
6496
  };
7335
6497
  closeAllOverlays: {
7336
6498
  type: "closeAllOverlays";
7337
6499
  params: NonReducibleUnknown;
7338
6500
  };
7339
- openElementDetails: {
7340
- type: "openElementDetails";
7341
- params: NonReducibleUnknown;
6501
+ "layout.align": {
6502
+ type: "layout.align";
6503
+ params: {
6504
+ mode: AlignmentMode;
6505
+ };
7342
6506
  };
7343
- openRelationshipDetails: {
7344
- type: "openRelationshipDetails";
7345
- params: NonReducibleUnknown;
6507
+ "trigger:OnChange": {
6508
+ type: "trigger:OnChange";
6509
+ params: {
6510
+ change: ViewChange;
6511
+ };
7346
6512
  };
7347
- openRelationshipsBrowser: {
7348
- type: "openRelationshipsBrowser";
7349
- params: NonReducibleUnknown;
6513
+ "trigger:NavigateTo": {
6514
+ type: "trigger:NavigateTo";
6515
+ params: {
6516
+ viewId: ViewId;
6517
+ };
7350
6518
  };
7351
- listenToEsc: {
7352
- type: "listenToEsc";
6519
+ "trigger:OpenSource": {
6520
+ type: "trigger:OpenSource";
6521
+ params: OpenSourceParams;
6522
+ };
6523
+ "assign lastClickedNode": {
6524
+ type: "assign lastClickedNode";
7353
6525
  params: NonReducibleUnknown;
7354
6526
  };
7355
- stopListeningToEsc: {
7356
- type: "stopListeningToEsc";
6527
+ "open source of focused or last clicked node": {
6528
+ type: "open source of focused or last clicked node";
7357
6529
  params: NonReducibleUnknown;
7358
6530
  };
7359
- }>, Values<{
7360
- "has overlays?": {
7361
- type: "has overlays?";
6531
+ "xyflow:fitFocusedBounds": {
6532
+ type: "xyflow:fitFocusedBounds";
7362
6533
  params: unknown;
7363
6534
  };
7364
- "close specific overlay?": {
7365
- type: "close specific overlay?";
7366
- params: unknown;
6535
+ "xyflow:setViewportCenter": {
6536
+ type: "xyflow:setViewportCenter";
6537
+ params: {
6538
+ x: number;
6539
+ y: number;
6540
+ };
7367
6541
  };
7368
- "last: is relationshipDetails?": {
7369
- type: "last: is relationshipDetails?";
7370
- params: unknown;
6542
+ "xyflow:setViewport": {
6543
+ type: "xyflow:setViewport";
6544
+ params: {
6545
+ viewport: Viewport;
6546
+ duration?: number;
6547
+ };
7371
6548
  };
7372
- "last: is relationshipsBrowser?": {
7373
- type: "last: is relationshipsBrowser?";
7374
- params: unknown;
6549
+ "xyflow:alignNodeFromToAfterNavigate": {
6550
+ type: "xyflow:alignNodeFromToAfterNavigate";
6551
+ params: {
6552
+ fromNode: NodeId;
6553
+ toPosition: XYPoint;
6554
+ };
7375
6555
  };
7376
- }>, never, "active" | "idle" | "closing", string, NonReducibleUnknown, NonReducibleUnknown, OverlayActorEmitedEvent, MetaObject, {
7377
- readonly id: "overlays";
7378
- readonly context: () => {
7379
- seq: number;
7380
- overlays: never[];
6556
+ updateFeatures: {
6557
+ type: "updateFeatures";
6558
+ params: NonReducibleUnknown;
7381
6559
  };
7382
- readonly initial: "idle";
7383
- readonly on: {
7384
- readonly 'open.elementDetails': {
7385
- readonly actions: "openElementDetails";
7386
- readonly target: ".active";
7387
- readonly reenter: false;
7388
- };
7389
- readonly 'open.relationshipDetails': {
7390
- readonly actions: "openRelationshipDetails";
7391
- readonly target: ".active";
7392
- readonly reenter: false;
7393
- };
7394
- readonly 'open.relationshipsBrowser': {
7395
- readonly actions: "openRelationshipsBrowser";
7396
- readonly target: ".active";
7397
- readonly reenter: false;
7398
- };
6560
+ stopSyncLayout: {
6561
+ type: "stopSyncLayout";
6562
+ params: NonReducibleUnknown;
7399
6563
  };
7400
- readonly states: {
7401
- readonly idle: {};
7402
- readonly active: {
7403
- readonly entry: "listenToEsc";
7404
- readonly exit: "stopListeningToEsc";
7405
- readonly on: {
7406
- readonly close: readonly [{
7407
- readonly guard: "close specific overlay?";
7408
- readonly actions: {
7409
- readonly type: "closeSpecificOverlay";
7410
- readonly params: ({ event }: {
7411
- context: OverlaysContext;
7412
- event: {
7413
- type: "close";
7414
- actorId?: string | undefined;
7415
- };
7416
- }) => {
7417
- actorId: string;
7418
- };
7419
- };
7420
- readonly target: "closing";
7421
- }, {
7422
- readonly actions: "closeLastOverlay";
7423
- readonly target: "closing";
7424
- }];
7425
- readonly 'close.all': {
7426
- readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
7427
- readonly target: "idle";
7428
- };
7429
- };
7430
- };
7431
- readonly closing: {
7432
- readonly always: readonly [{
7433
- readonly guard: "has overlays?";
7434
- readonly target: "active";
7435
- }, {
7436
- readonly actions: "stopListeningToEsc";
7437
- readonly target: "idle";
7438
- }];
7439
- };
6564
+ }>, Values<{
6565
+ "enabled: FitView": {
6566
+ type: "enabled: FitView";
6567
+ params: unknown;
6568
+ };
6569
+ "enabled: FocusMode": {
6570
+ type: "enabled: FocusMode";
6571
+ params: unknown;
7440
6572
  };
7441
- readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
7442
- }>;
7443
- id: "overlays";
7444
- };
7445
- }>, Values<{
7446
- "xyflow:fitDiagram": {
7447
- type: "xyflow:fitDiagram";
7448
- params: {
7449
- duration?: number;
7450
- bounds?: BBox;
7451
- } | undefined;
7452
- };
7453
- closeAllOverlays: {
7454
- type: "closeAllOverlays";
7455
- params: NonReducibleUnknown;
7456
- };
7457
- "layout.align": {
7458
- type: "layout.align";
7459
- params: {
7460
- mode: AlignmentMode;
7461
- };
7462
- };
7463
- "trigger:OnChange": {
7464
- type: "trigger:OnChange";
7465
- params: {
7466
- change: ViewChange;
7467
- };
7468
- };
7469
- "trigger:NavigateTo": {
7470
- type: "trigger:NavigateTo";
7471
- params: {
7472
- viewId: ViewId;
7473
- };
7474
- };
7475
- "trigger:OpenSource": {
7476
- type: "trigger:OpenSource";
7477
- params: OpenSourceParams;
7478
- };
7479
- "open source of focused node": {
7480
- type: "open source of focused node";
7481
- params: NonReducibleUnknown;
7482
- };
7483
- "xyflow:setViewportCenter": {
7484
- type: "xyflow:setViewportCenter";
7485
- params: {
7486
- x: number;
7487
- y: number;
7488
- };
7489
- };
7490
- "xyflow:setViewport": {
7491
- type: "xyflow:setViewport";
7492
- params: {
7493
- viewport: Viewport;
7494
- duration?: number;
7495
- };
7496
- };
7497
- "xyflow:alignNodeFromToAfterNavigate": {
7498
- type: "xyflow:alignNodeFromToAfterNavigate";
7499
- params: {
7500
- fromNode: NodeId;
7501
- toPosition: XYPoint;
7502
- };
7503
- };
7504
- updateFeatures: {
7505
- type: "updateFeatures";
7506
- params: NonReducibleUnknown;
7507
- };
7508
- stopSyncLayout: {
7509
- type: "stopSyncLayout";
7510
- params: NonReducibleUnknown;
7511
- };
7512
- }>, Values<{
7513
- "enabled: FitView": {
7514
- type: "enabled: FitView";
7515
- params: unknown;
7516
- };
7517
- "enabled: FocusMode": {
7518
- type: "enabled: FocusMode";
7519
- params: unknown;
7520
- };
7521
- "enabled: Readonly": {
7522
- type: "enabled: Readonly";
7523
- params: unknown;
7524
- };
7525
- "not readonly": {
7526
- type: "not readonly";
7527
- params: unknown;
7528
- };
7529
- "is dynamic view": {
7530
- type: "is dynamic view";
7531
- params: unknown;
7532
- };
7533
- "is another view": {
7534
- type: "is another view";
7535
- params: unknown;
6573
+ "enabled: Readonly": {
6574
+ type: "enabled: Readonly";
6575
+ params: unknown;
6576
+ };
6577
+ "not readonly": {
6578
+ type: "not readonly";
6579
+ params: unknown;
6580
+ };
6581
+ "is dynamic view": {
6582
+ type: "is dynamic view";
6583
+ params: unknown;
6584
+ };
6585
+ "is another view": {
6586
+ type: "is another view";
6587
+ params: unknown;
6588
+ };
6589
+ "click: selected node": {
6590
+ type: "click: selected node";
6591
+ params: unknown;
6592
+ };
6593
+ "click: same node": {
6594
+ type: "click: same node";
6595
+ params: unknown;
6596
+ };
6597
+ "click: focused node": {
6598
+ type: "click: focused node";
6599
+ params: unknown;
6600
+ };
6601
+ "click: node has connections": {
6602
+ type: "click: node has connections";
6603
+ params: unknown;
6604
+ };
6605
+ }>, never, EventObject>;
7536
6606
  };
7537
- "click: selected node ": {
7538
- type: "click: selected node ";
7539
- params: unknown;
6607
+ readonly 'walkthrough.end': {
6608
+ readonly target: "idle";
7540
6609
  };
7541
- "click: same node": {
7542
- type: "click: same node";
7543
- params: unknown;
6610
+ readonly 'xyflow.paneDblClick': {
6611
+ readonly target: "idle";
7544
6612
  };
7545
- "click: focused node": {
7546
- type: "click: focused node";
7547
- params: unknown;
6613
+ readonly 'update.view': {
6614
+ readonly guard: "is another view";
6615
+ readonly actions: ActionFunction<Context, {
6616
+ type: "update.view";
6617
+ view: DiagramView;
6618
+ xynodes: Types.Node[];
6619
+ xyedges: Types.Edge[];
6620
+ }, Events, undefined, never, never, never, never, never>;
6621
+ readonly target: "idle";
7548
6622
  };
7549
- }>, never, EventObject>;
7550
- };
7551
- };
7552
- readonly on: {
7553
- readonly 'xyflow.applyNodeChanges': {
7554
- readonly actions: ActionFunction<Context, {
7555
- type: "xyflow.applyNodeChanges";
7556
- changes: NodeChange<Types.Node>[];
7557
- }, Events, undefined, Values<{
6623
+ };
6624
+ readonly exit: ActionFunction<Context, Events, Events, undefined, Values<{
7558
6625
  syncManualLayoutActorLogic: {
7559
6626
  src: "syncManualLayoutActorLogic";
7560
6627
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -7807,12 +6874,130 @@ export declare const diagramMachine: StateMachine<Context, Events, {
7807
6874
  }>;
7808
6875
  id: "overlays";
7809
6876
  };
7810
- }>, never, never, never, never>;
6877
+ }>, Values<{
6878
+ "xyflow:fitDiagram": {
6879
+ type: "xyflow:fitDiagram";
6880
+ params: {
6881
+ duration?: number;
6882
+ bounds?: BBox;
6883
+ } | undefined;
6884
+ };
6885
+ closeAllOverlays: {
6886
+ type: "closeAllOverlays";
6887
+ params: NonReducibleUnknown;
6888
+ };
6889
+ "layout.align": {
6890
+ type: "layout.align";
6891
+ params: {
6892
+ mode: AlignmentMode;
6893
+ };
6894
+ };
6895
+ "trigger:OnChange": {
6896
+ type: "trigger:OnChange";
6897
+ params: {
6898
+ change: ViewChange;
6899
+ };
6900
+ };
6901
+ "trigger:NavigateTo": {
6902
+ type: "trigger:NavigateTo";
6903
+ params: {
6904
+ viewId: ViewId;
6905
+ };
6906
+ };
6907
+ "trigger:OpenSource": {
6908
+ type: "trigger:OpenSource";
6909
+ params: OpenSourceParams;
6910
+ };
6911
+ "assign lastClickedNode": {
6912
+ type: "assign lastClickedNode";
6913
+ params: NonReducibleUnknown;
6914
+ };
6915
+ "open source of focused or last clicked node": {
6916
+ type: "open source of focused or last clicked node";
6917
+ params: NonReducibleUnknown;
6918
+ };
6919
+ "xyflow:fitFocusedBounds": {
6920
+ type: "xyflow:fitFocusedBounds";
6921
+ params: unknown;
6922
+ };
6923
+ "xyflow:setViewportCenter": {
6924
+ type: "xyflow:setViewportCenter";
6925
+ params: {
6926
+ x: number;
6927
+ y: number;
6928
+ };
6929
+ };
6930
+ "xyflow:setViewport": {
6931
+ type: "xyflow:setViewport";
6932
+ params: {
6933
+ viewport: Viewport;
6934
+ duration?: number;
6935
+ };
6936
+ };
6937
+ "xyflow:alignNodeFromToAfterNavigate": {
6938
+ type: "xyflow:alignNodeFromToAfterNavigate";
6939
+ params: {
6940
+ fromNode: NodeId;
6941
+ toPosition: XYPoint;
6942
+ };
6943
+ };
6944
+ updateFeatures: {
6945
+ type: "updateFeatures";
6946
+ params: NonReducibleUnknown;
6947
+ };
6948
+ stopSyncLayout: {
6949
+ type: "stopSyncLayout";
6950
+ params: NonReducibleUnknown;
6951
+ };
6952
+ }>, Values<{
6953
+ "enabled: FitView": {
6954
+ type: "enabled: FitView";
6955
+ params: unknown;
6956
+ };
6957
+ "enabled: FocusMode": {
6958
+ type: "enabled: FocusMode";
6959
+ params: unknown;
6960
+ };
6961
+ "enabled: Readonly": {
6962
+ type: "enabled: Readonly";
6963
+ params: unknown;
6964
+ };
6965
+ "not readonly": {
6966
+ type: "not readonly";
6967
+ params: unknown;
6968
+ };
6969
+ "is dynamic view": {
6970
+ type: "is dynamic view";
6971
+ params: unknown;
6972
+ };
6973
+ "is another view": {
6974
+ type: "is another view";
6975
+ params: unknown;
6976
+ };
6977
+ "click: selected node": {
6978
+ type: "click: selected node";
6979
+ params: unknown;
6980
+ };
6981
+ "click: same node": {
6982
+ type: "click: same node";
6983
+ params: unknown;
6984
+ };
6985
+ "click: focused node": {
6986
+ type: "click: focused node";
6987
+ params: unknown;
6988
+ };
6989
+ "click: node has connections": {
6990
+ type: "click: node has connections";
6991
+ params: unknown;
6992
+ };
6993
+ }>, never, EventObject>;
7811
6994
  };
7812
- readonly 'xyflow.applyEdgeChanges': {
6995
+ };
6996
+ readonly on: {
6997
+ readonly 'xyflow.applyNodeChanges': {
7813
6998
  readonly actions: ActionFunction<Context, {
7814
- type: "xyflow.applyEdgeChanges";
7815
- changes: EdgeChange<Types.Edge>[];
6999
+ type: "xyflow.applyNodeChanges";
7000
+ changes: NodeChange<Types.Node>[];
7816
7001
  }, Events, undefined, Values<{
7817
7002
  syncManualLayoutActorLogic: {
7818
7003
  src: "syncManualLayoutActorLogic";
@@ -8068,11 +7253,10 @@ export declare const diagramMachine: StateMachine<Context, Events, {
8068
7253
  };
8069
7254
  }>, never, never, never, never>;
8070
7255
  };
8071
- readonly 'xyflow.viewportMoved': {
7256
+ readonly 'xyflow.applyEdgeChanges': {
8072
7257
  readonly actions: ActionFunction<Context, {
8073
- type: "xyflow.viewportMoved";
8074
- viewport: Viewport;
8075
- manually: boolean;
7258
+ type: "xyflow.applyEdgeChanges";
7259
+ changes: EdgeChange<Types.Edge>[];
8076
7260
  }, Events, undefined, Values<{
8077
7261
  syncManualLayoutActorLogic: {
8078
7262
  src: "syncManualLayoutActorLogic";
@@ -8328,30 +7512,11 @@ export declare const diagramMachine: StateMachine<Context, Events, {
8328
7512
  };
8329
7513
  }>, never, never, never, never>;
8330
7514
  };
8331
- readonly fitDiagram: {
8332
- readonly guard: "enabled: FitView";
8333
- readonly actions: {
8334
- readonly type: "xyflow:fitDiagram";
8335
- readonly params: (data: {
8336
- context: Context;
8337
- event: {
8338
- type: "fitDiagram";
8339
- duration?: number;
8340
- bounds?: BBox;
8341
- };
8342
- }) => {
8343
- type: "fitDiagram";
8344
- duration?: number;
8345
- bounds?: BBox;
8346
- };
8347
- };
8348
- };
8349
- readonly 'navigate.to': {
8350
- readonly guard: "is another view";
8351
- readonly actions: readonly [ ActionFunction<Context, {
8352
- type: "navigate.to";
8353
- viewId: ViewId;
8354
- fromNode?: NodeId | undefined;
7515
+ readonly 'xyflow.viewportMoved': {
7516
+ readonly actions: ActionFunction<Context, {
7517
+ type: "xyflow.viewportMoved";
7518
+ viewport: Viewport;
7519
+ manually: boolean;
8355
7520
  }, Events, undefined, Values<{
8356
7521
  syncManualLayoutActorLogic: {
8357
7522
  src: "syncManualLayoutActorLogic";
@@ -8605,12 +7770,33 @@ export declare const diagramMachine: StateMachine<Context, Events, {
8605
7770
  }>;
8606
7771
  id: "overlays";
8607
7772
  };
8608
- }>, never, never, never, never>];
8609
- readonly target: ".navigating";
7773
+ }>, never, never, never, never>;
8610
7774
  };
8611
- readonly 'navigate.back': {
8612
- readonly guard: ({ context }: ActionArg) => boolean;
8613
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
7775
+ readonly fitDiagram: {
7776
+ readonly guard: "enabled: FitView";
7777
+ readonly actions: {
7778
+ readonly type: "xyflow:fitDiagram";
7779
+ readonly params: (data: {
7780
+ context: Context;
7781
+ event: {
7782
+ type: "fitDiagram";
7783
+ duration?: number;
7784
+ bounds?: BBox;
7785
+ };
7786
+ }) => {
7787
+ type: "fitDiagram";
7788
+ duration?: number;
7789
+ bounds?: BBox;
7790
+ };
7791
+ };
7792
+ };
7793
+ readonly 'navigate.to': {
7794
+ readonly guard: "is another view";
7795
+ readonly actions: ActionFunction<Context, {
7796
+ type: "navigate.to";
7797
+ viewId: ViewId;
7798
+ fromNode?: NodeId | undefined;
7799
+ }, Events, undefined, Values<{
8614
7800
  syncManualLayoutActorLogic: {
8615
7801
  src: "syncManualLayoutActorLogic";
8616
7802
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -8866,7 +8052,7 @@ export declare const diagramMachine: StateMachine<Context, Events, {
8866
8052
  }>, never, never, never, never>;
8867
8053
  readonly target: ".navigating";
8868
8054
  };
8869
- readonly 'navigate.forward': {
8055
+ readonly 'navigate.back': {
8870
8056
  readonly guard: ({ context }: ActionArg) => boolean;
8871
8057
  readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
8872
8058
  syncManualLayoutActorLogic: {
@@ -9124,8 +8310,9 @@ export declare const diagramMachine: StateMachine<Context, Events, {
9124
8310
  }>, never, never, never, never>;
9125
8311
  readonly target: ".navigating";
9126
8312
  };
9127
- readonly 'update.view': {
9128
- readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
8313
+ readonly 'navigate.forward': {
8314
+ readonly guard: ({ context }: ActionArg) => boolean;
8315
+ readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
9129
8316
  syncManualLayoutActorLogic: {
9130
8317
  src: "syncManualLayoutActorLogic";
9131
8318
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -9378,12 +8565,11 @@ export declare const diagramMachine: StateMachine<Context, Events, {
9378
8565
  }>;
9379
8566
  id: "overlays";
9380
8567
  };
9381
- }>, never, never, never, never>, ActionFunction<Context, {
9382
- type: "update.view";
9383
- view: DiagramView;
9384
- xynodes: Types.Node[];
9385
- xyedges: Types.Edge[];
9386
- }, Events, undefined, Values<{
8568
+ }>, never, never, never, never>;
8569
+ readonly target: ".navigating";
8570
+ };
8571
+ readonly 'update.view': {
8572
+ readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
9387
8573
  syncManualLayoutActorLogic: {
9388
8574
  src: "syncManualLayoutActorLogic";
9389
8575
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -9636,116 +8822,11 @@ export declare const diagramMachine: StateMachine<Context, Events, {
9636
8822
  }>;
9637
8823
  id: "overlays";
9638
8824
  };
9639
- }>, Values<{
9640
- "xyflow:fitDiagram": {
9641
- type: "xyflow:fitDiagram";
9642
- params: {
9643
- duration?: number;
9644
- bounds?: BBox;
9645
- } | undefined;
9646
- };
9647
- closeAllOverlays: {
9648
- type: "closeAllOverlays";
9649
- params: NonReducibleUnknown;
9650
- };
9651
- "layout.align": {
9652
- type: "layout.align";
9653
- params: {
9654
- mode: AlignmentMode;
9655
- };
9656
- };
9657
- "trigger:OnChange": {
9658
- type: "trigger:OnChange";
9659
- params: {
9660
- change: ViewChange;
9661
- };
9662
- };
9663
- "trigger:NavigateTo": {
9664
- type: "trigger:NavigateTo";
9665
- params: {
9666
- viewId: ViewId;
9667
- };
9668
- };
9669
- "trigger:OpenSource": {
9670
- type: "trigger:OpenSource";
9671
- params: OpenSourceParams;
9672
- };
9673
- "open source of focused node": {
9674
- type: "open source of focused node";
9675
- params: NonReducibleUnknown;
9676
- };
9677
- "xyflow:setViewportCenter": {
9678
- type: "xyflow:setViewportCenter";
9679
- params: {
9680
- x: number;
9681
- y: number;
9682
- };
9683
- };
9684
- "xyflow:setViewport": {
9685
- type: "xyflow:setViewport";
9686
- params: {
9687
- viewport: Viewport;
9688
- duration?: number;
9689
- };
9690
- };
9691
- "xyflow:alignNodeFromToAfterNavigate": {
9692
- type: "xyflow:alignNodeFromToAfterNavigate";
9693
- params: {
9694
- fromNode: NodeId;
9695
- toPosition: XYPoint;
9696
- };
9697
- };
9698
- updateFeatures: {
9699
- type: "updateFeatures";
9700
- params: NonReducibleUnknown;
9701
- };
9702
- stopSyncLayout: {
9703
- type: "stopSyncLayout";
9704
- params: NonReducibleUnknown;
9705
- };
9706
- }>, Values<{
9707
- "enabled: FitView": {
9708
- type: "enabled: FitView";
9709
- params: unknown;
9710
- };
9711
- "enabled: FocusMode": {
9712
- type: "enabled: FocusMode";
9713
- params: unknown;
9714
- };
9715
- "enabled: Readonly": {
9716
- type: "enabled: Readonly";
9717
- params: unknown;
9718
- };
9719
- "not readonly": {
9720
- type: "not readonly";
9721
- params: unknown;
9722
- };
9723
- "is dynamic view": {
9724
- type: "is dynamic view";
9725
- params: unknown;
9726
- };
9727
- "is another view": {
9728
- type: "is another view";
9729
- params: unknown;
9730
- };
9731
- "click: selected node ": {
9732
- type: "click: selected node ";
9733
- params: unknown;
9734
- };
9735
- "click: same node": {
9736
- type: "click: same node";
9737
- params: unknown;
9738
- };
9739
- "click: focused node": {
9740
- type: "click: focused node";
9741
- params: unknown;
9742
- };
9743
- }>, never, EventObject>];
9744
- };
9745
- readonly 'update.inputs': {
9746
- readonly actions: ActionFunction<Context, {
9747
- type: "update.inputs";
9748
- inputs: Partial<Omit<Input, "view">>;
8825
+ }>, never, never, never, never>, ActionFunction<Context, {
8826
+ type: "update.view";
8827
+ view: DiagramView;
8828
+ xynodes: Types.Node[];
8829
+ xyedges: Types.Edge[];
9749
8830
  }, Events, undefined, Values<{
9750
8831
  syncManualLayoutActorLogic: {
9751
8832
  src: "syncManualLayoutActorLogic";
@@ -9999,13 +9080,129 @@ export declare const diagramMachine: StateMachine<Context, Events, {
9999
9080
  }>;
10000
9081
  id: "overlays";
10001
9082
  };
10002
- }>, never, never, never, never>;
10003
- };
10004
- readonly 'update.features': {
10005
- readonly actions: "updateFeatures";
9083
+ }>, Values<{
9084
+ "xyflow:fitDiagram": {
9085
+ type: "xyflow:fitDiagram";
9086
+ params: {
9087
+ duration?: number;
9088
+ bounds?: BBox;
9089
+ } | undefined;
9090
+ };
9091
+ closeAllOverlays: {
9092
+ type: "closeAllOverlays";
9093
+ params: NonReducibleUnknown;
9094
+ };
9095
+ "layout.align": {
9096
+ type: "layout.align";
9097
+ params: {
9098
+ mode: AlignmentMode;
9099
+ };
9100
+ };
9101
+ "trigger:OnChange": {
9102
+ type: "trigger:OnChange";
9103
+ params: {
9104
+ change: ViewChange;
9105
+ };
9106
+ };
9107
+ "trigger:NavigateTo": {
9108
+ type: "trigger:NavigateTo";
9109
+ params: {
9110
+ viewId: ViewId;
9111
+ };
9112
+ };
9113
+ "trigger:OpenSource": {
9114
+ type: "trigger:OpenSource";
9115
+ params: OpenSourceParams;
9116
+ };
9117
+ "assign lastClickedNode": {
9118
+ type: "assign lastClickedNode";
9119
+ params: NonReducibleUnknown;
9120
+ };
9121
+ "open source of focused or last clicked node": {
9122
+ type: "open source of focused or last clicked node";
9123
+ params: NonReducibleUnknown;
9124
+ };
9125
+ "xyflow:fitFocusedBounds": {
9126
+ type: "xyflow:fitFocusedBounds";
9127
+ params: unknown;
9128
+ };
9129
+ "xyflow:setViewportCenter": {
9130
+ type: "xyflow:setViewportCenter";
9131
+ params: {
9132
+ x: number;
9133
+ y: number;
9134
+ };
9135
+ };
9136
+ "xyflow:setViewport": {
9137
+ type: "xyflow:setViewport";
9138
+ params: {
9139
+ viewport: Viewport;
9140
+ duration?: number;
9141
+ };
9142
+ };
9143
+ "xyflow:alignNodeFromToAfterNavigate": {
9144
+ type: "xyflow:alignNodeFromToAfterNavigate";
9145
+ params: {
9146
+ fromNode: NodeId;
9147
+ toPosition: XYPoint;
9148
+ };
9149
+ };
9150
+ updateFeatures: {
9151
+ type: "updateFeatures";
9152
+ params: NonReducibleUnknown;
9153
+ };
9154
+ stopSyncLayout: {
9155
+ type: "stopSyncLayout";
9156
+ params: NonReducibleUnknown;
9157
+ };
9158
+ }>, Values<{
9159
+ "enabled: FitView": {
9160
+ type: "enabled: FitView";
9161
+ params: unknown;
9162
+ };
9163
+ "enabled: FocusMode": {
9164
+ type: "enabled: FocusMode";
9165
+ params: unknown;
9166
+ };
9167
+ "enabled: Readonly": {
9168
+ type: "enabled: Readonly";
9169
+ params: unknown;
9170
+ };
9171
+ "not readonly": {
9172
+ type: "not readonly";
9173
+ params: unknown;
9174
+ };
9175
+ "is dynamic view": {
9176
+ type: "is dynamic view";
9177
+ params: unknown;
9178
+ };
9179
+ "is another view": {
9180
+ type: "is another view";
9181
+ params: unknown;
9182
+ };
9183
+ "click: selected node": {
9184
+ type: "click: selected node";
9185
+ params: unknown;
9186
+ };
9187
+ "click: same node": {
9188
+ type: "click: same node";
9189
+ params: unknown;
9190
+ };
9191
+ "click: focused node": {
9192
+ type: "click: focused node";
9193
+ params: unknown;
9194
+ };
9195
+ "click: node has connections": {
9196
+ type: "click: node has connections";
9197
+ params: unknown;
9198
+ };
9199
+ }>, never, EventObject>];
10006
9200
  };
10007
- readonly 'update.nodeData': {
10008
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
9201
+ readonly 'update.inputs': {
9202
+ readonly actions: ActionFunction<Context, {
9203
+ type: "update.inputs";
9204
+ inputs: Partial<Omit<Input, "view">>;
9205
+ }, Events, undefined, Values<{
10009
9206
  syncManualLayoutActorLogic: {
10010
9207
  src: "syncManualLayoutActorLogic";
10011
9208
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -10260,7 +9457,10 @@ export declare const diagramMachine: StateMachine<Context, Events, {
10260
9457
  };
10261
9458
  }>, never, never, never, never>;
10262
9459
  };
10263
- readonly 'update.edgeData': {
9460
+ readonly 'update.features': {
9461
+ readonly actions: "updateFeatures";
9462
+ };
9463
+ readonly 'update.nodeData': {
10264
9464
  readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
10265
9465
  syncManualLayoutActorLogic: {
10266
9466
  src: "syncManualLayoutActorLogic";
@@ -10516,27 +9716,8 @@ export declare const diagramMachine: StateMachine<Context, Events, {
10516
9716
  };
10517
9717
  }>, never, never, never, never>;
10518
9718
  };
10519
- readonly 'layout.align': {
10520
- readonly guard: "not readonly";
10521
- readonly actions: readonly [{
10522
- readonly type: "layout.align";
10523
- readonly params: ({ event }: {
10524
- context: Context;
10525
- event: {
10526
- type: "layout.align";
10527
- mode: AlignmentMode;
10528
- };
10529
- }) => {
10530
- mode: AlignmentMode;
10531
- };
10532
- }, ActionFunction<Context, {
10533
- type: "layout.align";
10534
- mode: AlignmentMode;
10535
- }, Events, undefined, never, never, never, never, never>];
10536
- };
10537
- readonly 'layout.resetEdgeControlPoints': {
10538
- readonly guard: "not readonly";
10539
- readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
9719
+ readonly 'update.edgeData': {
9720
+ readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
10540
9721
  syncManualLayoutActorLogic: {
10541
9722
  src: "syncManualLayoutActorLogic";
10542
9723
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -10789,26 +9970,29 @@ export declare const diagramMachine: StateMachine<Context, Events, {
10789
9970
  }>;
10790
9971
  id: "overlays";
10791
9972
  };
10792
- }>, never, never, never, never>, ActionFunction<Context, {
10793
- type: "layout.resetEdgeControlPoints";
10794
- }, Events, undefined, never, never, never, never, never>];
9973
+ }>, never, never, never, never>;
10795
9974
  };
10796
- readonly 'xyflow.resized': {
10797
- readonly guard: ({ context }: {
10798
- context: Context;
10799
- }) => boolean;
10800
- readonly actions: readonly [ CancelAction<Context, {
10801
- type: "xyflow.resized";
10802
- }, undefined, Events>, ActionFunction<Context, {
10803
- type: "xyflow.resized";
9975
+ readonly 'layout.align': {
9976
+ readonly guard: "not readonly";
9977
+ readonly actions: readonly [{
9978
+ readonly type: "layout.align";
9979
+ readonly params: ({ event }: {
9980
+ context: Context;
9981
+ event: {
9982
+ type: "layout.align";
9983
+ mode: AlignmentMode;
9984
+ };
9985
+ }) => {
9986
+ mode: AlignmentMode;
9987
+ };
9988
+ }, ActionFunction<Context, {
9989
+ type: "layout.align";
9990
+ mode: AlignmentMode;
10804
9991
  }, Events, undefined, never, never, never, never, never>];
10805
9992
  };
10806
- readonly 'open.elementDetails': {
10807
- readonly actions: ActionFunction<Context, {
10808
- type: "open.elementDetails";
10809
- fqn: Fqn;
10810
- fromNode?: NodeId | undefined;
10811
- }, Events, undefined, Values<{
9993
+ readonly 'layout.resetEdgeControlPoints': {
9994
+ readonly guard: "not readonly";
9995
+ readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
10812
9996
  syncManualLayoutActorLogic: {
10813
9997
  src: "syncManualLayoutActorLogic";
10814
9998
  logic: StateMachine<Readonly< Input>, SyncLayoutEvents, {}, never, {
@@ -11061,111 +10245,26 @@ export declare const diagramMachine: StateMachine<Context, Events, {
11061
10245
  }>;
11062
10246
  id: "overlays";
11063
10247
  };
11064
- }>, Values<{
11065
- "xyflow:fitDiagram": {
11066
- type: "xyflow:fitDiagram";
11067
- params: {
11068
- duration?: number;
11069
- bounds?: BBox;
11070
- } | undefined;
11071
- };
11072
- closeAllOverlays: {
11073
- type: "closeAllOverlays";
11074
- params: NonReducibleUnknown;
11075
- };
11076
- "layout.align": {
11077
- type: "layout.align";
11078
- params: {
11079
- mode: AlignmentMode;
11080
- };
11081
- };
11082
- "trigger:OnChange": {
11083
- type: "trigger:OnChange";
11084
- params: {
11085
- change: ViewChange;
11086
- };
11087
- };
11088
- "trigger:NavigateTo": {
11089
- type: "trigger:NavigateTo";
11090
- params: {
11091
- viewId: ViewId;
11092
- };
11093
- };
11094
- "trigger:OpenSource": {
11095
- type: "trigger:OpenSource";
11096
- params: OpenSourceParams;
11097
- };
11098
- "open source of focused node": {
11099
- type: "open source of focused node";
11100
- params: NonReducibleUnknown;
11101
- };
11102
- "xyflow:setViewportCenter": {
11103
- type: "xyflow:setViewportCenter";
11104
- params: {
11105
- x: number;
11106
- y: number;
11107
- };
11108
- };
11109
- "xyflow:setViewport": {
11110
- type: "xyflow:setViewport";
11111
- params: {
11112
- viewport: Viewport;
11113
- duration?: number;
11114
- };
11115
- };
11116
- "xyflow:alignNodeFromToAfterNavigate": {
11117
- type: "xyflow:alignNodeFromToAfterNavigate";
11118
- params: {
11119
- fromNode: NodeId;
11120
- toPosition: XYPoint;
11121
- };
11122
- };
11123
- updateFeatures: {
11124
- type: "updateFeatures";
11125
- params: NonReducibleUnknown;
11126
- };
11127
- stopSyncLayout: {
11128
- type: "stopSyncLayout";
11129
- params: NonReducibleUnknown;
11130
- };
11131
- }>, Values<{
11132
- "enabled: FitView": {
11133
- type: "enabled: FitView";
11134
- params: unknown;
11135
- };
11136
- "enabled: FocusMode": {
11137
- type: "enabled: FocusMode";
11138
- params: unknown;
11139
- };
11140
- "enabled: Readonly": {
11141
- type: "enabled: Readonly";
11142
- params: unknown;
11143
- };
11144
- "not readonly": {
11145
- type: "not readonly";
11146
- params: unknown;
11147
- };
11148
- "is dynamic view": {
11149
- type: "is dynamic view";
11150
- params: unknown;
11151
- };
11152
- "is another view": {
11153
- type: "is another view";
11154
- params: unknown;
11155
- };
11156
- "click: selected node ": {
11157
- type: "click: selected node ";
11158
- params: unknown;
11159
- };
11160
- "click: same node": {
11161
- type: "click: same node";
11162
- params: unknown;
11163
- };
11164
- "click: focused node": {
11165
- type: "click: focused node";
11166
- params: unknown;
11167
- };
11168
- }>, never, EventObject>;
10248
+ }>, never, never, never, never>, ActionFunction<Context, {
10249
+ type: "layout.resetEdgeControlPoints";
10250
+ }, Events, undefined, never, never, never, never, never>];
10251
+ };
10252
+ readonly 'xyflow.resized': {
10253
+ readonly guard: ({ context }: {
10254
+ context: Context;
10255
+ }) => boolean;
10256
+ readonly actions: readonly [ CancelAction<Context, {
10257
+ type: "xyflow.resized";
10258
+ }, undefined, Events>, ActionFunction<Context, {
10259
+ type: "xyflow.resized";
10260
+ }, Events, undefined, never, never, never, never, never>];
10261
+ };
10262
+ readonly 'open.elementDetails': {
10263
+ readonly actions: ActionFunction<Context, {
10264
+ type: "open.elementDetails";
10265
+ fqn: Fqn;
10266
+ fromNode?: NodeId | undefined;
10267
+ }, Events, undefined, never, never, never, never, never>;
11169
10268
  };
11170
10269
  readonly 'open.relationshipsBrowser': {
11171
10270
  readonly actions: ActionFunction<Context, {