@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
@@ -4,7 +4,7 @@ import { FeatureName } from '../context/DiagramFeatures';
4
4
  import { OpenSourceParams } from '../LikeC4Diagram.props';
5
5
  import { Types } from '../likec4diagram/types';
6
6
  import { AlignmentMode } from '../state/aligners';
7
- import { DiagramActorSnapshot, DiagramContext, SyncLayoutActorSnapshot } from '../state/types';
7
+ import { DiagramActorSnapshot, DiagramContext, SyncLayoutActorSnapshot, DiagramActorRef } from '../state/types';
8
8
  import { useDiagramActorRef } from './safeContext';
9
9
  import { Events, Input, ActionArg } from '../state/diagram-machine';
10
10
  import { MachineSnapshot, ActorRefFromLogic, StateMachine, NonReducibleUnknown, EventObject, MetaObject, AnyActorLogic, ConditionalRequired, InputFrom, RequiredLogicInput, IsNotNever, ActorRef, AnyActorRef, StateValue, AnyEventObject, ActionFunction, CallbackActorLogic, Values, RequiredActorOptions, GetConcreteByKey, CancelAction, StopAction } from 'xstate';
@@ -12,12 +12,13 @@ import { Input, Events } from '../state/syncManualLayoutActor';
12
12
  import { HotKeyEvent } from '../state/hotkeyActor';
13
13
  import { OverlaysContext, OverlayActorEvent, OverlayActorEmitedEvent } from '../overlays/overlaysActor';
14
14
  import { ElementDetailsLogic } from '../overlays/element-details/actor';
15
+ import { EnabledFeatures } from '../context';
15
16
  import { ReactFlowState, ReactFlowInstance } from '@xyflow/react';
16
17
  import { EdgeMarkerType, HandleType, XYPosition, Viewport, NodeChange, EdgeChange } from '@xyflow/system';
17
18
  import { ReactNode, CSSProperties } from 'react';
18
- import { focusedBounds } from '../state/utils';
19
19
  export { useDiagramActorRef };
20
20
  export declare function useDiagram(): {
21
+ actor: DiagramActorRef;
21
22
  send: (event: Events) => void;
22
23
  navigateTo: (viewId: ViewId, fromNode?: NodeId) => void;
23
24
  navigate: (direction: "back" | "forward") => void;
@@ -284,9 +285,7 @@ export declare function useDiagram(): {
284
285
  };
285
286
  readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
286
287
  }>>;
