@likec4/diagram 1.52.0 → 1.53.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 (143) hide show
  1. package/dist/LikeC4View.js +1 -1
  2. package/dist/_virtual/assign-6b5249c3.cjs.js +3 -0
  3. package/dist/_virtual/log-b8ad8428.cjs.js +3 -0
  4. package/dist/_virtual/raise-f23ccfcb.cjs.js +3 -0
  5. package/dist/_virtual/store-803b8f7d.cjs.js +3 -0
  6. package/dist/_virtual/xstate-actions.cjs.js +1 -1
  7. package/dist/_virtual/xstate-guards.cjs.js +1 -1
  8. package/dist/_virtual/xstate-store-react.cjs.js +1 -1
  9. package/dist/adhoc-editor/EditorPanel.js +1 -1
  10. package/dist/adhoc-editor/components/Tree.js +1 -1
  11. package/dist/base-primitives/compound/CompoundActionButton.js +1 -1
  12. package/dist/base-primitives/compound/CompoundDetailsButton.js +1 -1
  13. package/dist/base-primitives/edge/EdgeActionButton.js +1 -1
  14. package/dist/base-primitives/element/ElementActionButtons.js +1 -1
  15. package/dist/base-primitives/element/ElementDetailsButton.js +1 -1
  16. package/dist/components/ErrorFallback.js +1 -1
  17. package/dist/components/Link.js +2 -2
  18. package/dist/components/SearchControl.js +1 -1
  19. package/dist/context/IconRenderer.js +7 -7
  20. package/dist/editor/editorActor.actions.d.ts +142 -190
  21. package/dist/likec4diagram/custom/nodes/ElementActions.js +2 -2
  22. package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +2 -2
  23. package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +2 -2
  24. package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +4 -4
  25. package/dist/likec4diagram/relationship-popover/actor.d.ts +28 -130
  26. package/dist/likec4diagram/state/machine.actions.d.ts +1819 -2407
  27. package/dist/likec4diagram/state/machine.actions.layout.d.ts +472 -628
  28. package/dist/likec4diagram/state/machine.setup.js +2 -2
  29. package/dist/likec4diagram/state/machine.state.initializing.d.ts +148 -196
  30. package/dist/likec4diagram/state/machine.state.ready.d.ts +2921 -3807
  31. package/dist/likec4diagram/state/machine.state.ready.focused.d.ts +413 -537
  32. package/dist/likec4diagram/state/machine.state.ready.idle.d.ts +352 -413
  33. package/dist/likec4diagram/state/machine.state.ready.printing.d.ts +91 -121
  34. package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +583 -775
  35. package/dist/likec4diagram/ui/notation/NotationPanel.js +2 -2
  36. package/dist/likec4diagram/xyflow-diagram/diagram-view.js +1 -2
  37. package/dist/navigationpanel/NavigationPanelDropdown.js +7 -7
  38. package/dist/navigationpanel/_common.js +1 -1
  39. package/dist/navigationpanel/comparepanel/CompareActionsMenu.js +2 -2
  40. package/dist/navigationpanel/comparepanel/ComparePanelControls.js +1 -1
  41. package/dist/navigationpanel/controls/DetailsControls.js +2 -2
  42. package/dist/navigationpanel/controls/LayoutWarning.js +1 -1
  43. package/dist/navigationpanel/controls/NavigationButtons.js +2 -2
  44. package/dist/navigationpanel/controls/OpenSource.js +1 -1
  45. package/dist/navigationpanel/controls/SearchControl.js +1 -1
  46. package/dist/navigationpanel/controls/ToggleReadonly.js +2 -2
  47. package/dist/navigationpanel/dropdown/ProjectsMenu.js +1 -1
  48. package/dist/navigationpanel/editorpanel/CenterCamera.js +1 -1
  49. package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.js +1 -1
  50. package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.js +9 -9
  51. package/dist/navigationpanel/editorpanel/ToggleReadonly.js +1 -1
  52. package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +3 -3
  53. package/dist/navigationpanel/walkthrough/DynamicViewControls.d.ts +2 -2
  54. package/dist/navigationpanel/walkthrough/DynamicViewControls.js +1 -1
  55. package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +31 -45
  56. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/createReactComponent.js +1 -1
  57. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.js +1 -1
  58. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.js +1 -1
  59. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowDownRight.js +1 -1
  60. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowLeft.js +1 -1
  61. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js +1 -1
  62. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconBolt.js +1 -1
  63. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconBrowser.js +1 -1
  64. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.js +1 -1
  65. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js +1 -1
  66. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronLeft.js +1 -1
  67. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js +1 -1
  68. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js +1 -1
  69. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconCylinder.js +1 -1
  70. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconDeviceMobile.js +1 -1
  71. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconDirectionSignFilled.js +1 -1
  72. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.js +1 -1
  73. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.js +1 -1
  74. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFileText.js +1 -1
  75. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js +1 -1
  76. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFolderFilled.js +1 -1
  77. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconHelpCircle.js +1 -1
  78. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconId.js +1 -1
  79. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js +1 -1
  80. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.js +1 -1
  81. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.js +1 -1
  82. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.js +1 -1
  83. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.js +1 -1
  84. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.js +1 -1
  85. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.js +1 -1
  86. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.js +1 -1
  87. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.js +1 -1
  88. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutDashboard.js +1 -1
  89. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLink.js +1 -1
  90. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.js +1 -1
  91. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js +1 -1
  92. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerPlayFilled.js +1 -1
  93. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipBackFilled.js +1 -1
  94. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipForwardFilled.js +1 -1
  95. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStopFilled.js +1 -1
  96. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconRectangularPrism.js +1 -1
  97. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconReorder.js +1 -1
  98. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js +1 -1
  99. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js +1 -1
  100. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconSelector.js +1 -1
  101. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.js +1 -1
  102. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconStarFilled.js +1 -1
  103. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconTarget.js +1 -1
  104. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconTransform.js +1 -1
  105. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.js +1 -1
  106. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconUser.js +1 -1
  107. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconX.js +1 -1
  108. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js +1 -1
  109. package/dist/node_modules/.pnpm/{@xstate_store@3.14.0_react@19.2.4/node_modules/@xstate/store/dist/store-1b2fbb72.cjs.js → @xstate_store@3.17.0_react@19.2.4/node_modules/@xstate/store/dist/store-803b8f7d.cjs.js} +151 -132
  110. package/dist/node_modules/.pnpm/{@xstate_store@3.14.0_react@19.2.4 → @xstate_store@3.17.0_react@19.2.4}/node_modules/@xstate/store/react/dist/xstate-store-react.cjs.js +7 -2
  111. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.28.0}/node_modules/xstate/actions/dist/xstate-actions.cjs.js +6 -6
  112. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/assign-dea9f7c8.cjs.js → xstate@5.28.0/node_modules/xstate/dist/assign-6b5249c3.cjs.js} +10 -10
  113. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/log-ec8d4df4.cjs.js → xstate@5.28.0/node_modules/xstate/dist/log-b8ad8428.cjs.js} +18 -18
  114. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/raise-da5b247f.cjs.js → xstate@5.28.0/node_modules/xstate/dist/raise-f23ccfcb.cjs.js} +223 -126
  115. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.28.0}/node_modules/xstate/guards/dist/xstate-guards.cjs.js +2 -2
  116. package/dist/overlays/element-details/ElementDetailsCard.js +4 -4
  117. package/dist/overlays/element-details/MetadataValue.js +2 -2
  118. package/dist/overlays/element-details/TabPanelDeployments.js +3 -3
  119. package/dist/overlays/element-details/TabPanelRelationships.js +3 -3
  120. package/dist/overlays/element-details/TabPanelStructure.js +1 -1
  121. package/dist/overlays/relationship-details/RelationshipDetails.js +3 -3
  122. package/dist/overlays/relationship-details/SelectEdge.js +2 -2
  123. package/dist/overlays/relationship-details/custom/ElementActions.js +3 -3
  124. package/dist/overlays/relationships-browser/RelationshipsBrowser.js +6 -6
  125. package/dist/overlays/relationships-browser/SelectElement.js +2 -2
  126. package/dist/overlays/relationships-browser/custom/ElementActions.js +3 -3
  127. package/dist/projects-overview/actor.d.ts +15 -21
  128. package/dist/projects-overview/custom/nodeTypes.js +1 -1
  129. package/dist/search/components/ElementsColumn.js +1 -1
  130. package/dist/search/components/PickView.js +1 -1
  131. package/dist/search/components/SearchByTags.js +1 -1
  132. package/dist/search/components/SearchInput.js +1 -1
  133. package/dist/search/components/ViewsColum.js +2 -2
  134. package/dist/styles.css2.js +1 -1
  135. package/package.json +20 -20
  136. package/panda.buildinfo.json +2 -3
  137. package/styles-min.css +1 -1
  138. package/styles.css +1 -1
  139. package/dist/_virtual/assign-dea9f7c8.cjs.js +0 -3
  140. package/dist/_virtual/log-ec8d4df4.cjs.js +0 -3
  141. package/dist/_virtual/raise-da5b247f.cjs.js +0 -3
  142. package/dist/_virtual/store-1b2fbb72.cjs.js +0 -3
  143. /package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.28.0}/node_modules/xstate/dev/dist/xstate-dev.cjs.js +0 -0