287
- }, "initializing" | "idle" | "walkthrough" | "focused" | {
288
- navigating: "done" | "pending";
289
- }, string, NonReducibleUnknown, MetaObject, {
288
+ }, "initializing" | "idle" | "walkthrough" | "focused" | "navigating", string, NonReducibleUnknown, MetaObject, {
290
289
  readonly initial: "initializing";
291
290
  readonly context: ({ input, self, spawn }: {
292
291
  spawn: {
@@ -1091,9 +1090,7 @@ export declare function useDiagram(): {
1091
1090
  enableLikeC4Model: boolean;
1092
1091
  enableVscode: boolean;
1093
1092
  };
1094
- toggledFeatures: {
1095
- enableReadOnly: true;
1096
- };
1093
+ toggledFeatures: Partial< EnabledFeatures>;
1097
1094
  initialized: false;
1098
1095
  viewportChangedManually: false;
1099
1096
  lastOnNavigate: null;
@@ -1880,10 +1877,18 @@ export declare function useDiagram(): {
1880
1877
  type: "trigger:OpenSource";
1881
1878
  params: OpenSourceParams;
1882
1879
  };
1883
- "open source of focused node": {
1884
- type: "open source of focused node";
1880
+ "assign lastClickedNode": {
1881
+ type: "assign lastClickedNode";
1882
+ params: NonReducibleUnknown;
1883
+ };
1884
+ "open source of focused or last clicked node": {
1885
+ type: "open source of focused or last clicked node";
1885
1886
  params: NonReducibleUnknown;
1886
1887
  };
1888
+ "xyflow:fitFocusedBounds": {
1889
+ type: "xyflow:fitFocusedBounds";
1890
+ params: unknown;
1891
+ };
1887
1892
  "xyflow:setViewportCenter": {
1888
1893
  type: "xyflow:setViewportCenter";
1889
1894
  params: {
@@ -1938,8 +1943,8 @@ export declare function useDiagram(): {
1938
1943
  type: "is another view";
1939
1944
  params: unknown;
1940
1945
  };
1941
- "click: selected node ": {
1942
- type: "click: selected node ";
1946
+ "click: selected node": {
1947
+ type: "click: selected node";
1943
1948
  params: unknown;
1944
1949
  };
1945
1950
  "click: same node": {
@@ -1950,6 +1955,10 @@ export declare function useDiagram(): {
1950
1955
  type: "click: focused node";
1951
1956
  params: unknown;
1952
1957
  };
1958
+ "click: node has connections": {
1959
+ type: "click: node has connections";
1960
+ params: unknown;
1961
+ };
1953
1962
  }>, never, EventObject>;
1954
1963
  readonly target: "idle";
1955
1964
  };
@@ -2219,9 +2228,11 @@ export declare function useDiagram(): {
2219
2228
  }>, never, never, never, never>];
2220
2229
  readonly target: "focused";
2221
2230
  }, {
2222
- readonly actions: ActionFunction<DiagramContext, {
2223
- type: "xyflow.nodeClick";
2224
- node: Types.Node;
2231
+ readonly actions: readonly ["assign lastClickedNode", "open source of focused or last clicked node"];
2232
+ }];
2233
+ readonly 'xyflow.paneClick': {
2234
+ readonly actions: readonly [ ActionFunction<DiagramContext, {
2235
+ type: "xyflow.paneClick";
2225
2236
  }, Events, undefined, Values<{
2226
2237
  syncManualLayoutActorLogic: {
2227
2238
  src: "syncManualLayoutActorLogic";
@@ -2475,11 +2486,36 @@ export declare function useDiagram(): {
2475
2486
  }>;
2476
2487
  id: "overlays";
2477
2488
  };
2478
- }>, never, never, never, never>;
2479
- }];
2480
- readonly 'xyflow.paneClick': {
2481
- readonly actions: readonly [ ActionFunction<DiagramContext, {
2482
- type: "xyflow.paneClick";
2489
+ }>, never, never, never, never>];
2490
+ };
2491
+ readonly 'xyflow.paneDblClick': {
2492
+ readonly actions: readonly [{
2493
+ readonly type: "xyflow:fitDiagram";
2494
+ }, {
2495
+ readonly type: "trigger:OpenSource";
2496
+ readonly params: ({ context }: {
2497
+ context: DiagramContext;
2498
+ event: {
2499
+ type: "xyflow.paneDblClick";
2500
+ };
2501
+ }) => {
2502
+ view: ViewId<string>;
2503
+ };
2504
+ }];
2505
+ };
2506
+ readonly 'saveManualLayout.*': {
2507
+ readonly guard: "not readonly";
2508
+ readonly actions: ActionFunction<DiagramContext, {
2509
+ type: "saveManualLayout.schedule";
2510
+ } | {
2511
+ type: "saveManualLayout.cancel";
2512
+ }, Events, undefined, never, never, never, never, never>;
2513
+ };
2514
+ readonly 'focus.node': {
2515
+ readonly guard: "enabled: FocusMode";
2516
+ readonly actions: ActionFunction<DiagramContext, {
2517
+ type: "focus.node";
2518
+ nodeId: NodeId;
2483
2519
  }, Events, undefined, Values<{
2484
2520
  syncManualLayoutActorLogic: {
2485
2521
  src: "syncManualLayoutActorLogic";
@@ -2733,390 +2769,107 @@ export declare function useDiagram(): {
2733
2769
  }>;
2734
2770
  id: "overlays";
2735
2771
  };
2736
- }>, never, never, never, never>];
2772
+ }>, never, never, never, never>;
2773
+ readonly target: "focused";
2737
2774
  };
2738
- readonly 'xyflow.paneDblClick': {
2739
- readonly actions: readonly [{
2740
- readonly type: "xyflow:fitDiagram";
2775
+ };
2776
+ };
2777
+ readonly focused: {
2778
+ readonly entry: readonly [ ActionFunction<DiagramContext, Events, Events, undefined, Values<{
2779
+ syncManualLayoutActorLogic: {
2780
+ src: "syncManualLayoutActorLogic";
2781
+ logic: StateMachine<Readonly< Input>, Events, {}, never, {
2782
+ type: "trigger:OnChange";
2783
+ params: {
2784
+ change: ViewChange;
2785
+ };
2741
2786
  }, {
2742
- readonly type: "trigger:OpenSource";
2743
- readonly params: ({ context }: {
2744
- context: DiagramContext;
2745
- event: {
2746
- type: "xyflow.paneDblClick";
2787
+ type: "same view";
2788
+ params: unknown;
2789
+ }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
2790
+ readonly initial: "idle";
2791
+ readonly context: ({ input }: {
2792
+ spawn: {
2793
+ <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
2794
+ <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
2795
+ id?: never;
2796
+ systemId?: string;
2797
+ input?: InputFrom<TLogic>;
2798
+ syncSnapshot?: boolean;
2799
+ } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
2747
2800
  };
2801
+ input: Input;
2802
+ self: ActorRef<MachineSnapshot<Readonly< Input>, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
2748
2803
  }) => {
2749
- view: ViewId<string>;
2804
+ parent: ActorRef<MachineSnapshot<DiagramContext, Events, any, any, any, any, any, any>, Events, any>;
2805
+ viewId: ViewId;
2750
2806
  };
2751
- }];
2752
- };
2753
- readonly 'saveManualLayout.*': {
2754
- readonly guard: "not readonly";
2755
- readonly actions: ActionFunction<DiagramContext, {
2756
- type: "saveManualLayout.schedule";
2757
- } | {
2758
- type: "saveManualLayout.cancel";
2759
- }, Events, undefined, never, never, never, never, never>;
2760
- };
2761
- readonly 'focus.node': {
2762
- readonly guard: "enabled: FocusMode";
2763
- readonly actions: ActionFunction<DiagramContext, {
2764
- type: "focus.node";
2765
- nodeId: NodeId;
2766
- }, Events, undefined, Values<{
2767
- syncManualLayoutActorLogic: {
2768
- src: "syncManualLayoutActorLogic";
2769
- logic: StateMachine<Readonly< Input>, Events, {}, never, {
2770
- type: "trigger:OnChange";
2771
- params: {
2772
- change: ViewChange;
2773
- };
2774
- }, {
2775
- type: "same view";
2776
- params: unknown;
2777
- }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
2778
- readonly initial: "idle";
2779
- readonly context: ({ input }: {
2780
- spawn: {
2781
- <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
2782
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
2783
- id?: never;
2784
- systemId?: string;
2785
- input?: InputFrom<TLogic>;
2786
- syncSnapshot?: boolean;
2787
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
2807
+ readonly states: {
2808
+ readonly idle: {
2809
+ readonly tags: "ready";
2810
+ readonly on: {
2811
+ readonly sync: {
2812
+ readonly target: "pending";
2788
2813
  };
2789
- input: Input;
2790
- self: ActorRef<MachineSnapshot<Readonly< Input>, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
2791
- }) => {
2792
- parent: ActorRef<MachineSnapshot<DiagramContext, Events, any, any, any, any, any, any>, Events, any>;
2793
- viewId: ViewId;
2794
2814
  };
2795
- readonly states: {
2796
- readonly idle: {
2797
- readonly tags: "ready";
2798
- readonly on: {
2799
- readonly sync: {
2800
- readonly target: "pending";
2801
- };
2802
- };
2815
+ };
2816
+ readonly paused: {
2817
+ readonly tags: "pending";
2818
+ readonly on: {
2819
+ readonly sync: {
2820
+ readonly target: "pending";
2803
2821
  };
2804
- readonly paused: {
2805
- readonly tags: "pending";
2806
- readonly on: {
2807
- readonly sync: {
2808
- readonly target: "pending";
2809
- };
2810
- };
2822
+ };
2823
+ };
2824
+ readonly pending: {
2825
+ readonly tags: "pending";
2826
+ readonly on: {
2827
+ readonly sync: {
2828
+ readonly target: "pending";
2829
+ readonly reenter: true;
2811
2830
  };
2812
- readonly pending: {
2813
- readonly tags: "pending";
2814
- readonly on: {
2815
- readonly sync: {
2816
- readonly target: "pending";
2817
- readonly reenter: true;
2818
- };
2819
- readonly cancel: {
2820
- readonly target: "paused";
2821
- };
2822
- };
2823
- readonly after: {
2824
- readonly timeout: readonly [{
2825
- readonly guard: "same view";
2826
- readonly actions: {
2827
- readonly type: "trigger:OnChange";
2828
- readonly params: ({ context }: {
2829
- context: Readonly< Input>;
2830
- event: Events;
2831
- }) => {
2832
- change: import("@likec4/core").ViewChange.SaveManualLayout;
2833
- };
2834
- };
2835
- readonly target: "synced";
2836
- }, {
2837
- readonly target: "stopped";
2838
- }];
2839
- };
2831
+ readonly cancel: {
2832
+ readonly target: "paused";
2840
2833
  };
2841
- readonly synced: {
2842
- readonly tags: "ready";
2843
- readonly on: {
2844
- readonly sync: {
2845
- readonly target: "pending";
2834
+ };
2835
+ readonly after: {
2836
+ readonly timeout: readonly [{
2837
+ readonly guard: "same view";
2838
+ readonly actions: {
2839
+ readonly type: "trigger:OnChange";
2840
+ readonly params: ({ context }: {
2841
+ context: Readonly< Input>;
2842
+ event: Events;
2843
+ }) => {
2844
+ change: import("@likec4/core").ViewChange.SaveManualLayout;
2846
2845
  };
2847
2846
  };
2848
- };
2849
- readonly stopped: {
2850
- readonly entry: ActionFunction<Readonly< Input>, Events, Events, undefined, never, never, never, never, never>;
2851
- readonly type: "final";
2852
- };
2847
+ readonly target: "synced";
2848
+ }, {
2849
+ readonly target: "stopped";
2850
+ }];
2853
2851
  };
2852
+ };
2853
+ readonly synced: {
2854
+ readonly tags: "ready";
2854
2855
  readonly on: {
2855
- readonly synced: {
2856
- readonly target: ".synced";
2857
- };
2858
- readonly stop: {
2859
- readonly target: ".stopped";
2856
+ readonly sync: {
2857
+ readonly target: "pending";
2860
2858
  };
2861
2859
  };
2862
- }>;
2863
- id: "syncLayout";
2860
+ };
2861
+ readonly stopped: {
2862
+ readonly entry: ActionFunction<Readonly< Input>, Events, Events, undefined, never, never, never, never, never>;
2863
+ readonly type: "final";
2864
+ };
2864
2865
  };
2865
- hotkeyActorLogic: {
2866
- src: "hotkeyActorLogic";
2867
- logic: CallbackActorLogic<AnyEventObject, NonReducibleUnknown, HotKeyEvent>;
2868
- id: "hotkey";
2869
- };
2870
- overlaysActorLogic: {
2871
- src: "overlaysActorLogic";
2872
- logic: StateMachine<OverlaysContext, OverlayActorEvent, {
2873
- [x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
2874
- [x: `relationshipDetails-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipDetails.Logic> | undefined;
2875
- [x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipsBrowser.Logic> | undefined;
2876
- hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
2877
- }, Values<{
2878
- elementDetails: {
2879
- src: "elementDetails";
2880
- logic: ElementDetailsLogic;
2881
- id: `elementDetails-${number}`;
2882
- };
2883
- relationshipDetails: {
2884
- src: "relationshipDetails";
2885
- logic: import("../overlays/types").Overlays.RelationshipDetails.Logic;
2886
- id: `relationshipDetails-${number}`;
2887
- };
2888
- relationshipsBrowser: {
2889
- src: "relationshipsBrowser";
2890
- logic: import("../overlays/types").Overlays.RelationshipsBrowser.Logic;
2891
- id: `relationshipsBrowser-${number}`;
2892
- };
2893
- hotkey: {
2894
- src: "hotkey";
2895
- logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
2896
- id: "hotkey";
2897
- };
2898
- }>, Values<{
2899
- closeLastOverlay: {
2900
- type: "closeLastOverlay";
2901
- params: NonReducibleUnknown;
2902
- };
2903
- closeSpecificOverlay: {
2904
- type: "closeSpecificOverlay";
2905
- params: {
2906
- actorId: string;
2907
- };
2908
- };
2909
- closeAllOverlays: {
2910
- type: "closeAllOverlays";
2911
- params: NonReducibleUnknown;
2912
- };
2913
- openElementDetails: {
2914
- type: "openElementDetails";
2915
- params: NonReducibleUnknown;
2916
- };
2917
- openRelationshipDetails: {
2918
- type: "openRelationshipDetails";
2919
- params: NonReducibleUnknown;
2920
- };
2921
- openRelationshipsBrowser: {
2922
- type: "openRelationshipsBrowser";
2923
- params: NonReducibleUnknown;
2924
- };
2925
- listenToEsc: {
2926
- type: "listenToEsc";
2927
- params: NonReducibleUnknown;
2928
- };
2929
- stopListeningToEsc: {
2930
- type: "stopListeningToEsc";
2931
- params: NonReducibleUnknown;
2932
- };
2933
- }>, Values<{
2934
- "has overlays?": {
2935
- type: "has overlays?";
2936
- params: unknown;
2937
- };
2938
- "close specific overlay?": {
2939
- type: "close specific overlay?";
2940
- params: unknown;
2941
- };
2942
- "last: is relationshipDetails?": {
2943
- type: "last: is relationshipDetails?";
2944
- params: unknown;
2945
- };
2946
- "last: is relationshipsBrowser?": {
2947
- type: "last: is relationshipsBrowser?";
2948
- params: unknown;
2949
- };
2950
- }>, never, "active" | "idle" | "closing", string, NonReducibleUnknown, NonReducibleUnknown, OverlayActorEmitedEvent, MetaObject, {
2951
- readonly id: "overlays";
2952
- readonly context: () => {
2953
- seq: number;
2954
- overlays: never[];
2955
- };
2956
- readonly initial: "idle";
2957
- readonly on: {
2958
- readonly 'open.elementDetails': {
2959
- readonly actions: "openElementDetails";
2960
- readonly target: ".active";
2961
- readonly reenter: false;
2962
- };
2963
- readonly 'open.relationshipDetails': {
2964
- readonly actions: "openRelationshipDetails";
2965
- readonly target: ".active";
2966
- readonly reenter: false;
2967
- };
2968
- readonly 'open.relationshipsBrowser': {
2969
- readonly actions: "openRelationshipsBrowser";
2970
- readonly target: ".active";
2971
- readonly reenter: false;
2972
- };
2973
- };
2974
- readonly states: {
2975
- readonly idle: {};
2976
- readonly active: {
2977
- readonly entry: "listenToEsc";
2978
- readonly exit: "stopListeningToEsc";
2979
- readonly on: {
2980
- readonly close: readonly [{
2981
- readonly guard: "close specific overlay?";
2982
- readonly actions: {
2983
- readonly type: "closeSpecificOverlay";
2984
- readonly params: ({ event }: {
2985
- context: OverlaysContext;
2986
- event: {
2987
- type: "close";
2988
- actorId?: string | undefined;
2989
- };
2990
- }) => {
2991
- actorId: string;
2992
- };
2993
- };
2994
- readonly target: "closing";
2995
- }, {
2996
- readonly actions: "closeLastOverlay";
2997
- readonly target: "closing";
2998
- }];
2999
- readonly 'close.all': {
3000
- readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
3001
- readonly target: "idle";
3002
- };
3003
- };
3004
- };
3005
- readonly closing: {
3006
- readonly always: readonly [{
3007
- readonly guard: "has overlays?";
3008
- readonly target: "active";
3009
- }, {
3010
- readonly actions: "stopListeningToEsc";
3011
- readonly target: "idle";
3012
- }];
3013
- };
3014
- };
3015
- readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
3016
- }>;
3017
- id: "overlays";
3018
- };
3019
- }>, never, never, never, never>;
3020
- readonly target: "focused";
3021
- };
3022
- };
3023
- };
3024
- readonly focused: {
3025
- readonly entry: readonly [ ActionFunction<DiagramContext, Events, Events, undefined, Values<{
3026
- syncManualLayoutActorLogic: {
3027
- src: "syncManualLayoutActorLogic";
3028
- logic: StateMachine<Readonly< Input>, Events, {}, never, {
3029
- type: "trigger:OnChange";
3030
- params: {
3031
- change: ViewChange;
3032
- };
3033
- }, {
3034
- type: "same view";
3035
- params: unknown;
3036
- }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
3037
- readonly initial: "idle";
3038
- readonly context: ({ input }: {
3039
- spawn: {
3040
- <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
3041
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
3042
- id?: never;
3043
- systemId?: string;
3044
- input?: InputFrom<TLogic>;
3045
- syncSnapshot?: boolean;
3046
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
3047
- };
3048
- input: Input;
3049
- self: ActorRef<MachineSnapshot<Readonly< Input>, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
3050
- }) => {
3051
- parent: ActorRef<MachineSnapshot<DiagramContext, Events, any, any, any, any, any, any>, Events, any>;
3052
- viewId: ViewId;
3053
- };
3054
- readonly states: {
3055
- readonly idle: {
3056
- readonly tags: "ready";
3057
- readonly on: {
3058
- readonly sync: {
3059
- readonly target: "pending";
3060
- };
3061
- };
3062
- };
3063
- readonly paused: {
3064
- readonly tags: "pending";
3065
- readonly on: {
3066
- readonly sync: {
3067
- readonly target: "pending";
3068
- };
3069
- };
3070
- };
3071
- readonly pending: {
3072
- readonly tags: "pending";
3073
- readonly on: {
3074
- readonly sync: {
3075
- readonly target: "pending";
3076
- readonly reenter: true;
3077
- };
3078
- readonly cancel: {
3079
- readonly target: "paused";
3080
- };
3081
- };
3082
- readonly after: {
3083
- readonly timeout: readonly [{
3084
- readonly guard: "same view";
3085
- readonly actions: {
3086
- readonly type: "trigger:OnChange";
3087
- readonly params: ({ context }: {
3088
- context: Readonly< Input>;
3089
- event: Events;
3090
- }) => {
3091
- change: import("@likec4/core").ViewChange.SaveManualLayout;
3092
- };
3093
- };
3094
- readonly target: "synced";
3095
- }, {
3096
- readonly target: "stopped";
3097
- }];
3098
- };
3099
- };
3100
- readonly synced: {
3101
- readonly tags: "ready";
3102
- readonly on: {
3103
- readonly sync: {
3104
- readonly target: "pending";
3105
- };
3106
- };
3107
- };
3108
- readonly stopped: {
3109
- readonly entry: ActionFunction<Readonly< Input>, Events, Events, undefined, never, never, never, never, never>;
3110
- readonly type: "final";
3111
- };
3112
- };
3113
- readonly on: {
3114
- readonly synced: {
3115
- readonly target: ".synced";
3116
- };
3117
- readonly stop: {
3118
- readonly target: ".stopped";
3119
- };
2866
+ readonly on: {
2867
+ readonly synced: {
2868
+ readonly target: ".synced";
2869
+ };
2870
+ readonly stop: {
2871
+ readonly target: ".stopped";
2872
+ };
3120
2873
  };
3121
2874
  }>;
3122
2875
  id: "syncLayout";
@@ -3275,7 +3028,7 @@ export declare function useDiagram(): {
3275
3028
  }>;
3276
3029
  id: "overlays";
3277
3030
  };
3278
- }>, never, never, never, never>, "open source of focused node", ActionFunction<DiagramContext, Events, Events, undefined, Values<{
3031
+ }>, never, never, never, never>, "open source of focused or last clicked node", ActionFunction<DiagramContext, Events, Events, undefined, Values<{
3279
3032
  syncManualLayoutActorLogic: {
3280
3033
  src: "syncManualLayoutActorLogic";
3281
3034
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -3528,10 +3281,7 @@ export declare function useDiagram(): {
3528
3281
  }>;
3529
3282
  id: "overlays";
3530
3283
  };
3531
- }>, never, never, never, never>, {
3532
- readonly type: "xyflow:fitDiagram";
3533
- readonly params: focusedBounds;
3534
- }];
3284
+ }>, never, never, never, never>, "xyflow:fitFocusedBounds"];
3535
3285
  readonly exit: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
3536
3286
  syncManualLayoutActorLogic: {
3537
3287
  src: "syncManualLayoutActorLogic";
@@ -3819,10 +3569,18 @@ export declare function useDiagram(): {
3819
3569
  type: "trigger:OpenSource";
3820
3570
  params: OpenSourceParams;
3821
3571
  };
3822
- "open source of focused node": {
3823
- type: "open source of focused node";
3572
+ "assign lastClickedNode": {
3573
+ type: "assign lastClickedNode";
3574
+ params: NonReducibleUnknown;
3575
+ };
3576
+ "open source of focused or last clicked node": {
3577
+ type: "open source of focused or last clicked node";
3824
3578
  params: NonReducibleUnknown;
3825
3579
  };
3580
+ "xyflow:fitFocusedBounds": {
3581
+ type: "xyflow:fitFocusedBounds";
3582
+ params: unknown;
3583
+ };
3826
3584
  "xyflow:setViewportCenter": {
3827
3585
  type: "xyflow:setViewportCenter";
3828
3586
  params: {
@@ -3877,8 +3635,8 @@ export declare function useDiagram(): {
3877
3635
  type: "is another view";
3878
3636
  params: unknown;
3879
3637
  };
3880
- "click: selected node ": {
3881
- type: "click: selected node ";
3638
+ "click: selected node": {
3639
+ type: "click: selected node";
3882
3640
  params: unknown;
3883
3641
  };
3884
3642
  "click: same node": {
@@ -3889,6 +3647,10 @@ export declare function useDiagram(): {
3889
3647
  type: "click: focused node";
3890
3648
  params: unknown;
3891
3649
  };
3650
+ "click: node has connections": {
3651
+ type: "click: node has connections";
3652
+ params: unknown;
3653
+ };
3892
3654
  }>, never, EventObject>;
3893
3655
  readonly on: {
3894
3656
  readonly 'xyflow.nodeClick': readonly [{
@@ -4151,263 +3913,10 @@ export declare function useDiagram(): {
4151
3913
  }>;
4152
3914
  id: "overlays";
4153
3915
  };
4154
- }>, never, never, never, never>, ActionFunction<DiagramContext, Events, Events, undefined, Values<{
4155
- syncManualLayoutActorLogic: {
4156
- src: "syncManualLayoutActorLogic";
4157
- logic: StateMachine<Readonly< Input>, Events, {}, never, {
4158
- type: "trigger:OnChange";
4159
- params: {
4160
- change: ViewChange;
4161
- };
4162
- }, {
4163
- type: "same view";
4164
- params: unknown;
4165
- }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
4166
- readonly initial: "idle";
4167
- readonly context: ({ input }: {
4168
- spawn: {
4169
- <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
4170
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
4171
- id?: never;
4172
- systemId?: string;
4173
- input?: InputFrom<TLogic>;
4174
- syncSnapshot?: boolean;
4175
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
4176
- };
4177
- input: Input;
4178
- self: ActorRef<MachineSnapshot<Readonly< Input>, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
4179
- }) => {
4180
- parent: ActorRef<MachineSnapshot<DiagramContext, Events, any, any, any, any, any, any>, Events, any>;
4181
- viewId: ViewId;
4182
- };
4183
- readonly states: {
4184
- readonly idle: {
4185
- readonly tags: "ready";
4186
- readonly on: {
4187
- readonly sync: {
4188
- readonly target: "pending";
4189
- };
4190
- };
4191
- };
4192
- readonly paused: {
4193
- readonly tags: "pending";
4194
- readonly on: {
4195
- readonly sync: {
4196
- readonly target: "pending";
4197
- };
4198
- };
4199
- };
4200
- readonly pending: {
4201
- readonly tags: "pending";
4202
- readonly on: {
4203
- readonly sync: {
4204
- readonly target: "pending";
4205
- readonly reenter: true;
4206
- };
4207
- readonly cancel: {
4208
- readonly target: "paused";
4209
- };
4210
- };
4211
- readonly after: {
4212
- readonly timeout: readonly [{
4213
- readonly guard: "same view";
4214
- readonly actions: {
4215
- readonly type: "trigger:OnChange";
4216
- readonly params: ({ context }: {
4217
- context: Readonly< Input>;
4218
- event: Events;
4219
- }) => {
4220
- change: import("@likec4/core").ViewChange.SaveManualLayout;
4221
- };
4222
- };
4223
- readonly target: "synced";
4224
- }, {
4225
- readonly target: "stopped";
4226
- }];
4227
- };
4228
- };
4229
- readonly synced: {
4230
- readonly tags: "ready";
4231
- readonly on: {
4232
- readonly sync: {
4233
- readonly target: "pending";
4234
- };
4235
- };
4236
- };
4237
- readonly stopped: {
4238
- readonly entry: ActionFunction<Readonly< Input>, Events, Events, undefined, never, never, never, never, never>;
4239
- readonly type: "final";
4240
- };
4241
- };
4242
- readonly on: {
4243
- readonly synced: {
4244
- readonly target: ".synced";
4245
- };
4246
- readonly stop: {
4247
- readonly target: ".stopped";
4248
- };
4249
- };
4250
- }>;
4251
- id: "syncLayout";
4252
- };
4253
- hotkeyActorLogic: {
4254
- src: "hotkeyActorLogic";
4255
- logic: CallbackActorLogic<AnyEventObject, NonReducibleUnknown, HotKeyEvent>;
4256
- id: "hotkey";
4257
- };
4258
- overlaysActorLogic: {
4259
- src: "overlaysActorLogic";
4260
- logic: StateMachine<OverlaysContext, OverlayActorEvent, {
4261
- [x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
4262
- [x: `relationshipDetails-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipDetails.Logic> | undefined;
4263
- [x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipsBrowser.Logic> | undefined;
4264
- hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
4265
- }, Values<{
4266
- elementDetails: {
4267
- src: "elementDetails";
4268
- logic: ElementDetailsLogic;
4269
- id: `elementDetails-${number}`;
4270
- };
4271
- relationshipDetails: {
4272
- src: "relationshipDetails";
4273
- logic: import("../overlays/types").Overlays.RelationshipDetails.Logic;
4274
- id: `relationshipDetails-${number}`;
4275
- };
4276
- relationshipsBrowser: {
4277
- src: "relationshipsBrowser";
4278
- logic: import("../overlays/types").Overlays.RelationshipsBrowser.Logic;
4279
- id: `relationshipsBrowser-${number}`;
4280
- };
4281
- hotkey: {
4282
- src: "hotkey";
4283
- logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
4284
- id: "hotkey";
4285
- };
4286
- }>, Values<{
4287
- closeLastOverlay: {
4288
- type: "closeLastOverlay";
4289
- params: NonReducibleUnknown;
4290
- };
4291
- closeSpecificOverlay: {
4292
- type: "closeSpecificOverlay";
4293
- params: {
4294
- actorId: string;
4295
- };
4296
- };
4297
- closeAllOverlays: {
4298
- type: "closeAllOverlays";
4299
- params: NonReducibleUnknown;
4300
- };
4301
- openElementDetails: {
4302
- type: "openElementDetails";
4303
- params: NonReducibleUnknown;
4304
- };
4305
- openRelationshipDetails: {
4306
- type: "openRelationshipDetails";
4307
- params: NonReducibleUnknown;
4308
- };
4309
- openRelationshipsBrowser: {
4310
- type: "openRelationshipsBrowser";
4311
- params: NonReducibleUnknown;
4312
- };
4313
- listenToEsc: {
4314
- type: "listenToEsc";
4315
- params: NonReducibleUnknown;
4316
- };
4317
- stopListeningToEsc: {
4318
- type: "stopListeningToEsc";
4319
- params: NonReducibleUnknown;
4320
- };
4321
- }>, Values<{
4322
- "has overlays?": {
4323
- type: "has overlays?";
4324
- params: unknown;
4325
- };
4326
- "close specific overlay?": {
4327
- type: "close specific overlay?";
4328
- params: unknown;
4329
- };
4330
- "last: is relationshipDetails?": {
4331
- type: "last: is relationshipDetails?";
4332
- params: unknown;
4333
- };
4334
- "last: is relationshipsBrowser?": {
4335
- type: "last: is relationshipsBrowser?";
4336
- params: unknown;
4337
- };
4338
- }>, never, "active" | "idle" | "closing", string, NonReducibleUnknown, NonReducibleUnknown, OverlayActorEmitedEvent, MetaObject, {
4339
- readonly id: "overlays";
4340
- readonly context: () => {
4341
- seq: number;
4342
- overlays: never[];
4343
- };
4344
- readonly initial: "idle";
4345
- readonly on: {
4346
- readonly 'open.elementDetails': {
4347
- readonly actions: "openElementDetails";
4348
- readonly target: ".active";
4349
- readonly reenter: false;
4350
- };
4351
- readonly 'open.relationshipDetails': {
4352
- readonly actions: "openRelationshipDetails";
4353
- readonly target: ".active";
4354
- readonly reenter: false;
4355
- };
4356
- readonly 'open.relationshipsBrowser': {
4357
- readonly actions: "openRelationshipsBrowser";
4358
- readonly target: ".active";
4359
- readonly reenter: false;
4360
- };
4361
- };
4362
- readonly states: {
4363
- readonly idle: {};
4364
- readonly active: {
4365
- readonly entry: "listenToEsc";
4366
- readonly exit: "stopListeningToEsc";
4367
- readonly on: {
4368
- readonly close: readonly [{
4369
- readonly guard: "close specific overlay?";
4370
- readonly actions: {
4371
- readonly type: "closeSpecificOverlay";
4372
- readonly params: ({ event }: {
4373
- context: OverlaysContext;
4374
- event: {
4375
- type: "close";
4376
- actorId?: string | undefined;
4377
- };
4378
- }) => {
4379
- actorId: string;
4380
- };
4381
- };
4382
- readonly target: "closing";
4383
- }, {
4384
- readonly actions: "closeLastOverlay";
4385
- readonly target: "closing";
4386
- }];
4387
- readonly 'close.all': {
4388
- readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
4389
- readonly target: "idle";
4390
- };
4391
- };
4392
- };
4393
- readonly closing: {
4394
- readonly always: readonly [{
4395
- readonly guard: "has overlays?";
4396
- readonly target: "active";
4397
- }, {
4398
- readonly actions: "stopListeningToEsc";
4399
- readonly target: "idle";
4400
- }];
4401
- };
4402
- };
4403
- readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
4404
- }>;
4405
- id: "overlays";
4406
- };
4407
- }>, never, never, never, never>, "open source of focused node", {
4408
- readonly type: "xyflow:fitDiagram";
4409
- readonly params: focusedBounds;
4410
- }];
3916
+ }>, never, never, never, never>, ActionFunction<DiagramContext, {
3917
+ type: "xyflow.nodeClick";
3918
+ node: Types.Node;
3919
+ }, Events, undefined, never, never, never, never, never>];
4411
3920
  }];
4412
3921
  readonly 'focus.node': {
4413
3922
  readonly actions: readonly [ ActionFunction<DiagramContext, {
@@ -4919,10 +4428,7 @@ export declare function useDiagram(): {
4919
4428
  }>;
4920
4429
  id: "overlays";
4921
4430
  };
4922
- }>, never, never, never, never>, "open source of focused node", {
4923
- readonly type: "xyflow:fitDiagram";
4924
- readonly params: focusedBounds;
4925
- }];
4431
+ }>, never, never, never, never>, "open source of focused or last clicked node", "xyflow:fitFocusedBounds"];
4926
4432
  };
4927
4433
  readonly 'key.esc': {
4928
4434
  readonly target: "idle";
@@ -5197,11 +4703,277 @@ export declare function useDiagram(): {
5197
4703
  };
5198
4704
  };
5199
4705
  readonly navigating: {
5200
- readonly initial: "pending";
5201
- readonly type: "compound";
5202
- readonly states: {
5203
- readonly pending: {
5204
- readonly entry: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
4706
+ readonly entry: readonly ["closeAllOverlays", "stopSyncLayout", {
4707
+ readonly type: "trigger:NavigateTo";
4708
+ readonly params: ({ context }: {
4709
+ context: DiagramContext;
4710
+ event: Events;
4711
+ }) => {
4712
+ viewId: ViewId;
4713
+ };
4714
+ }];
4715
+ readonly exit: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
4716
+ syncManualLayoutActorLogic: {
4717
+ src: "syncManualLayoutActorLogic";
4718
+ logic: StateMachine<Readonly< Input>, Events, {}, never, {
4719
+ type: "trigger:OnChange";
4720
+ params: {
4721
+ change: ViewChange;
4722
+ };
4723
+ }, {
4724
+ type: "same view";
4725
+ params: unknown;
4726
+ }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
4727
+ readonly initial: "idle";
4728
+ readonly context: ({ input }: {
4729
+ spawn: {
4730
+ <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
4731
+ <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
4732
+ id?: never;
4733
+ systemId?: string;
4734
+ input?: InputFrom<TLogic>;
4735
+ syncSnapshot?: boolean;
4736
+ } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
4737
+ };
4738
+ input: Input;
4739
+ self: ActorRef<MachineSnapshot<Readonly< Input>, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
4740
+ }) => {
4741
+ parent: ActorRef<MachineSnapshot<DiagramContext, Events, any, any, any, any, any, any>, Events, any>;
4742
+ viewId: ViewId;
4743
+ };
4744
+ readonly states: {
4745
+ readonly idle: {
4746
+ readonly tags: "ready";
4747
+ readonly on: {
4748
+ readonly sync: {
4749
+ readonly target: "pending";
4750
+ };
4751
+ };
4752
+ };
4753
+ readonly paused: {
4754
+ readonly tags: "pending";
4755
+ readonly on: {
4756
+ readonly sync: {
4757
+ readonly target: "pending";
4758
+ };
4759
+ };
4760
+ };
4761
+ readonly pending: {
4762
+ readonly tags: "pending";
4763
+ readonly on: {
4764
+ readonly sync: {
4765
+ readonly target: "pending";
4766
+ readonly reenter: true;
4767
+ };
4768
+ readonly cancel: {
4769
+ readonly target: "paused";
4770
+ };
4771
+ };
4772
+ readonly after: {
4773
+ readonly timeout: readonly [{
4774
+ readonly guard: "same view";
4775
+ readonly actions: {
4776
+ readonly type: "trigger:OnChange";
4777
+ readonly params: ({ context }: {
4778
+ context: Readonly< Input>;
4779
+ event: Events;
4780
+ }) => {
4781
+ change: import("@likec4/core").ViewChange.SaveManualLayout;
4782
+ };
4783
+ };
4784
+ readonly target: "synced";
4785
+ }, {
4786
+ readonly target: "stopped";
4787
+ }];
4788
+ };
4789
+ };
4790
+ readonly synced: {
4791
+ readonly tags: "ready";
4792
+ readonly on: {
4793
+ readonly sync: {
4794
+ readonly target: "pending";
4795
+ };
4796
+ };
4797
+ };
4798
+ readonly stopped: {
4799
+ readonly entry: ActionFunction<Readonly< Input>, Events, Events, undefined, never, never, never, never, never>;
4800
+ readonly type: "final";
4801
+ };
4802
+ };
4803
+ readonly on: {
4804
+ readonly synced: {
4805
+ readonly target: ".synced";
4806
+ };
4807
+ readonly stop: {
4808
+ readonly target: ".stopped";
4809
+ };
4810
+ };
4811
+ }>;
4812
+ id: "syncLayout";
4813
+ };
4814
+ hotkeyActorLogic: {
4815
+ src: "hotkeyActorLogic";
4816
+ logic: CallbackActorLogic<AnyEventObject, NonReducibleUnknown, HotKeyEvent>;
4817
+ id: "hotkey";
4818
+ };
4819
+ overlaysActorLogic: {
4820
+ src: "overlaysActorLogic";
4821
+ logic: StateMachine<OverlaysContext, OverlayActorEvent, {
4822
+ [x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
4823
+ [x: `relationshipDetails-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipDetails.Logic> | undefined;
4824
+ [x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipsBrowser.Logic> | undefined;
4825
+ hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
4826
+ }, Values<{
4827
+ elementDetails: {
4828
+ src: "elementDetails";
4829
+ logic: ElementDetailsLogic;
4830
+ id: `elementDetails-${number}`;
4831
+ };
4832
+ relationshipDetails: {
4833
+ src: "relationshipDetails";
4834
+ logic: import("../overlays/types").Overlays.RelationshipDetails.Logic;
4835
+ id: `relationshipDetails-${number}`;
4836
+ };
4837
+ relationshipsBrowser: {
4838
+ src: "relationshipsBrowser";
4839
+ logic: import("../overlays/types").Overlays.RelationshipsBrowser.Logic;
4840
+ id: `relationshipsBrowser-${number}`;
4841
+ };
4842
+ hotkey: {
4843
+ src: "hotkey";
4844
+ logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
4845
+ id: "hotkey";
4846
+ };
4847
+ }>, Values<{
4848
+ closeLastOverlay: {
4849
+ type: "closeLastOverlay";
4850
+ params: NonReducibleUnknown;
4851
+ };
4852
+ closeSpecificOverlay: {
4853
+ type: "closeSpecificOverlay";
4854
+ params: {
4855
+ actorId: string;
4856
+ };
4857
+ };
4858
+ closeAllOverlays: {
4859
+ type: "closeAllOverlays";
4860
+ params: NonReducibleUnknown;
4861
+ };
4862
+ openElementDetails: {
4863
+ type: "openElementDetails";
4864
+ params: NonReducibleUnknown;
4865
+ };
4866
+ openRelationshipDetails: {
4867
+ type: "openRelationshipDetails";
4868
+ params: NonReducibleUnknown;
4869
+ };
4870
+ openRelationshipsBrowser: {
4871
+ type: "openRelationshipsBrowser";
4872
+ params: NonReducibleUnknown;
4873
+ };
4874
+ listenToEsc: {
4875
+ type: "listenToEsc";
4876
+ params: NonReducibleUnknown;
4877
+ };
4878
+ stopListeningToEsc: {
4879
+ type: "stopListeningToEsc";
4880
+ params: NonReducibleUnknown;
4881
+ };
4882
+ }>, Values<{
4883
+ "has overlays?": {
4884
+ type: "has overlays?";
4885
+ params: unknown;
4886
+ };
4887
+ "close specific overlay?": {
4888
+ type: "close specific overlay?";
4889
+ params: unknown;
4890
+ };
4891
+ "last: is relationshipDetails?": {
4892
+ type: "last: is relationshipDetails?";
4893
+ params: unknown;
4894
+ };
4895
+ "last: is relationshipsBrowser?": {
4896
+ type: "last: is relationshipsBrowser?";
4897
+ params: unknown;
4898
+ };
4899
+ }>, never, "active" | "idle" | "closing", string, NonReducibleUnknown, NonReducibleUnknown, OverlayActorEmitedEvent, MetaObject, {
4900
+ readonly id: "overlays";
4901
+ readonly context: () => {
4902
+ seq: number;
4903
+ overlays: never[];
4904
+ };
4905
+ readonly initial: "idle";
4906
+ readonly on: {
4907
+ readonly 'open.elementDetails': {
4908
+ readonly actions: "openElementDetails";
4909
+ readonly target: ".active";
4910
+ readonly reenter: false;
4911
+ };
4912
+ readonly 'open.relationshipDetails': {
4913
+ readonly actions: "openRelationshipDetails";
4914
+ readonly target: ".active";
4915
+ readonly reenter: false;
4916
+ };
4917
+ readonly 'open.relationshipsBrowser': {
4918
+ readonly actions: "openRelationshipsBrowser";
4919
+ readonly target: ".active";
4920
+ readonly reenter: false;
4921
+ };
4922
+ };
4923
+ readonly states: {
4924
+ readonly idle: {};
4925
+ readonly active: {
4926
+ readonly entry: "listenToEsc";
4927
+ readonly exit: "stopListeningToEsc";
4928
+ readonly on: {
4929
+ readonly close: readonly [{
4930
+ readonly guard: "close specific overlay?";
4931
+ readonly actions: {
4932
+ readonly type: "closeSpecificOverlay";
4933
+ readonly params: ({ event }: {
4934
+ context: OverlaysContext;
4935
+ event: {
4936
+ type: "close";
4937
+ actorId?: string | undefined;
4938
+ };
4939
+ }) => {
4940
+ actorId: string;
4941
+ };
4942
+ };
4943
+ readonly target: "closing";
4944
+ }, {
4945
+ readonly actions: "closeLastOverlay";
4946
+ readonly target: "closing";
4947
+ }];
4948
+ readonly 'close.all': {
4949
+ readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
4950
+ readonly target: "idle";
4951
+ };
4952
+ };
4953
+ };
4954
+ readonly closing: {
4955
+ readonly always: readonly [{
4956
+ readonly guard: "has overlays?";
4957
+ readonly target: "active";
4958
+ }, {
4959
+ readonly actions: "stopListeningToEsc";
4960
+ readonly target: "idle";
4961
+ }];
4962
+ };
4963
+ };
4964
+ readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
4965
+ }>;
4966
+ id: "overlays";
4967
+ };
4968
+ }>, never, never, never, never>;
4969
+ readonly on: {
4970
+ readonly 'update.view': {
4971
+ readonly actions: ActionFunction<DiagramContext, {
4972
+ type: "update.view";
4973
+ view: DiagramView;
4974
+ xynodes: Types.Node[];
4975
+ xyedges: Types.Edge[];
4976
+ }, Events, undefined, Values<{
5205
4977
  syncManualLayoutActorLogic: {
5206
4978
  src: "syncManualLayoutActorLogic";
5207
4979
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -5488,10 +5260,18 @@ export declare function useDiagram(): {
5488
5260
  type: "trigger:OpenSource";
5489
5261
  params: OpenSourceParams;
5490
5262
  };
5491
- "open source of focused node": {
5492
- type: "open source of focused node";
5263
+ "assign lastClickedNode": {
5264
+ type: "assign lastClickedNode";
5493
5265
  params: NonReducibleUnknown;
5494
5266
  };
5267
+ "open source of focused or last clicked node": {
5268
+ type: "open source of focused or last clicked node";
5269
+ params: NonReducibleUnknown;
5270
+ };
5271
+ "xyflow:fitFocusedBounds": {
5272
+ type: "xyflow:fitFocusedBounds";
5273
+ params: unknown;
5274
+ };
5495
5275
  "xyflow:setViewportCenter": {
5496
5276
  type: "xyflow:setViewportCenter";
5497
5277
  params: {
@@ -5546,396 +5326,29 @@ export declare function useDiagram(): {
5546
5326
  type: "is another view";
5547
5327
  params: unknown;
5548
5328
  };
5549
- "click: selected node ": {
5550
- type: "click: selected node ";
5329
+ "click: selected node": {
5330
+ type: "click: selected node";
5551
5331
  params: unknown;
5552
5332
  };
5553
5333
  "click: same node": {
5554
5334
  type: "click: same node";
5555
5335
  params: unknown;
5556
5336
  };
5557
- "click: focused node": {
5558
- type: "click: focused node";
5559
- params: unknown;
5560
- };
5561
- }>, never, EventObject>;
5562
- readonly on: {
5563
- readonly 'update.view': {
5564
- readonly actions: ActionFunction<DiagramContext, {
5565
- type: "update.view";
5566
- view: DiagramView;
5567
- xynodes: Types.Node[];
5568
- xyedges: Types.Edge[];
5569
- }, Events, undefined, Values<{
5570
- syncManualLayoutActorLogic: {
5571
- src: "syncManualLayoutActorLogic";
5572
- logic: StateMachine<Readonly< Input>, Events, {}, never, {
5573
- type: "trigger:OnChange";
5574
- params: {
5575
- change: ViewChange;
5576
- };
5577
- }, {
5578
- type: "same view";
5579
- params: unknown;
5580
- }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
5581
- readonly initial: "idle";
5582
- readonly context: ({ input }: {
5583
- spawn: {
5584
- <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
5585
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
5586
- id?: never;
5587
- systemId?: string;
5588
- input?: InputFrom<TLogic>;
5589
- syncSnapshot?: boolean;
5590
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
5591
- };
5592
- input: Input;
5593
- self: ActorRef<MachineSnapshot<Readonly< Input>, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
5594
- }) => {
5595
- parent: ActorRef<MachineSnapshot<DiagramContext, Events, any, any, any, any, any, any>, Events, any>;
5596
- viewId: ViewId;
5597
- };
5598
- readonly states: {
5599
- readonly idle: {
5600
- readonly tags: "ready";
5601
- readonly on: {
5602
- readonly sync: {
5603
- readonly target: "pending";
5604
- };
5605
- };
5606
- };
5607
- readonly paused: {
5608
- readonly tags: "pending";
5609
- readonly on: {
5610
- readonly sync: {
5611
- readonly target: "pending";
5612
- };
5613
- };
5614
- };
5615
- readonly pending: {
5616
- readonly tags: "pending";
5617
- readonly on: {
5618
- readonly sync: {
5619
- readonly target: "pending";
5620
- readonly reenter: true;
5621
- };
5622
- readonly cancel: {
5623
- readonly target: "paused";
5624
- };
5625
- };
5626
- readonly after: {
5627
- readonly timeout: readonly [{
5628
- readonly guard: "same view";
5629
- readonly actions: {
5630
- readonly type: "trigger:OnChange";
5631
- readonly params: ({ context }: {
5632
- context: Readonly< Input>;
5633
- event: Events;
5634
- }) => {
5635
- change: import("@likec4/core").ViewChange.SaveManualLayout;
5636
- };
5637
- };
5638
- readonly target: "synced";
5639
- }, {
5640
- readonly target: "stopped";
5641
- }];
5642
- };
5643
- };
5644
- readonly synced: {
5645
- readonly tags: "ready";
5646
- readonly on: {
5647
- readonly sync: {
5648
- readonly target: "pending";
5649
- };
5650
- };
5651
- };
5652
- readonly stopped: {
5653
- readonly entry: ActionFunction<Readonly< Input>, Events, Events, undefined, never, never, never, never, never>;
5654
- readonly type: "final";
5655
- };
5656
- };
5657
- readonly on: {
5658
- readonly synced: {
5659
- readonly target: ".synced";
5660
- };
5661
- readonly stop: {
5662
- readonly target: ".stopped";
5663
- };
5664
- };
5665
- }>;
5666
- id: "syncLayout";
5667
- };
5668
- hotkeyActorLogic: {
5669
- src: "hotkeyActorLogic";
5670
- logic: CallbackActorLogic<AnyEventObject, NonReducibleUnknown, HotKeyEvent>;
5671
- id: "hotkey";
5672
- };
5673
- overlaysActorLogic: {
5674
- src: "overlaysActorLogic";
5675
- logic: StateMachine<OverlaysContext, OverlayActorEvent, {
5676
- [x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
5677
- [x: `relationshipDetails-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipDetails.Logic> | undefined;
5678
- [x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipsBrowser.Logic> | undefined;
5679
- hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
5680
- }, Values<{
5681
- elementDetails: {
5682
- src: "elementDetails";
5683
- logic: ElementDetailsLogic;
5684
- id: `elementDetails-${number}`;
5685
- };
5686
- relationshipDetails: {
5687
- src: "relationshipDetails";
5688
- logic: import("../overlays/types").Overlays.RelationshipDetails.Logic;
5689
- id: `relationshipDetails-${number}`;
5690
- };
5691
- relationshipsBrowser: {
5692
- src: "relationshipsBrowser";
5693
- logic: import("../overlays/types").Overlays.RelationshipsBrowser.Logic;
5694
- id: `relationshipsBrowser-${number}`;
5695
- };
5696
- hotkey: {
5697
- src: "hotkey";
5698
- logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
5699
- id: "hotkey";
5700
- };
5701
- }>, Values<{
5702
- closeLastOverlay: {
5703
- type: "closeLastOverlay";
5704
- params: NonReducibleUnknown;
5705
- };
5706
- closeSpecificOverlay: {
5707
- type: "closeSpecificOverlay";
5708
- params: {
5709
- actorId: string;
5710
- };
5711
- };
5712
- closeAllOverlays: {
5713
- type: "closeAllOverlays";
5714
- params: NonReducibleUnknown;
5715
- };
5716
- openElementDetails: {
5717
- type: "openElementDetails";
5718
- params: NonReducibleUnknown;
5719
- };
5720
- openRelationshipDetails: {
5721
- type: "openRelationshipDetails";
5722
- params: NonReducibleUnknown;
5723
- };
5724
- openRelationshipsBrowser: {
5725
- type: "openRelationshipsBrowser";
5726
- params: NonReducibleUnknown;
5727
- };
5728
- listenToEsc: {
5729
- type: "listenToEsc";
5730
- params: NonReducibleUnknown;
5731
- };
5732
- stopListeningToEsc: {
5733
- type: "stopListeningToEsc";
5734
- params: NonReducibleUnknown;
5735
- };
5736
- }>, Values<{
5737
- "has overlays?": {
5738
- type: "has overlays?";
5739
- params: unknown;
5740
- };
5741
- "close specific overlay?": {
5742
- type: "close specific overlay?";
5743
- params: unknown;
5744
- };
5745
- "last: is relationshipDetails?": {
5746
- type: "last: is relationshipDetails?";
5747
- params: unknown;
5748
- };
5749
- "last: is relationshipsBrowser?": {
5750
- type: "last: is relationshipsBrowser?";
5751
- params: unknown;
5752
- };
5753
- }>, never, "active" | "idle" | "closing", string, NonReducibleUnknown, NonReducibleUnknown, OverlayActorEmitedEvent, MetaObject, {
5754
- readonly id: "overlays";
5755
- readonly context: () => {
5756
- seq: number;
5757
- overlays: never[];
5758
- };
5759
- readonly initial: "idle";
5760
- readonly on: {
5761
- readonly 'open.elementDetails': {
5762
- readonly actions: "openElementDetails";
5763
- readonly target: ".active";
5764
- readonly reenter: false;
5765
- };
5766
- readonly 'open.relationshipDetails': {
5767
- readonly actions: "openRelationshipDetails";
5768
- readonly target: ".active";
5769
- readonly reenter: false;
5770
- };
5771
- readonly 'open.relationshipsBrowser': {
5772
- readonly actions: "openRelationshipsBrowser";
5773
- readonly target: ".active";
5774
- readonly reenter: false;
5775
- };
5776
- };
5777
- readonly states: {
5778
- readonly idle: {};
5779
- readonly active: {
5780
- readonly entry: "listenToEsc";
5781
- readonly exit: "stopListeningToEsc";
5782
- readonly on: {
5783
- readonly close: readonly [{
5784
- readonly guard: "close specific overlay?";
5785
- readonly actions: {
5786
- readonly type: "closeSpecificOverlay";
5787
- readonly params: ({ event }: {
5788
- context: OverlaysContext;
5789
- event: {
5790
- type: "close";
5791
- actorId?: string | undefined;
5792
- };
5793
- }) => {
5794
- actorId: string;
5795
- };
5796
- };
5797
- readonly target: "closing";
5798
- }, {
5799
- readonly actions: "closeLastOverlay";
5800
- readonly target: "closing";
5801
- }];
5802
- readonly 'close.all': {
5803
- readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
5804
- readonly target: "idle";
5805
- };
5806
- };
5807
- };
5808
- readonly closing: {
5809
- readonly always: readonly [{
5810
- readonly guard: "has overlays?";
5811
- readonly target: "active";
5812
- }, {
5813
- readonly actions: "stopListeningToEsc";
5814
- readonly target: "idle";
5815
- }];
5816
- };
5817
- };
5818
- readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
5819
- }>;
5820
- id: "overlays";
5821
- };
5822
- }>, Values<{
5823
- "xyflow:fitDiagram": {
5824
- type: "xyflow:fitDiagram";
5825
- params: {
5826
- duration?: number;
5827
- bounds?: BBox;
5828
- } | undefined;
5829
- };
5830
- closeAllOverlays: {
5831
- type: "closeAllOverlays";
5832
- params: NonReducibleUnknown;
5833
- };
5834
- "layout.align": {
5835
- type: "layout.align";
5836
- params: {
5837
- mode: AlignmentMode;
5838
- };
5839
- };
5840
- "trigger:OnChange": {
5841
- type: "trigger:OnChange";
5842
- params: {
5843
- change: ViewChange;
5844
- };
5845
- };
5846
- "trigger:NavigateTo": {
5847
- type: "trigger:NavigateTo";
5848
- params: {
5849
- viewId: ViewId;
5850
- };
5851
- };
5852
- "trigger:OpenSource": {
5853
- type: "trigger:OpenSource";
5854
- params: OpenSourceParams;
5855
- };
5856
- "open source of focused node": {
5857
- type: "open source of focused node";
5858
- params: NonReducibleUnknown;
5859
- };
5860
- "xyflow:setViewportCenter": {
5861
- type: "xyflow:setViewportCenter";
5862
- params: {
5863
- x: number;
5864
- y: number;
5865
- };
5866
- };
5867
- "xyflow:setViewport": {
5868
- type: "xyflow:setViewport";
5869
- params: {
5870
- viewport: Viewport;
5871
- duration?: number;
5872
- };
5873
- };
5874
- "xyflow:alignNodeFromToAfterNavigate": {
5875
- type: "xyflow:alignNodeFromToAfterNavigate";
5876
- params: {
5877
- fromNode: NodeId;
5878
- toPosition: XYPoint;
5879
- };
5880
- };
5881
- updateFeatures: {
5882
- type: "updateFeatures";
5883
- params: NonReducibleUnknown;
5884
- };
5885
- stopSyncLayout: {
5886
- type: "stopSyncLayout";
5887
- params: NonReducibleUnknown;
5888
- };
5889
- }>, Values<{
5890
- "enabled: FitView": {
5891
- type: "enabled: FitView";
5892
- params: unknown;
5893
- };
5894
- "enabled: FocusMode": {
5895
- type: "enabled: FocusMode";
5896
- params: unknown;
5897
- };
5898
- "enabled: Readonly": {
5899
- type: "enabled: Readonly";
5900
- params: unknown;
5901
- };
5902
- "not readonly": {
5903
- type: "not readonly";
5904
- params: unknown;
5905
- };
5906
- "is dynamic view": {
5907
- type: "is dynamic view";
5908
- params: unknown;
5909
- };
5910
- "is another view": {
5911
- type: "is another view";
5912
- params: unknown;
5913
- };
5914
- "click: selected node ": {
5915
- type: "click: selected node ";
5916
- params: unknown;
5917
- };
5918
- "click: same node": {
5919
- type: "click: same node";
5920
- params: unknown;
5921
- };
5922
- "click: focused node": {
5923
- type: "click: focused node";
5924
- params: unknown;
5925
- };
5926
- }>, never, EventObject>;
5927
- readonly target: "done";
5337
+ "click: focused node": {
5338
+ type: "click: focused node";
5339
+ params: unknown;
5928
5340
  };
5929
- };
5930
- };
5931
- readonly done: {
5932
- readonly type: "final";
5341
+ "click: node has connections": {
5342
+ type: "click: node has connections";
5343
+ params: unknown;
5344
+ };
5345
+ }>, never, EventObject>;
5346
+ readonly target: "#idle";
5933
5347
  };
5934
5348
  };
5935
- readonly onDone: {
5936
- readonly target: "idle";
5937
- };
5938
- readonly exit: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
5349
+ };
5350
+ readonly walkthrough: {
5351
+ readonly entry: readonly [ ActionFunction<DiagramContext, Events, Events, undefined, Values<{
5939
5352
  syncManualLayoutActorLogic: {
5940
5353
  src: "syncManualLayoutActorLogic";
5941
5354
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -6188,10 +5601,7 @@ export declare function useDiagram(): {
6188
5601
  }>;
6189
5602
  id: "overlays";
6190
5603
  };
6191
- }>, never, never, never, never>;
6192
- };
6193
- readonly walkthrough: {
6194
- readonly entry: readonly [ ActionFunction<DiagramContext, Events, Events, undefined, Values<{
5604
+ }>, never, never, never, never>, ActionFunction<DiagramContext, Events, Events, undefined, Values<{
6195
5605
  syncManualLayoutActorLogic: {
6196
5606
  src: "syncManualLayoutActorLogic";
6197
5607
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -6697,10 +6107,7 @@ export declare function useDiagram(): {
6697
6107
  }>;
6698
6108
  id: "overlays";
6699
6109
  };
6700
- }>, never, never, never, never>, {
6701
- readonly type: "xyflow:fitDiagram";
6702
- readonly params: focusedBounds;
6703
- }];
6110
+ }>, never, never, never, never>, "xyflow:fitFocusedBounds"];
6704
6111
  readonly on: {
6705
6112
  readonly 'key.esc': {
6706
6113
  readonly target: "idle";
@@ -6917,543 +6324,193 @@ export declare function useDiagram(): {
6917
6324
  readonly target: ".active";
6918
6325
  readonly reenter: false;
6919
6326
  };
6920
- readonly 'open.relationshipsBrowser': {
6921
- readonly actions: "openRelationshipsBrowser";
6922
- readonly target: ".active";
6923
- readonly reenter: false;
6924
- };
6925
- };
6926
- readonly states: {
6927
- readonly idle: {};
6928
- readonly active: {
6929
- readonly entry: "listenToEsc";
6930
- readonly exit: "stopListeningToEsc";
6931
- readonly on: {
6932
- readonly close: readonly [{
6933
- readonly guard: "close specific overlay?";
6934
- readonly actions: {
6935
- readonly type: "closeSpecificOverlay";
6936
- readonly params: ({ event }: {
6937
- context: OverlaysContext;
6938
- event: {
6939
- type: "close";
6940
- actorId?: string | undefined;
6941
- };
6942
- }) => {
6943
- actorId: string;
6944
- };
6945
- };
6946
- readonly target: "closing";
6947
- }, {
6948
- readonly actions: "closeLastOverlay";
6949
- readonly target: "closing";
6950
- }];
6951
- readonly 'close.all': {
6952
- readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
6953
- readonly target: "idle";
6954
- };
6955
- };
6956
- };
6957
- readonly closing: {
6958
- readonly always: readonly [{
6959
- readonly guard: "has overlays?";
6960
- readonly target: "active";
6961
- }, {
6962
- readonly actions: "stopListeningToEsc";
6963
- readonly target: "idle";
6964
- }];
6965
- };
6966
- };
6967
- readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
6968
- }>;
6969
- id: "overlays";
6970
- };
6971
- }>, Values<{
6972
- "xyflow:fitDiagram": {
6973
- type: "xyflow:fitDiagram";
6974
- params: {
6975
- duration?: number;
6976
- bounds?: BBox;
6977
- } | undefined;
6978
- };
6979
- closeAllOverlays: {
6980
- type: "closeAllOverlays";
6981
- params: NonReducibleUnknown;
6982
- };
6983
- "layout.align": {
6984
- type: "layout.align";
6985
- params: {
6986
- mode: AlignmentMode;
6987
- };
6988
- };
6989
- "trigger:OnChange": {
6990
- type: "trigger:OnChange";
6991
- params: {
6992
- change: ViewChange;
6993
- };
6994
- };
6995
- "trigger:NavigateTo": {
6996
- type: "trigger:NavigateTo";
6997
- params: {
6998
- viewId: ViewId;
6999
- };
7000
- };
7001
- "trigger:OpenSource": {
7002
- type: "trigger:OpenSource";
7003
- params: OpenSourceParams;
7004
- };
7005
- "open source of focused node": {
7006
- type: "open source of focused node";
7007
- params: NonReducibleUnknown;
7008
- };
7009
- "xyflow:setViewportCenter": {
7010
- type: "xyflow:setViewportCenter";
7011
- params: {
7012
- x: number;
7013
- y: number;
7014
- };
7015
- };
7016
- "xyflow:setViewport": {
7017
- type: "xyflow:setViewport";
7018
- params: {
7019
- viewport: Viewport;
7020
- duration?: number;
7021
- };
7022
- };
7023
- "xyflow:alignNodeFromToAfterNavigate": {
7024
- type: "xyflow:alignNodeFromToAfterNavigate";
7025
- params: {
7026
- fromNode: NodeId;
7027
- toPosition: XYPoint;
7028
- };
7029
- };
7030
- updateFeatures: {
7031
- type: "updateFeatures";
7032
- params: NonReducibleUnknown;
7033
- };
7034
- stopSyncLayout: {
7035
- type: "stopSyncLayout";
7036
- params: NonReducibleUnknown;
7037
- };
7038
- }>, Values<{
7039
- "enabled: FitView": {
7040
- type: "enabled: FitView";
7041
- params: unknown;
7042
- };
7043
- "enabled: FocusMode": {
7044
- type: "enabled: FocusMode";
7045
- params: unknown;
7046
- };
7047
- "enabled: Readonly": {
7048
- type: "enabled: Readonly";
7049
- params: unknown;
7050
- };
7051
- "not readonly": {
7052
- type: "not readonly";
7053
- params: unknown;
7054
- };
7055
- "is dynamic view": {
7056
- type: "is dynamic view";
7057
- params: unknown;
7058
- };
7059
- "is another view": {
7060
- type: "is another view";
7061
- params: unknown;
7062
- };
7063
- "click: selected node ": {
7064
- type: "click: selected node ";
7065
- params: unknown;
7066
- };
7067
- "click: same node": {
7068
- type: "click: same node";
7069
- params: unknown;
7070
- };
7071
- "click: focused node": {
7072
- type: "click: focused node";
7073
- params: unknown;
7074
- };
7075
- }>, never, EventObject>;
7076
- };
7077
- readonly 'walkthrough.end': {
7078
- readonly target: "idle";
7079
- };
7080
- readonly 'update.view': {
7081
- readonly guard: "is another view";
7082
- readonly actions: ActionFunction<DiagramContext, {
7083
- type: "update.view";
7084
- view: DiagramView;
7085
- xynodes: Types.Node[];
7086
- xyedges: Types.Edge[];
7087
- }, Events, undefined, never, never, never, never, never>;
7088
- readonly target: "idle";
7089
- };
7090
- };
7091
- readonly exit: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
7092
- syncManualLayoutActorLogic: {
7093
- src: "syncManualLayoutActorLogic";
7094
- logic: StateMachine<Readonly< Input>, Events, {}, never, {
7095
- type: "trigger:OnChange";
7096
- params: {
7097
- change: ViewChange;
7098
- };
7099
- }, {
7100
- type: "same view";
7101
- params: unknown;
7102
- }, "timeout", "paused" | "stopped" | "idle" | "synced" | "pending", "pending" | "ready", Input, NonReducibleUnknown, EventObject, MetaObject, {
7103
- readonly initial: "idle";
7104
- readonly context: ({ input }: {
7105
- spawn: {
7106
- <TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
7107
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
7108
- id?: never;
7109
- systemId?: string;
7110
- input?: InputFrom<TLogic>;
7111
- syncSnapshot?: boolean;
7112
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
7113
- };
7114
- input: Input;
7115
- self: ActorRef<MachineSnapshot<Readonly< Input>, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
7116
- }) => {
7117
- parent: ActorRef<MachineSnapshot<DiagramContext, Events, any, any, any, any, any, any>, Events, any>;
7118
- viewId: ViewId;
7119
- };
7120
- readonly states: {
7121
- readonly idle: {
7122
- readonly tags: "ready";
7123
- readonly on: {
7124
- readonly sync: {
7125
- readonly target: "pending";
7126
- };
7127
- };
7128
- };
7129
- readonly paused: {
7130
- readonly tags: "pending";
7131
- readonly on: {
7132
- readonly sync: {
7133
- readonly target: "pending";
7134
- };
7135
- };
7136
- };
7137
- readonly pending: {
7138
- readonly tags: "pending";
7139
- readonly on: {
7140
- readonly sync: {
7141
- readonly target: "pending";
7142
- readonly reenter: true;
7143
- };
7144
- readonly cancel: {
7145
- readonly target: "paused";
7146
- };
7147
- };
7148
- readonly after: {
7149
- readonly timeout: readonly [{
7150
- readonly guard: "same view";
7151
- readonly actions: {
7152
- readonly type: "trigger:OnChange";
7153
- readonly params: ({ context }: {
7154
- context: Readonly< Input>;
7155
- event: Events;
7156
- }) => {
7157
- change: import("@likec4/core").ViewChange.SaveManualLayout;
6327
+ readonly 'open.relationshipsBrowser': {
6328
+ readonly actions: "openRelationshipsBrowser";
6329
+ readonly target: ".active";
6330
+ readonly reenter: false;
6331
+ };
6332
+ };
6333
+ readonly states: {
6334
+ readonly idle: {};
6335
+ readonly active: {
6336
+ readonly entry: "listenToEsc";
6337
+ readonly exit: "stopListeningToEsc";
6338
+ readonly on: {
6339
+ readonly close: readonly [{
6340
+ readonly guard: "close specific overlay?";
6341
+ readonly actions: {
6342
+ readonly type: "closeSpecificOverlay";
6343
+ readonly params: ({ event }: {
6344
+ context: OverlaysContext;
6345
+ event: {
6346
+ type: "close";
6347
+ actorId?: string | undefined;
6348
+ };
6349
+ }) => {
6350
+ actorId: string;
6351
+ };
6352
+ };
6353
+ readonly target: "closing";
6354
+ }, {
6355
+ readonly actions: "closeLastOverlay";
6356
+ readonly target: "closing";
6357
+ }];
6358
+ readonly 'close.all': {
6359
+ readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
6360
+ readonly target: "idle";
7158
6361
  };
7159
6362
  };
7160
- readonly target: "synced";
7161
- }, {
7162
- readonly target: "stopped";
7163
- }];
7164
- };
7165
- };
7166
- readonly synced: {
7167
- readonly tags: "ready";
7168
- readonly on: {
7169
- readonly sync: {
7170
- readonly target: "pending";
6363
+ };
6364
+ readonly closing: {
6365
+ readonly always: readonly [{
6366
+ readonly guard: "has overlays?";
6367
+ readonly target: "active";
6368
+ }, {
6369
+ readonly actions: "stopListeningToEsc";
6370
+ readonly target: "idle";
6371
+ }];
7171
6372
  };
7172
6373
  };
7173
- };
7174
- readonly stopped: {
7175
- readonly entry: ActionFunction<Readonly< Input>, Events, Events, undefined, never, never, never, never, never>;
7176
- readonly type: "final";
7177
- };
7178
- };
7179
- readonly on: {
7180
- readonly synced: {
7181
- readonly target: ".synced";
7182
- };
7183
- readonly stop: {
7184
- readonly target: ".stopped";
7185
- };
7186
- };
7187
- }>;
7188
- id: "syncLayout";
7189
- };
7190
- hotkeyActorLogic: {
7191
- src: "hotkeyActorLogic";
7192
- logic: CallbackActorLogic<AnyEventObject, NonReducibleUnknown, HotKeyEvent>;
7193
- id: "hotkey";
7194
- };
7195
- overlaysActorLogic: {
7196
- src: "overlaysActorLogic";
7197
- logic: StateMachine<OverlaysContext, OverlayActorEvent, {
7198
- [x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
7199
- [x: `relationshipDetails-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipDetails.Logic> | undefined;
7200
- [x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<import("../overlays/types").Overlays.RelationshipsBrowser.Logic> | undefined;
7201
- hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
7202
- }, Values<{
7203
- elementDetails: {
7204
- src: "elementDetails";
7205
- logic: ElementDetailsLogic;
7206
- id: `elementDetails-${number}`;
7207
- };
7208
- relationshipDetails: {
7209
- src: "relationshipDetails";
7210
- logic: import("../overlays/types").Overlays.RelationshipDetails.Logic;
7211
- id: `relationshipDetails-${number}`;
7212
- };
7213
- relationshipsBrowser: {
7214
- src: "relationshipsBrowser";
7215
- logic: import("../overlays/types").Overlays.RelationshipsBrowser.Logic;
7216
- id: `relationshipsBrowser-${number}`;
7217
- };
7218
- hotkey: {
7219
- src: "hotkey";
7220
- logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
7221
- id: "hotkey";
6374
+ readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
6375
+ }>;
6376
+ id: "overlays";
7222
6377
  };
7223
6378
  }>, Values<{
7224
- closeLastOverlay: {
7225
- type: "closeLastOverlay";
7226
- params: NonReducibleUnknown;
7227
- };
7228
- closeSpecificOverlay: {
7229
- type: "closeSpecificOverlay";
6379
+ "xyflow:fitDiagram": {
6380
+ type: "xyflow:fitDiagram";
7230
6381
  params: {
7231
- actorId: string;
7232
- };
6382
+ duration?: number;
6383
+ bounds?: BBox;
6384
+ } | undefined;
7233
6385
  };
7234
6386
  closeAllOverlays: {
7235
6387
  type: "closeAllOverlays";
7236
6388
  params: NonReducibleUnknown;
7237
6389
  };
7238
- openElementDetails: {
7239
- type: "openElementDetails";
7240
- params: NonReducibleUnknown;
6390
+ "layout.align": {
6391
+ type: "layout.align";
6392
+ params: {
6393
+ mode: AlignmentMode;
6394
+ };
7241
6395
  };
7242
- openRelationshipDetails: {
7243
- type: "openRelationshipDetails";
7244
- params: NonReducibleUnknown;
6396
+ "trigger:OnChange": {
6397
+ type: "trigger:OnChange";
6398
+ params: {
6399
+ change: ViewChange;
6400
+ };
7245
6401
  };
7246
- openRelationshipsBrowser: {
7247
- type: "openRelationshipsBrowser";
7248
- params: NonReducibleUnknown;
6402
+ "trigger:NavigateTo": {
6403
+ type: "trigger:NavigateTo";
6404
+ params: {
6405
+ viewId: ViewId;
6406
+ };
7249
6407
  };
7250
- listenToEsc: {
7251
- type: "listenToEsc";
6408
+ "trigger:OpenSource": {
6409
+ type: "trigger:OpenSource";
6410
+ params: OpenSourceParams;
6411
+ };
6412
+ "assign lastClickedNode": {
6413
+ type: "assign lastClickedNode";
7252
6414
  params: NonReducibleUnknown;
7253
6415
  };
7254
- stopListeningToEsc: {
7255
- type: "stopListeningToEsc";
6416
+ "open source of focused or last clicked node": {
6417
+ type: "open source of focused or last clicked node";
7256
6418
  params: NonReducibleUnknown;
7257
6419
  };
7258
- }>, Values<{
7259
- "has overlays?": {
7260
- type: "has overlays?";
6420
+ "xyflow:fitFocusedBounds": {
6421
+ type: "xyflow:fitFocusedBounds";
7261
6422
  params: unknown;
7262
6423
  };
7263
- "close specific overlay?": {
7264
- type: "close specific overlay?";
7265
- params: unknown;
6424
+ "xyflow:setViewportCenter": {
6425
+ type: "xyflow:setViewportCenter";
6426
+ params: {
6427
+ x: number;
6428
+ y: number;
6429
+ };
7266
6430
  };
7267
- "last: is relationshipDetails?": {
7268
- type: "last: is relationshipDetails?";
7269
- params: unknown;
6431
+ "xyflow:setViewport": {
6432
+ type: "xyflow:setViewport";
6433
+ params: {
6434
+ viewport: Viewport;
6435
+ duration?: number;
6436
+ };
7270
6437
  };
7271
- "last: is relationshipsBrowser?": {
7272
- type: "last: is relationshipsBrowser?";
7273
- params: unknown;
6438
+ "xyflow:alignNodeFromToAfterNavigate": {
6439
+ type: "xyflow:alignNodeFromToAfterNavigate";
6440
+ params: {
6441
+ fromNode: NodeId;
6442
+ toPosition: XYPoint;
6443
+ };
7274
6444
  };
7275
- }>, never, "active" | "idle" | "closing", string, NonReducibleUnknown, NonReducibleUnknown, OverlayActorEmitedEvent, MetaObject, {
7276
- readonly id: "overlays";
7277
- readonly context: () => {
7278
- seq: number;
7279
- overlays: never[];
6445
+ updateFeatures: {
6446
+ type: "updateFeatures";
6447
+ params: NonReducibleUnknown;
7280
6448
  };
7281
- readonly initial: "idle";
7282
- readonly on: {
7283
- readonly 'open.elementDetails': {
7284
- readonly actions: "openElementDetails";
7285
- readonly target: ".active";
7286
- readonly reenter: false;
7287
- };
7288
- readonly 'open.relationshipDetails': {
7289
- readonly actions: "openRelationshipDetails";
7290
- readonly target: ".active";
7291
- readonly reenter: false;
7292
- };
7293
- readonly 'open.relationshipsBrowser': {
7294
- readonly actions: "openRelationshipsBrowser";
7295
- readonly target: ".active";
7296
- readonly reenter: false;
7297
- };
6449
+ stopSyncLayout: {
6450
+ type: "stopSyncLayout";
6451
+ params: NonReducibleUnknown;
7298
6452
  };
7299
- readonly states: {
7300
- readonly idle: {};
7301
- readonly active: {
7302
- readonly entry: "listenToEsc";
7303
- readonly exit: "stopListeningToEsc";
7304
- readonly on: {
7305
- readonly close: readonly [{
7306
- readonly guard: "close specific overlay?";
7307
- readonly actions: {
7308
- readonly type: "closeSpecificOverlay";
7309
- readonly params: ({ event }: {
7310
- context: OverlaysContext;
7311
- event: {
7312
- type: "close";
7313
- actorId?: string | undefined;
7314
- };
7315
- }) => {
7316
- actorId: string;
7317
- };
7318
- };
7319
- readonly target: "closing";
7320
- }, {
7321
- readonly actions: "closeLastOverlay";
7322
- readonly target: "closing";
7323
- }];
7324
- readonly 'close.all': {
7325
- readonly actions: readonly ["closeAllOverlays", "stopListeningToEsc"];
7326
- readonly target: "idle";
7327
- };
7328
- };
7329
- };
7330
- readonly closing: {
7331
- readonly always: readonly [{
7332
- readonly guard: "has overlays?";
7333
- readonly target: "active";
7334
- }, {
7335
- readonly actions: "stopListeningToEsc";
7336
- readonly target: "idle";
7337
- }];
7338
- };
6453
+ }>, Values<{
6454
+ "enabled: FitView": {
6455
+ type: "enabled: FitView";
6456
+ params: unknown;
6457
+ };
6458
+ "enabled: FocusMode": {
6459
+ type: "enabled: FocusMode";
6460
+ params: unknown;
7339
6461
  };
7340
- readonly exit: readonly ["stopListeningToEsc", "closeAllOverlays"];
7341
- }>;
7342
- id: "overlays";
7343
- };
7344
- }>, Values<{
7345
- "xyflow:fitDiagram": {
7346
- type: "xyflow:fitDiagram";
7347
- params: {
7348
- duration?: number;
7349
- bounds?: BBox;
7350
- } | undefined;
7351
- };
7352
- closeAllOverlays: {
7353
- type: "closeAllOverlays";
7354
- params: NonReducibleUnknown;
7355
- };
7356
- "layout.align": {
7357
- type: "layout.align";
7358
- params: {
7359
- mode: AlignmentMode;
7360
- };
7361
- };
7362
- "trigger:OnChange": {
7363
- type: "trigger:OnChange";
7364
- params: {
7365
- change: ViewChange;
7366
- };
7367
- };
7368
- "trigger:NavigateTo": {
7369
- type: "trigger:NavigateTo";
7370
- params: {
7371
- viewId: ViewId;
7372
- };
7373
- };
7374
- "trigger:OpenSource": {
7375
- type: "trigger:OpenSource";
7376
- params: OpenSourceParams;
7377
- };
7378
- "open source of focused node": {
7379
- type: "open source of focused node";
7380
- params: NonReducibleUnknown;
7381
- };
7382
- "xyflow:setViewportCenter": {
7383
- type: "xyflow:setViewportCenter";
7384
- params: {
7385
- x: number;
7386
- y: number;
7387
- };
7388
- };
7389
- "xyflow:setViewport": {
7390
- type: "xyflow:setViewport";
7391
- params: {
7392
- viewport: Viewport;
7393
- duration?: number;
7394
- };
7395
- };
7396
- "xyflow:alignNodeFromToAfterNavigate": {
7397
- type: "xyflow:alignNodeFromToAfterNavigate";
7398
- params: {
7399
- fromNode: NodeId;
7400
- toPosition: XYPoint;
7401
- };
7402
- };
7403
- updateFeatures: {
7404
- type: "updateFeatures";
7405
- params: NonReducibleUnknown;
7406
- };
7407
- stopSyncLayout: {
7408
- type: "stopSyncLayout";
7409
- params: NonReducibleUnknown;
7410
- };
7411
- }>, Values<{
7412
- "enabled: FitView": {
7413
- type: "enabled: FitView";
7414
- params: unknown;
7415
- };
7416
- "enabled: FocusMode": {
7417
- type: "enabled: FocusMode";
7418
- params: unknown;
7419
- };
7420
- "enabled: Readonly": {
7421
- type: "enabled: Readonly";
7422
- params: unknown;
7423
- };
7424
- "not readonly": {
7425
- type: "not readonly";
7426
- params: unknown;
7427
- };
7428
- "is dynamic view": {
7429
- type: "is dynamic view";
7430
- params: unknown;
7431
- };
7432
- "is another view": {
7433
- type: "is another view";
7434
- params: unknown;
6462
+ "enabled: Readonly": {
6463
+ type: "enabled: Readonly";
6464
+ params: unknown;
6465
+ };
6466
+ "not readonly": {
6467
+ type: "not readonly";
6468
+ params: unknown;
6469
+ };
6470
+ "is dynamic view": {
6471
+ type: "is dynamic view";
6472
+ params: unknown;
6473
+ };
6474
+ "is another view": {
6475
+ type: "is another view";
6476
+ params: unknown;
6477
+ };
6478
+ "click: selected node": {
6479
+ type: "click: selected node";
6480
+ params: unknown;
6481
+ };
6482
+ "click: same node": {
6483
+ type: "click: same node";
6484
+ params: unknown;
6485
+ };
6486
+ "click: focused node": {
6487
+ type: "click: focused node";
6488
+ params: unknown;
6489
+ };
6490
+ "click: node has connections": {
6491
+ type: "click: node has connections";
6492
+ params: unknown;
6493
+ };
6494
+ }>, never, EventObject>;
7435
6495
  };
7436
- "click: selected node ": {
7437
- type: "click: selected node ";
7438
- params: unknown;
6496
+ readonly 'walkthrough.end': {
6497
+ readonly target: "idle";
7439
6498
  };
7440
- "click: same node": {
7441
- type: "click: same node";
7442
- params: unknown;
6499
+ readonly 'xyflow.paneDblClick': {
6500
+ readonly target: "idle";
7443
6501
  };
7444
- "click: focused node": {
7445
- type: "click: focused node";
7446
- params: unknown;
6502
+ readonly 'update.view': {
6503
+ readonly guard: "is another view";
6504
+ readonly actions: ActionFunction<DiagramContext, {
6505
+ type: "update.view";
6506
+ view: DiagramView;
6507
+ xynodes: Types.Node[];
6508
+ xyedges: Types.Edge[];
6509
+ }, Events, undefined, never, never, never, never, never>;
6510
+ readonly target: "idle";
7447
6511
  };
7448
- }>, never, EventObject>;
7449
- };
7450
- };
7451
- readonly on: {
7452
- readonly 'xyflow.applyNodeChanges': {
7453
- readonly actions: ActionFunction<DiagramContext, {
7454
- type: "xyflow.applyNodeChanges";
7455
- changes: NodeChange<Types.Node>[];
7456
- }, Events, undefined, Values<{
6512
+ };
6513
+ readonly exit: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
7457
6514
  syncManualLayoutActorLogic: {
7458
6515
  src: "syncManualLayoutActorLogic";
7459
6516
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -7706,12 +6763,130 @@ export declare function useDiagram(): {
7706
6763
  }>;
7707
6764
  id: "overlays";
7708
6765
  };
7709
- }>, never, never, never, never>;
6766
+ }>, Values<{
6767
+ "xyflow:fitDiagram": {
6768
+ type: "xyflow:fitDiagram";
6769
+ params: {
6770
+ duration?: number;
6771
+ bounds?: BBox;
6772
+ } | undefined;
6773
+ };
6774
+ closeAllOverlays: {
6775
+ type: "closeAllOverlays";
6776
+ params: NonReducibleUnknown;
6777
+ };
6778
+ "layout.align": {
6779
+ type: "layout.align";
6780
+ params: {
6781
+ mode: AlignmentMode;
6782
+ };
6783
+ };
6784
+ "trigger:OnChange": {
6785
+ type: "trigger:OnChange";
6786
+ params: {
6787
+ change: ViewChange;
6788
+ };
6789
+ };
6790
+ "trigger:NavigateTo": {
6791
+ type: "trigger:NavigateTo";
6792
+ params: {
6793
+ viewId: ViewId;
6794
+ };
6795
+ };
6796
+ "trigger:OpenSource": {
6797
+ type: "trigger:OpenSource";
6798
+ params: OpenSourceParams;
6799
+ };
6800
+ "assign lastClickedNode": {
6801
+ type: "assign lastClickedNode";
6802
+ params: NonReducibleUnknown;
6803
+ };
6804
+ "open source of focused or last clicked node": {
6805
+ type: "open source of focused or last clicked node";
6806
+ params: NonReducibleUnknown;
6807
+ };
6808
+ "xyflow:fitFocusedBounds": {
6809
+ type: "xyflow:fitFocusedBounds";
6810
+ params: unknown;
6811
+ };
6812
+ "xyflow:setViewportCenter": {
6813
+ type: "xyflow:setViewportCenter";
6814
+ params: {
6815
+ x: number;
6816
+ y: number;
6817
+ };
6818
+ };
6819
+ "xyflow:setViewport": {
6820
+ type: "xyflow:setViewport";
6821
+ params: {
6822
+ viewport: Viewport;
6823
+ duration?: number;
6824
+ };
6825
+ };
6826
+ "xyflow:alignNodeFromToAfterNavigate": {
6827
+ type: "xyflow:alignNodeFromToAfterNavigate";
6828
+ params: {
6829
+ fromNode: NodeId;
6830
+ toPosition: XYPoint;
6831
+ };
6832
+ };
6833
+ updateFeatures: {
6834
+ type: "updateFeatures";
6835
+ params: NonReducibleUnknown;
6836
+ };
6837
+ stopSyncLayout: {
6838
+ type: "stopSyncLayout";
6839
+ params: NonReducibleUnknown;
6840
+ };
6841
+ }>, Values<{
6842
+ "enabled: FitView": {
6843
+ type: "enabled: FitView";
6844
+ params: unknown;
6845
+ };
6846
+ "enabled: FocusMode": {
6847
+ type: "enabled: FocusMode";
6848
+ params: unknown;
6849
+ };
6850
+ "enabled: Readonly": {
6851
+ type: "enabled: Readonly";
6852
+ params: unknown;
6853
+ };
6854
+ "not readonly": {
6855
+ type: "not readonly";
6856
+ params: unknown;
6857
+ };
6858
+ "is dynamic view": {
6859
+ type: "is dynamic view";
6860
+ params: unknown;
6861
+ };
6862
+ "is another view": {
6863
+ type: "is another view";
6864
+ params: unknown;
6865
+ };
6866
+ "click: selected node": {
6867
+ type: "click: selected node";
6868
+ params: unknown;
6869
+ };
6870
+ "click: same node": {
6871
+ type: "click: same node";
6872
+ params: unknown;
6873
+ };
6874
+ "click: focused node": {
6875
+ type: "click: focused node";
6876
+ params: unknown;
6877
+ };
6878
+ "click: node has connections": {
6879
+ type: "click: node has connections";
6880
+ params: unknown;
6881
+ };
6882
+ }>, never, EventObject>;
7710
6883
  };
7711
- readonly 'xyflow.applyEdgeChanges': {
6884
+ };
6885
+ readonly on: {
6886
+ readonly 'xyflow.applyNodeChanges': {
7712
6887
  readonly actions: ActionFunction<DiagramContext, {
7713
- type: "xyflow.applyEdgeChanges";
7714
- changes: EdgeChange<Types.Edge>[];
6888
+ type: "xyflow.applyNodeChanges";
6889
+ changes: NodeChange<Types.Node>[];
7715
6890
  }, Events, undefined, Values<{
7716
6891
  syncManualLayoutActorLogic: {
7717
6892
  src: "syncManualLayoutActorLogic";
@@ -7967,11 +7142,10 @@ export declare function useDiagram(): {
7967
7142
  };
7968
7143
  }>, never, never, never, never>;
7969
7144
  };
7970
- readonly 'xyflow.viewportMoved': {
7145
+ readonly 'xyflow.applyEdgeChanges': {
7971
7146
  readonly actions: ActionFunction<DiagramContext, {
7972
- type: "xyflow.viewportMoved";
7973
- viewport: Viewport;
7974
- manually: boolean;
7147
+ type: "xyflow.applyEdgeChanges";
7148
+ changes: EdgeChange<Types.Edge>[];
7975
7149
  }, Events, undefined, Values<{
7976
7150
  syncManualLayoutActorLogic: {
7977
7151
  src: "syncManualLayoutActorLogic";
@@ -8227,30 +7401,11 @@ export declare function useDiagram(): {
8227
7401
  };
8228
7402
  }>, never, never, never, never>;
8229
7403
  };
8230
- readonly fitDiagram: {
8231
- readonly guard: "enabled: FitView";
8232
- readonly actions: {
8233
- readonly type: "xyflow:fitDiagram";
8234
- readonly params: (data: {
8235
- context: DiagramContext;
8236
- event: {
8237
- type: "fitDiagram";
8238
- duration?: number;
8239
- bounds?: BBox;
8240
- };
8241
- }) => {
8242
- type: "fitDiagram";
8243
- duration?: number;
8244
- bounds?: BBox;
8245
- };
8246
- };
8247
- };
8248
- readonly 'navigate.to': {
8249
- readonly guard: "is another view";
8250
- readonly actions: readonly [ ActionFunction<DiagramContext, {
8251
- type: "navigate.to";
8252
- viewId: ViewId;
8253
- fromNode?: NodeId | undefined;
7404
+ readonly 'xyflow.viewportMoved': {
7405
+ readonly actions: ActionFunction<DiagramContext, {
7406
+ type: "xyflow.viewportMoved";
7407
+ viewport: Viewport;
7408
+ manually: boolean;
8254
7409
  }, Events, undefined, Values<{
8255
7410
  syncManualLayoutActorLogic: {
8256
7411
  src: "syncManualLayoutActorLogic";
@@ -8504,12 +7659,33 @@ export declare function useDiagram(): {
8504
7659
  }>;
8505
7660
  id: "overlays";
8506
7661
  };
8507
- }>, never, never, never, never>];
8508
- readonly target: ".navigating";
7662
+ }>, never, never, never, never>;
8509
7663
  };
8510
- readonly 'navigate.back': {
8511
- readonly guard: ({ context }: ActionArg) => boolean;
8512
- readonly actions: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
7664
+ readonly fitDiagram: {
7665
+ readonly guard: "enabled: FitView";
7666
+ readonly actions: {
7667
+ readonly type: "xyflow:fitDiagram";
7668
+ readonly params: (data: {
7669
+ context: DiagramContext;
7670
+ event: {
7671
+ type: "fitDiagram";
7672
+ duration?: number;
7673
+ bounds?: BBox;
7674
+ };
7675
+ }) => {
7676
+ type: "fitDiagram";
7677
+ duration?: number;
7678
+ bounds?: BBox;
7679
+ };
7680
+ };
7681
+ };
7682
+ readonly 'navigate.to': {
7683
+ readonly guard: "is another view";
7684
+ readonly actions: ActionFunction<DiagramContext, {
7685
+ type: "navigate.to";
7686
+ viewId: ViewId;
7687
+ fromNode?: NodeId | undefined;
7688
+ }, Events, undefined, Values<{
8513
7689
  syncManualLayoutActorLogic: {
8514
7690
  src: "syncManualLayoutActorLogic";
8515
7691
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -8765,7 +7941,7 @@ export declare function useDiagram(): {
8765
7941
  }>, never, never, never, never>;
8766
7942
  readonly target: ".navigating";
8767
7943
  };
8768
- readonly 'navigate.forward': {
7944
+ readonly 'navigate.back': {
8769
7945
  readonly guard: ({ context }: ActionArg) => boolean;
8770
7946
  readonly actions: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
8771
7947
  syncManualLayoutActorLogic: {
@@ -9023,8 +8199,9 @@ export declare function useDiagram(): {
9023
8199
  }>, never, never, never, never>;
9024
8200
  readonly target: ".navigating";
9025
8201
  };
9026
- readonly 'update.view': {
9027
- readonly actions: readonly [ ActionFunction<DiagramContext, Events, Events, undefined, Values<{
8202
+ readonly 'navigate.forward': {
8203
+ readonly guard: ({ context }: ActionArg) => boolean;
8204
+ readonly actions: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
9028
8205
  syncManualLayoutActorLogic: {
9029
8206
  src: "syncManualLayoutActorLogic";
9030
8207
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -9277,12 +8454,11 @@ export declare function useDiagram(): {
9277
8454
  }>;
9278
8455
  id: "overlays";
9279
8456
  };
9280
- }>, never, never, never, never>, ActionFunction<DiagramContext, {
9281
- type: "update.view";
9282
- view: DiagramView;
9283
- xynodes: Types.Node[];
9284
- xyedges: Types.Edge[];
9285
- }, Events, undefined, Values<{
8457
+ }>, never, never, never, never>;
8458
+ readonly target: ".navigating";
8459
+ };
8460
+ readonly 'update.view': {
8461
+ readonly actions: readonly [ ActionFunction<DiagramContext, Events, Events, undefined, Values<{
9286
8462
  syncManualLayoutActorLogic: {
9287
8463
  src: "syncManualLayoutActorLogic";
9288
8464
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -9535,116 +8711,11 @@ export declare function useDiagram(): {
9535
8711
  }>;
9536
8712
  id: "overlays";
9537
8713
  };
9538
- }>, Values<{
9539
- "xyflow:fitDiagram": {
9540
- type: "xyflow:fitDiagram";
9541
- params: {
9542
- duration?: number;
9543
- bounds?: BBox;
9544
- } | undefined;
9545
- };
9546
- closeAllOverlays: {
9547
- type: "closeAllOverlays";
9548
- params: NonReducibleUnknown;
9549
- };
9550
- "layout.align": {
9551
- type: "layout.align";
9552
- params: {
9553
- mode: AlignmentMode;
9554
- };
9555
- };
9556
- "trigger:OnChange": {
9557
- type: "trigger:OnChange";
9558
- params: {
9559
- change: ViewChange;
9560
- };
9561
- };
9562
- "trigger:NavigateTo": {
9563
- type: "trigger:NavigateTo";
9564
- params: {
9565
- viewId: ViewId;
9566
- };
9567
- };
9568
- "trigger:OpenSource": {
9569
- type: "trigger:OpenSource";
9570
- params: OpenSourceParams;
9571
- };
9572
- "open source of focused node": {
9573
- type: "open source of focused node";
9574
- params: NonReducibleUnknown;
9575
- };
9576
- "xyflow:setViewportCenter": {
9577
- type: "xyflow:setViewportCenter";
9578
- params: {
9579
- x: number;
9580
- y: number;
9581
- };
9582
- };
9583
- "xyflow:setViewport": {
9584
- type: "xyflow:setViewport";
9585
- params: {
9586
- viewport: Viewport;
9587
- duration?: number;
9588
- };
9589
- };
9590
- "xyflow:alignNodeFromToAfterNavigate": {
9591
- type: "xyflow:alignNodeFromToAfterNavigate";
9592
- params: {
9593
- fromNode: NodeId;
9594
- toPosition: XYPoint;
9595
- };
9596
- };
9597
- updateFeatures: {
9598
- type: "updateFeatures";
9599
- params: NonReducibleUnknown;
9600
- };
9601
- stopSyncLayout: {
9602
- type: "stopSyncLayout";
9603
- params: NonReducibleUnknown;
9604
- };
9605
- }>, Values<{
9606
- "enabled: FitView": {
9607
- type: "enabled: FitView";
9608
- params: unknown;
9609
- };
9610
- "enabled: FocusMode": {
9611
- type: "enabled: FocusMode";
9612
- params: unknown;
9613
- };
9614
- "enabled: Readonly": {
9615
- type: "enabled: Readonly";
9616
- params: unknown;
9617
- };
9618
- "not readonly": {
9619
- type: "not readonly";
9620
- params: unknown;
9621
- };
9622
- "is dynamic view": {
9623
- type: "is dynamic view";
9624
- params: unknown;
9625
- };
9626
- "is another view": {
9627
- type: "is another view";
9628
- params: unknown;
9629
- };
9630
- "click: selected node ": {
9631
- type: "click: selected node ";
9632
- params: unknown;
9633
- };
9634
- "click: same node": {
9635
- type: "click: same node";
9636
- params: unknown;
9637
- };
9638
- "click: focused node": {
9639
- type: "click: focused node";
9640
- params: unknown;
9641
- };
9642
- }>, never, EventObject>];
9643
- };
9644
- readonly 'update.inputs': {
9645
- readonly actions: ActionFunction<DiagramContext, {
9646
- type: "update.inputs";
9647
- inputs: Partial<Omit< Input, "view">>;
8714
+ }>, never, never, never, never>, ActionFunction<DiagramContext, {
8715
+ type: "update.view";
8716
+ view: DiagramView;
8717
+ xynodes: Types.Node[];
8718
+ xyedges: Types.Edge[];
9648
8719
  }, Events, undefined, Values<{
9649
8720
  syncManualLayoutActorLogic: {
9650
8721
  src: "syncManualLayoutActorLogic";
@@ -9898,13 +8969,129 @@ export declare function useDiagram(): {
9898
8969
  }>;
9899
8970
  id: "overlays";
9900
8971
  };
9901
- }>, never, never, never, never>;
9902
- };
9903
- readonly 'update.features': {
9904
- readonly actions: "updateFeatures";
8972
+ }>, Values<{
8973
+ "xyflow:fitDiagram": {
8974
+ type: "xyflow:fitDiagram";
8975
+ params: {
8976
+ duration?: number;
8977
+ bounds?: BBox;
8978
+ } | undefined;
8979
+ };
8980
+ closeAllOverlays: {
8981
+ type: "closeAllOverlays";
8982
+ params: NonReducibleUnknown;
8983
+ };
8984
+ "layout.align": {
8985
+ type: "layout.align";
8986
+ params: {
8987
+ mode: AlignmentMode;
8988
+ };
8989
+ };
8990
+ "trigger:OnChange": {
8991
+ type: "trigger:OnChange";
8992
+ params: {
8993
+ change: ViewChange;
8994
+ };
8995
+ };
8996
+ "trigger:NavigateTo": {
8997
+ type: "trigger:NavigateTo";
8998
+ params: {
8999
+ viewId: ViewId;
9000
+ };
9001
+ };
9002
+ "trigger:OpenSource": {
9003
+ type: "trigger:OpenSource";
9004
+ params: OpenSourceParams;
9005
+ };
9006
+ "assign lastClickedNode": {
9007
+ type: "assign lastClickedNode";
9008
+ params: NonReducibleUnknown;
9009
+ };
9010
+ "open source of focused or last clicked node": {
9011
+ type: "open source of focused or last clicked node";
9012
+ params: NonReducibleUnknown;
9013
+ };
9014
+ "xyflow:fitFocusedBounds": {
9015
+ type: "xyflow:fitFocusedBounds";
9016
+ params: unknown;
9017
+ };
9018
+ "xyflow:setViewportCenter": {
9019
+ type: "xyflow:setViewportCenter";
9020
+ params: {
9021
+ x: number;
9022
+ y: number;
9023
+ };
9024
+ };
9025
+ "xyflow:setViewport": {
9026
+ type: "xyflow:setViewport";
9027
+ params: {
9028
+ viewport: Viewport;
9029
+ duration?: number;
9030
+ };
9031
+ };
9032
+ "xyflow:alignNodeFromToAfterNavigate": {
9033
+ type: "xyflow:alignNodeFromToAfterNavigate";
9034
+ params: {
9035
+ fromNode: NodeId;
9036
+ toPosition: XYPoint;
9037
+ };
9038
+ };
9039
+ updateFeatures: {
9040
+ type: "updateFeatures";
9041
+ params: NonReducibleUnknown;
9042
+ };
9043
+ stopSyncLayout: {
9044
+ type: "stopSyncLayout";
9045
+ params: NonReducibleUnknown;
9046
+ };
9047
+ }>, Values<{
9048
+ "enabled: FitView": {
9049
+ type: "enabled: FitView";
9050
+ params: unknown;
9051
+ };
9052
+ "enabled: FocusMode": {
9053
+ type: "enabled: FocusMode";
9054
+ params: unknown;
9055
+ };
9056
+ "enabled: Readonly": {
9057
+ type: "enabled: Readonly";
9058
+ params: unknown;
9059
+ };
9060
+ "not readonly": {
9061
+ type: "not readonly";
9062
+ params: unknown;
9063
+ };
9064
+ "is dynamic view": {
9065
+ type: "is dynamic view";
9066
+ params: unknown;
9067
+ };
9068
+ "is another view": {
9069
+ type: "is another view";
9070
+ params: unknown;
9071
+ };
9072
+ "click: selected node": {
9073
+ type: "click: selected node";
9074
+ params: unknown;
9075
+ };
9076
+ "click: same node": {
9077
+ type: "click: same node";
9078
+ params: unknown;
9079
+ };
9080
+ "click: focused node": {
9081
+ type: "click: focused node";
9082
+ params: unknown;
9083
+ };
9084
+ "click: node has connections": {
9085
+ type: "click: node has connections";
9086
+ params: unknown;
9087
+ };
9088
+ }>, never, EventObject>];
9905
9089
  };
9906
- readonly 'update.nodeData': {
9907
- readonly actions: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
9090
+ readonly 'update.inputs': {
9091
+ readonly actions: ActionFunction<DiagramContext, {
9092
+ type: "update.inputs";
9093
+ inputs: Partial<Omit< Input, "view">>;
9094
+ }, Events, undefined, Values<{
9908
9095
  syncManualLayoutActorLogic: {
9909
9096
  src: "syncManualLayoutActorLogic";
9910
9097
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -10159,7 +9346,10 @@ export declare function useDiagram(): {
10159
9346
  };
10160
9347
  }>, never, never, never, never>;
10161
9348
  };
10162
- readonly 'update.edgeData': {
9349
+ readonly 'update.features': {
9350
+ readonly actions: "updateFeatures";
9351
+ };
9352
+ readonly 'update.nodeData': {
10163
9353
  readonly actions: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
10164
9354
  syncManualLayoutActorLogic: {
10165
9355
  src: "syncManualLayoutActorLogic";
@@ -10415,27 +9605,8 @@ export declare function useDiagram(): {
10415
9605
  };
10416
9606
  }>, never, never, never, never>;
10417
9607
  };
10418
- readonly 'layout.align': {
10419
- readonly guard: "not readonly";
10420
- readonly actions: readonly [{
10421
- readonly type: "layout.align";
10422
- readonly params: ({ event }: {
10423
- context: DiagramContext;
10424
- event: {
10425
- type: "layout.align";
10426
- mode: AlignmentMode;
10427
- };
10428
- }) => {
10429
- mode: AlignmentMode;
10430
- };
10431
- }, ActionFunction<DiagramContext, {
10432
- type: "layout.align";
10433
- mode: AlignmentMode;
10434
- }, Events, undefined, never, never, never, never, never>];
10435
- };
10436
- readonly 'layout.resetEdgeControlPoints': {
10437
- readonly guard: "not readonly";
10438
- readonly actions: readonly [ ActionFunction<DiagramContext, Events, Events, undefined, Values<{
9608
+ readonly 'update.edgeData': {
9609
+ readonly actions: ActionFunction<DiagramContext, Events, Events, undefined, Values<{
10439
9610
  syncManualLayoutActorLogic: {
10440
9611
  src: "syncManualLayoutActorLogic";
10441
9612
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -10688,26 +9859,29 @@ export declare function useDiagram(): {
10688
9859
  }>;
10689
9860
  id: "overlays";
10690
9861
  };
10691
- }>, never, never, never, never>, ActionFunction<DiagramContext, {
10692
- type: "layout.resetEdgeControlPoints";
10693
- }, Events, undefined, never, never, never, never, never>];
9862
+ }>, never, never, never, never>;
10694
9863
  };
10695
- readonly 'xyflow.resized': {
10696
- readonly guard: ({ context }: {
10697
- context: DiagramContext;
10698
- }) => boolean;
10699
- readonly actions: readonly [ CancelAction<DiagramContext, {
10700
- type: "xyflow.resized";
10701
- }, undefined, Events>, ActionFunction<DiagramContext, {
10702
- type: "xyflow.resized";
9864
+ readonly 'layout.align': {
9865
+ readonly guard: "not readonly";
9866
+ readonly actions: readonly [{
9867
+ readonly type: "layout.align";
9868
+ readonly params: ({ event }: {
9869
+ context: DiagramContext;
9870
+ event: {
9871
+ type: "layout.align";
9872
+ mode: AlignmentMode;
9873
+ };
9874
+ }) => {
9875
+ mode: AlignmentMode;
9876
+ };
9877
+ }, ActionFunction<DiagramContext, {
9878
+ type: "layout.align";
9879
+ mode: AlignmentMode;
10703
9880
  }, Events, undefined, never, never, never, never, never>];
10704
9881
  };
10705
- readonly 'open.elementDetails': {
10706
- readonly actions: ActionFunction<DiagramContext, {
10707
- type: "open.elementDetails";
10708
- fqn: Fqn;
10709
- fromNode?: NodeId | undefined;
10710
- }, Events, undefined, Values<{
9882
+ readonly 'layout.resetEdgeControlPoints': {
9883
+ readonly guard: "not readonly";
9884
+ readonly actions: readonly [ ActionFunction<DiagramContext, Events, Events, undefined, Values<{
10711
9885
  syncManualLayoutActorLogic: {
10712
9886
  src: "syncManualLayoutActorLogic";
10713
9887
  logic: StateMachine<Readonly< Input>, Events, {}, never, {
@@ -10960,111 +10134,26 @@ export declare function useDiagram(): {
10960
10134
  }>;
10961
10135
  id: "overlays";
10962
10136
  };
10963
- }>, Values<{
10964
- "xyflow:fitDiagram": {
10965
- type: "xyflow:fitDiagram";
10966
- params: {
10967
- duration?: number;
10968
- bounds?: BBox;
10969
- } | undefined;
10970
- };
10971
- closeAllOverlays: {
10972
- type: "closeAllOverlays";
10973
- params: NonReducibleUnknown;
10974
- };
10975
- "layout.align": {
10976
- type: "layout.align";
10977
- params: {
10978
- mode: AlignmentMode;
10979
- };
10980
- };
10981
- "trigger:OnChange": {
10982
- type: "trigger:OnChange";
10983
- params: {
10984
- change: ViewChange;
10985
- };
10986
- };
10987
- "trigger:NavigateTo": {
10988
- type: "trigger:NavigateTo";
10989
- params: {
10990
- viewId: ViewId;
10991
- };
10992
- };
10993
- "trigger:OpenSource": {
10994
- type: "trigger:OpenSource";
10995
- params: OpenSourceParams;
10996
- };
10997
- "open source of focused node": {
10998
- type: "open source of focused node";
10999
- params: NonReducibleUnknown;
11000
- };
11001
- "xyflow:setViewportCenter": {
11002
- type: "xyflow:setViewportCenter";
11003
- params: {
11004
- x: number;
11005
- y: number;
11006
- };
11007
- };
11008
- "xyflow:setViewport": {
11009
- type: "xyflow:setViewport";
11010
- params: {
11011
- viewport: Viewport;
11012
- duration?: number;
11013
- };
11014
- };
11015
- "xyflow:alignNodeFromToAfterNavigate": {
11016
- type: "xyflow:alignNodeFromToAfterNavigate";
11017
- params: {
11018
- fromNode: NodeId;
11019
- toPosition: XYPoint;
11020
- };
11021
- };
11022
- updateFeatures: {
11023
- type: "updateFeatures";
11024
- params: NonReducibleUnknown;
11025
- };
11026
- stopSyncLayout: {
11027
- type: "stopSyncLayout";
11028
- params: NonReducibleUnknown;
11029
- };
11030
- }>, Values<{
11031
- "enabled: FitView": {
11032
- type: "enabled: FitView";
11033
- params: unknown;
11034
- };
11035
- "enabled: FocusMode": {
11036
- type: "enabled: FocusMode";
11037
- params: unknown;
11038
- };
11039
- "enabled: Readonly": {
11040
- type: "enabled: Readonly";
11041
- params: unknown;
11042
- };
11043
- "not readonly": {
11044
- type: "not readonly";
11045
- params: unknown;
11046
- };
11047
- "is dynamic view": {
11048
- type: "is dynamic view";
11049
- params: unknown;
11050
- };
11051
- "is another view": {
11052
- type: "is another view";
11053
- params: unknown;
11054
- };
11055
- "click: selected node ": {
11056
- type: "click: selected node ";
11057
- params: unknown;
11058
- };
11059
- "click: same node": {
11060
- type: "click: same node";
11061
- params: unknown;
11062
- };
11063
- "click: focused node": {
11064
- type: "click: focused node";
11065
- params: unknown;
11066
- };
11067
- }>, never, EventObject>;
10137
+ }>, never, never, never, never>, ActionFunction<DiagramContext, {
10138
+ type: "layout.resetEdgeControlPoints";
10139
+ }, Events, undefined, never, never, never, never, never>];
10140
+ };
10141
+ readonly 'xyflow.resized': {
10142
+ readonly guard: ({ context }: {
10143
+ context: DiagramContext;
10144
+ }) => boolean;
10145
+ readonly actions: readonly [ CancelAction<DiagramContext, {
10146
+ type: "xyflow.resized";
10147
+ }, undefined, Events>, ActionFunction<DiagramContext, {
10148
+ type: "xyflow.resized";
10149
+ }, Events, undefined, never, never, never, never, never>];
10150
+ };
10151
+ readonly 'open.elementDetails': {
10152
+ readonly actions: ActionFunction<DiagramContext, {
10153
+ type: "open.elementDetails";
10154
+ fqn: Fqn;
10155
+ fromNode?: NodeId | undefined;
10156
+ }, Events, undefined, never, never, never, never, never>;
11068
10157
  };
11069
10158
  readonly 'open.relationshipsBrowser': {
11070
10159
  readonly actions: ActionFunction<DiagramContext, {