@@ -59,7 +59,7 @@ const machine = setup({
59
59
  if (event.type === "navigate.to") {
60
60
  return context.view.id === event.viewId;
61
61
  }
62
- nonexhaustive(event.type);
62
+ nonexhaustive(event);
63
63
  },
64
64
  "is another view": ({ context, event }) => {
65
65
  assertEvent(event, ["update.view", "navigate.to"]);
@@ -69,7 +69,7 @@ const machine = setup({
69
69
  if (event.type === "navigate.to") {
70
70
  return context.view.id !== event.viewId;
71
71
  }
72
- nonexhaustive(event.type);
72
+ nonexhaustive(event);
73
73
  },
74
74
  "click: node has modelFqn": ({ event }) => {
75
75
  assertEvent(event, "xyflow.nodeClick");
@@ -1,4 +1,4 @@
1
- import { ActionFunction, Values } from 'xstate';
1
+ import { ActionFunction } from 'xstate';
2
2
  import { Context, Events, EmittedEvents } from './machine.setup';
3
3
  import { XYFlowInstance } from '../../hooks';
4
4
  import { HotkeyActorLogic } from './hotkeyActor';
@@ -20,231 +20,183 @@ export declare const initializing: {
20
20
  actions: ActionFunction<Context, {
21
21
  type: "xyflow.init";
22
22
  instance: XYFlowInstance;
23
- }, Events, undefined, Values<{
24
- hotkeyActorLogic: {
25
- src: "hotkeyActorLogic";
26
- logic: HotkeyActorLogic;
27
- id: "hotkey";
28
- };
29
- overlaysActorLogic: {
30
- src: "overlaysActorLogic";
31
- logic: OverlaysActorLogic;
32
- id: "overlays";
33
- };
34
- searchActorLogic: {
35
- src: "searchActorLogic";
36
- logic: SearchActorLogic;
37
- id: "search";
38
- };
39
- mediaPrintActorLogic: {
40
- src: "mediaPrintActorLogic";
41
- logic: MediaPrintActorLogic;
42
- id: "mediaPrint";
43
- };
44
- editorActor: {
45
- src: "editorActor";
46
- logic: EditorActorLogic;
47
- id: "editor";
48
- };
49
- }>, never, never, never, never>;
50
- target: string;
51
- };
52
- 'update.view': {
53
- actions: ActionFunction<Context, {
54
- type: "update.view";
55
- view: DiagramView;
56
- source?: "editor" | "external";
57
- } | {
58
- type: "update.view";
59
- view: DiagramView;
60
- source?: "editor" | "external";
61
- xynodes: import("../types").Types.Node[];
62
- xyedges: import("../types").Types.Edge[];
63
- }, Events, undefined, Values<{
64
- hotkeyActorLogic: {
65
- src: "hotkeyActorLogic";
66
- logic: HotkeyActorLogic;
67
- id: "hotkey";
68
- };
69
- overlaysActorLogic: {
70
- src: "overlaysActorLogic";
71
- logic: OverlaysActorLogic;
72
- id: "overlays";
73
- };
74
- searchActorLogic: {
75
- src: "searchActorLogic";
76
- logic: SearchActorLogic;
77
- id: "search";
78
- };
79
- mediaPrintActorLogic: {
80
- src: "mediaPrintActorLogic";
81
- logic: MediaPrintActorLogic;
82
- id: "mediaPrint";
83
- };
84
- editorActor: {
85
- src: "editorActor";
86
- logic: EditorActorLogic;
87
- id: "editor";
88
- };
89
- }>, never, never, never, never>[];
90
- target: string;
91
- };
92
- };
93
- };
94
- /**
95
- * State that checks whether the diagram is ready to be used.
96
- * Transitions to `ready` state if both `xyflow` and `xydata` are initialized,
97
- * otherwise goes back to `initializing` state.`
98
- */
99
- export declare const isReady: {
100
- always: ({
101
- guard: "isReady";
102
- actions: ( ActionFunction<Context, Events, Events, unknown, Values<{
103
- hotkeyActorLogic: {
23
+ }, Events, undefined, {
104
24
  src: "hotkeyActorLogic";
105
25
  logic: HotkeyActorLogic;
106
26
  id: "hotkey";
107
- };
108
- overlaysActorLogic: {
27
+ } | {
109
28
  src: "overlaysActorLogic";
110
29
  logic: OverlaysActorLogic;
111
30
  id: "overlays";
112
- };
113
- searchActorLogic: {
31
+ } | {
114
32
  src: "searchActorLogic";
115
33
  logic: SearchActorLogic;
116
34
  id: "search";
117
- };
118
- mediaPrintActorLogic: {
35
+ } | {
119
36
  src: "mediaPrintActorLogic";
120
37
  logic: MediaPrintActorLogic;
121
38
  id: "mediaPrint";
122
- };
123
- editorActor: {
39
+ } | {
124
40
  src: "editorActor";
125
41
  logic: EditorActorLogic;
126
42
  id: "editor";
127
- };
128
- }>, never, Values<{
129
- isReady: {
130
- type: "isReady";
131
- params: unknown;
132
- };
133
- "enabled: Editor": {
134
- type: "enabled: Editor";
135
- params: unknown;
136
- };
137
- "enabled: FitView": {
138
- type: "enabled: FitView";
139
- params: unknown;
140
- };
141
- "enabled: FocusMode": {
142
- type: "enabled: FocusMode";
143
- params: unknown;
144
- };
145
- "enabled: Readonly": {
146
- type: "enabled: Readonly";
147
- params: unknown;
148
- };
149
- "enabled: RelationshipDetails": {
150
- type: "enabled: RelationshipDetails";
151
- params: unknown;
152
- };
153
- "enabled: Search": {
154
- type: "enabled: Search";
155
- params: unknown;
156
- };
157
- "enabled: ElementDetails": {
158
- type: "enabled: ElementDetails";
159
- params: unknown;
160
- };
161
- "enabled: OpenSource": {
162
- type: "enabled: OpenSource";
163
- params: unknown;
164
- };
165
- "enabled: DynamicViewWalkthrough": {
166
- type: "enabled: DynamicViewWalkthrough";
167
- params: unknown;
168
- };
169
- "focus.node: autoUnfocus": {
170
- type: "focus.node: autoUnfocus";
171
- params: unknown;
172
- };
173
- "enabled: Overlays": {
174
- type: "enabled: Overlays";
175
- params: unknown;
176
- };
177
- "not readonly": {
178
- type: "not readonly";
179
- params: unknown;
180
- };
181
- "is dynamic view": {
182
- type: "is dynamic view";
183
- params: unknown;
184
- };
185
- "is same view": {
186
- type: "is same view";
187
- params: unknown;
188
- };
189
- "is another view": {
190
- type: "is another view";
191
- params: unknown;
192
- };
193
- "click: node has modelFqn": {
194
- type: "click: node has modelFqn";
195
- params: unknown;
196
- };
197
- "click: selected node": {
198
- type: "click: selected node";
199
- params: unknown;
200
- };
201
- "click: same node": {
202
- type: "click: same node";
203
- params: unknown;
204
- };
205
- "click: focused node": {
206
- type: "click: focused node";
207
- params: unknown;
208
- };
209
- "click: node has connections": {
210
- type: "click: node has connections";
211
- params: unknown;
212
- };
213
- "click: selected edge": {
214
- type: "click: selected edge";
215
- params: unknown;
216
- };
217
- "click: active walkthrough step": {
218
- type: "click: active walkthrough step";
219
- params: unknown;
220
- };
221
- }>, never, EmittedEvents> | ActionFunction<Context, Events, Events, undefined, Values<{
222
- hotkeyActorLogic: {
43
+ }, never, never, never, never>;
44
+ target: string;
45
+ };
46
+ 'update.view': {
47
+ actions: ActionFunction<Context, {
48
+ type: "update.view";
49
+ view: DiagramView;
50
+ source?: "editor" | "external";
51
+ } | {
52
+ type: "update.view";
53
+ view: DiagramView;
54
+ source?: "editor" | "external";
55
+ xynodes: import("../types").Types.Node[];
56
+ xyedges: import("../types").Types.Edge[];
57
+ }, Events, undefined, {
223
58
  src: "hotkeyActorLogic";
224
59
  logic: HotkeyActorLogic;
225
60
  id: "hotkey";
226
- };
227
- overlaysActorLogic: {
61
+ } | {
228
62
  src: "overlaysActorLogic";
229
63
  logic: OverlaysActorLogic;
230
64
  id: "overlays";
231
- };
232
- searchActorLogic: {
65
+ } | {
233
66
  src: "searchActorLogic";
234
67
  logic: SearchActorLogic;
235
68
  id: "search";
236
- };
237
- mediaPrintActorLogic: {
69
+ } | {
238
70
  src: "mediaPrintActorLogic";
239
71
  logic: MediaPrintActorLogic;
240
72
  id: "mediaPrint";
241
- };
242
- editorActor: {
73
+ } | {
243
74
  src: "editorActor";
244
75
  logic: EditorActorLogic;
245
76
  id: "editor";
246
- };
247
- }>, never, never, never, never> | ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents>)[];
77
+ }, never, never, never, never>[];
78
+ target: string;
79
+ };
80
+ };
81
+ };
82
+ /**
83
+ * State that checks whether the diagram is ready to be used.
84
+ * Transitions to `ready` state if both `xyflow` and `xydata` are initialized,
85
+ * otherwise goes back to `initializing` state.`
86
+ */
87
+ export declare const isReady: {
88
+ always: ({
89
+ guard: "isReady";
90
+ actions: ( ActionFunction<Context, Events, Events, unknown, {
91
+ src: "hotkeyActorLogic";
92
+ logic: HotkeyActorLogic;
93
+ id: "hotkey";
94
+ } | {
95
+ src: "overlaysActorLogic";
96
+ logic: OverlaysActorLogic;
97
+ id: "overlays";
98
+ } | {
99
+ src: "searchActorLogic";
100
+ logic: SearchActorLogic;
101
+ id: "search";
102
+ } | {
103
+ src: "mediaPrintActorLogic";
104
+ logic: MediaPrintActorLogic;
105
+ id: "mediaPrint";
106
+ } | {
107
+ src: "editorActor";
108
+ logic: EditorActorLogic;
109
+ id: "editor";
110
+ }, never, {
111
+ type: "isReady";
112
+ params: unknown;
113
+ } | {
114
+ type: "enabled: Editor";
115
+ params: unknown;
116
+ } | {
117
+ type: "enabled: FitView";
118
+ params: unknown;
119
+ } | {
120
+ type: "enabled: FocusMode";
121
+ params: unknown;
122
+ } | {
123
+ type: "enabled: Readonly";
124
+ params: unknown;
125
+ } | {
126
+ type: "enabled: RelationshipDetails";
127
+ params: unknown;
128
+ } | {
129
+ type: "enabled: Search";
130
+ params: unknown;
131
+ } | {
132
+ type: "enabled: ElementDetails";
133
+ params: unknown;
134
+ } | {
135
+ type: "enabled: OpenSource";
136
+ params: unknown;
137
+ } | {
138
+ type: "enabled: DynamicViewWalkthrough";
139
+ params: unknown;
140
+ } | {
141
+ type: "focus.node: autoUnfocus";
142
+ params: unknown;
143
+ } | {
144
+ type: "enabled: Overlays";
145
+ params: unknown;
146
+ } | {
147
+ type: "not readonly";
148
+ params: unknown;
149
+ } | {
150
+ type: "is dynamic view";
151
+ params: unknown;
152
+ } | {
153
+ type: "is same view";
154
+ params: unknown;
155
+ } | {
156
+ type: "is another view";
157
+ params: unknown;
158
+ } | {
159
+ type: "click: node has modelFqn";
160
+ params: unknown;
161
+ } | {
162
+ type: "click: selected node";
163
+ params: unknown;
164
+ } | {
165
+ type: "click: same node";
166
+ params: unknown;
167
+ } | {
168
+ type: "click: focused node";
169
+ params: unknown;
170
+ } | {
171
+ type: "click: node has connections";
172
+ params: unknown;
173
+ } | {
174
+ type: "click: selected edge";
175
+ params: unknown;
176
+ } | {
177
+ type: "click: active walkthrough step";
178
+ params: unknown;
179
+ }, never, EmittedEvents> | ActionFunction<Context, Events, Events, undefined, {
180
+ src: "hotkeyActorLogic";
181
+ logic: HotkeyActorLogic;
182
+ id: "hotkey";
183
+ } | {
184
+ src: "overlaysActorLogic";
185
+ logic: OverlaysActorLogic;
186
+ id: "overlays";
187
+ } | {
188
+ src: "searchActorLogic";
189
+ logic: SearchActorLogic;
190
+ id: "search";
191
+ } | {
192
+ src: "mediaPrintActorLogic";
193
+ logic: MediaPrintActorLogic;
194
+ id: "mediaPrint";
195
+ } | {
196
+ src: "editorActor";
197
+ logic: EditorActorLogic;
198
+ id: "editor";
199
+ }, never, never, never, never> | ActionFunction<Context, Events, Events, undefined, never, never, never, never, EmittedEvents>)[];
248
200
  target: string;
249
201
  } | {
250
202
  target: string;