@likec4/diagram 1.42.1 → 1.44.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.
- package/bundle/index.js +6198 -4860
- package/dist/LikeC4Diagram.d.ts +1 -1
- package/dist/LikeC4Diagram.js +15 -12
- package/dist/LikeC4Diagram.props.d.ts +28 -14
- package/dist/LikeC4ProjectsProvider.js +1 -1
- package/dist/LikeC4View.d.ts +28 -4
- package/dist/LikeC4View.js +28 -17
- package/dist/ReactLikeC4.d.ts +1 -1
- package/dist/ReactLikeC4.js +5 -7
- package/dist/StaticLikeC4Diagram.js +2 -2
- package/dist/_virtual/_commonjsHelpers.js +3 -0
- package/dist/_virtual/assign-dea9f7c8.cjs.js +3 -0
- package/dist/_virtual/log-ec8d4df4.cjs.js +3 -0
- package/dist/_virtual/raise-da5b247f.cjs.js +3 -0
- package/dist/_virtual/xstate-actions.cjs.js +5 -0
- package/dist/_virtual/xstate-actions.cjs2.js +3 -0
- package/dist/_virtual/xstate-dev.cjs.js +3 -0
- package/dist/_virtual/xstate-guards.cjs.js +5 -0
- package/dist/_virtual/xstate-guards.cjs2.js +3 -0
- package/dist/base/Background.d.ts +2 -1
- package/dist/base/Background.js +11 -2
- package/dist/base/Base.d.ts +28 -0
- package/dist/base/BaseXYFlow.d.ts +5 -5
- package/dist/base/BaseXYFlow.js +38 -44
- package/dist/base/const.d.ts +1 -1
- package/dist/base/const.js +1 -1
- package/dist/base/index.d.ts +6 -2
- package/dist/base/types.d.ts +1 -28
- package/dist/base/updateEdges.js +4 -3
- package/dist/base/updateNodes.js +3 -2
- package/dist/base-primitives/compound/CompoundActionButton.js +1 -1
- package/dist/base-primitives/compound/CompoundDetailsButton.js +1 -1
- package/dist/base-primitives/edge/EdgeActionButton.js +1 -1
- package/dist/base-primitives/edge/EdgeContainer.d.ts +1 -1
- package/dist/base-primitives/edge/EdgeContainer.js +4 -0
- package/dist/base-primitives/edge/EdgeLabel.d.ts +1 -0
- package/dist/base-primitives/edge/EdgeLabel.js +2 -0
- package/dist/base-primitives/edge/EdgeLabelContainer.d.ts +1 -1
- package/dist/base-primitives/edge/EdgeLabelContainer.js +4 -0
- package/dist/base-primitives/edge/EdgePath.d.ts +4 -0
- package/dist/base-primitives/edge/EdgePath.js +9 -5
- package/dist/base-primitives/element/ElementActionButtons.d.ts +3 -2
- package/dist/base-primitives/element/ElementActionButtons.js +1 -1
- package/dist/base-primitives/element/ElementDetailsButton.js +2 -5
- package/dist/base-primitives/element/ElementNodeContainer.css.js +15 -27
- package/dist/base-primitives/element/ElementTags.js +2 -1
- package/dist/base-primitives/memoEdge.js +4 -2
- package/dist/base-primitives/memoNode.d.ts +1 -1
- package/dist/base-primitives/memoNode.js +3 -3
- package/dist/components/ErrorFallback.js +52 -35
- package/dist/components/Link.js +2 -2
- package/dist/context/DiagramEventHandlers.js +2 -1
- package/dist/context/DiagramFeatures.d.ts +24 -6
- package/dist/context/DiagramFeatures.js +28 -56
- package/dist/context/IconRenderer.js +6 -6
- package/dist/context/LikeC4ModelContext.js +3 -10
- package/dist/context/TagStylesContext.js +2 -18
- package/dist/context/index.d.ts +1 -1
- package/dist/custom/customNodes.js +3 -2
- package/dist/custom/hooks.d.ts +1 -1
- package/dist/custom/index.d.ts +1 -1
- package/dist/custom/index.js +4 -4
- package/dist/editor/LikeC4EditorContext.d.ts +21 -0
- package/dist/editor/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/safeContext.d.ts +6 -3
- package/dist/hooks/safeContext.js +10 -3
- package/dist/hooks/useCallbackRef.d.ts +1 -0
- package/dist/hooks/useCallbackRef.js +13 -0
- package/dist/hooks/useCurrentView.d.ts +11 -0
- package/dist/hooks/{useCurrentViewId.js → useCurrentView.js} +7 -3
- package/dist/hooks/useCurrentViewModel.js +4 -1
- package/dist/hooks/useDiagram.d.ts +7 -113
- package/dist/hooks/useDiagram.js +7 -127
- package/dist/hooks/useDiagramCompareLayout.d.ts +35 -0
- package/dist/hooks/useDiagramCompareLayout.js +60 -0
- package/dist/hooks/useUpdateEffect.js +2 -4
- package/dist/hooks/useXYFlow.d.ts +1 -0
- package/dist/hooks/useXYFlow.js +4 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -3
- package/dist/likec4diagram/DiagramUI.js +14 -7
- package/dist/likec4diagram/DiagramXYFlow.d.ts +2 -2
- package/dist/likec4diagram/DiagramXYFlow.js +54 -51
- package/dist/likec4diagram/convert-to-xyflow.d.ts +0 -1
- package/dist/likec4diagram/custom/edges/RelationshipEdge.js +249 -220
- package/dist/likec4diagram/custom/edges/SequenceStepEdge.js +7 -2
- package/dist/likec4diagram/custom/edges/edges.css.js +3 -4
- package/dist/likec4diagram/custom/edges/useControlPoints.d.ts +8 -0
- package/dist/likec4diagram/custom/edges/useControlPoints.js +58 -0
- package/dist/likec4diagram/custom/edges/useRelationshipEdgePath.d.ts +7 -0
- package/dist/likec4diagram/custom/edges/useRelationshipEdgePath.js +60 -0
- package/dist/likec4diagram/custom/edges/utils.d.ts +0 -12
- package/dist/likec4diagram/custom/nodes/CompoundActions.js +4 -1
- package/dist/likec4diagram/custom/nodes/ElementActions.d.ts +2 -1
- package/dist/likec4diagram/custom/nodes/ElementActions.js +15 -10
- package/dist/likec4diagram/custom/nodes/ElementNodeDrifts.d.ts +4 -0
- package/dist/likec4diagram/custom/nodes/ElementNodeDrifts.js +46 -0
- package/dist/likec4diagram/custom/nodes/SequenceActorNode.js +4 -1
- package/dist/likec4diagram/custom/nodes/nodes.d.ts +9 -1
- package/dist/likec4diagram/custom/nodes/nodes.js +13 -9
- package/dist/likec4diagram/custom/nodes/toolbar/ColorButton.d.ts +1 -1
- package/dist/likec4diagram/custom/nodes/toolbar/ColorButton.js +1 -1
- package/dist/likec4diagram/custom/nodes/toolbar/CompoundToolbar.js +2 -1
- package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +4 -3
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.d.ts +1 -11
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +7 -51
- package/dist/likec4diagram/custom/nodes/toolbar/types.d.ts +5 -0
- package/dist/likec4diagram/custom/nodes/toolbar/types.js +7 -0
- package/dist/likec4diagram/custom/nodes/toolbar/useHandlers.d.ts +8 -0
- package/dist/likec4diagram/custom/nodes/toolbar/useHandlers.js +44 -0
- package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +5 -7
- package/dist/likec4diagram/state/DiagramActorProvider.d.ts +3 -2
- package/dist/likec4diagram/state/DiagramActorProvider.js +96 -70
- package/dist/likec4diagram/state/assign.d.ts +4 -2
- package/dist/likec4diagram/state/assign.js +39 -103
- package/dist/likec4diagram/state/createViewChange.d.ts +3 -0
- package/dist/likec4diagram/state/createViewChange.js +90 -0
- package/dist/likec4diagram/state/diagram-api.d.ts +113 -0
- package/dist/likec4diagram/state/diagram-api.js +134 -0
- package/dist/likec4diagram/state/hotkeyActor.d.ts +7 -0
- package/dist/likec4diagram/state/hotkeyActor.js +17 -1
- package/dist/likec4diagram/state/machine.actions.d.ts +2099 -0
- package/dist/likec4diagram/state/machine.actions.js +735 -0
- package/dist/likec4diagram/state/machine.d.ts +3717 -0
- package/dist/likec4diagram/state/machine.js +141 -0
- package/dist/likec4diagram/state/machine.setup.d.ts +284 -0
- package/dist/likec4diagram/state/machine.setup.js +71 -0
- package/dist/likec4diagram/state/machine.state.initializing.d.ts +183 -0
- package/dist/likec4diagram/state/machine.state.initializing.js +55 -0
- package/dist/likec4diagram/state/machine.state.navigating.d.ts +117 -0
- package/dist/likec4diagram/state/machine.state.navigating.js +45 -0
- package/dist/likec4diagram/state/machine.state.ready.d.ts +3666 -0
- package/dist/likec4diagram/state/machine.state.ready.js +437 -0
- package/dist/likec4diagram/state/syncManualLayoutActor.d.ts +220 -63
- package/dist/likec4diagram/state/syncManualLayoutActor.js +218 -143
- package/dist/likec4diagram/state/types.d.ts +4 -7
- package/dist/likec4diagram/state/utils.d.ts +4 -2
- package/dist/likec4diagram/state/utils.js +4 -1
- package/dist/likec4diagram/types.d.ts +6 -1
- package/dist/likec4diagram/ui/LayoutDriftFrame.d.ts +2 -0
- package/dist/likec4diagram/ui/LayoutDriftFrame.js +66 -0
- package/dist/likec4diagram/ui/index.d.ts +1 -0
- package/dist/likec4diagram/ui/notation/NotationPanel.js +10 -12
- package/dist/likec4diagram/useLayoutConstraints.d.ts +10 -5
- package/dist/likec4diagram/useLayoutConstraints.js +225 -54
- package/dist/likec4diagram/xyflow-diagram/diagram-view.d.ts +0 -1
- package/dist/likec4diagram/xyflow-diagram/diagram-view.js +15 -15
- package/dist/navigationpanel/NavigationPanel.js +11 -7
- package/dist/navigationpanel/NavigationPanelControls.d.ts +2 -1
- package/dist/navigationpanel/NavigationPanelControls.js +23 -17
- package/dist/navigationpanel/NavigationPanelDropdown.d.ts +2 -1
- package/dist/navigationpanel/NavigationPanelDropdown.js +62 -42
- package/dist/navigationpanel/_common.d.ts +1 -1
- package/dist/navigationpanel/_common.js +4 -2
- package/dist/navigationpanel/actor.d.ts +11 -7
- package/dist/navigationpanel/actor.js +5 -4
- package/dist/navigationpanel/comparepanel/CompareActionsMenu.d.ts +3 -0
- package/dist/navigationpanel/comparepanel/CompareActionsMenu.js +59 -0
- package/dist/navigationpanel/comparepanel/ComparePanel.d.ts +2 -0
- package/dist/navigationpanel/comparepanel/ComparePanel.js +42 -0
- package/dist/navigationpanel/comparepanel/ComparePanelControls.d.ts +1 -0
- package/dist/navigationpanel/comparepanel/ComparePanelControls.js +60 -0
- package/dist/navigationpanel/comparepanel/LayoutTypeSwitcher.d.ts +5 -0
- package/dist/navigationpanel/comparepanel/LayoutTypeSwitcher.js +38 -0
- package/dist/navigationpanel/comparepanel/index.d.ts +1 -0
- package/dist/navigationpanel/controls/{ViewDetailsCard.d.ts → DetailsControls.d.ts} +1 -1
- package/dist/navigationpanel/controls/{ViewDetailsCard.js → DetailsControls.js} +18 -14
- package/dist/navigationpanel/controls/LayoutWarning.d.ts +2 -0
- package/dist/navigationpanel/controls/LayoutWarning.js +102 -0
- package/dist/navigationpanel/controls/NavigationButtons.js +4 -3
- package/dist/navigationpanel/controls/OpenSource.js +2 -2
- package/dist/navigationpanel/controls/SearchControl.d.ts +2 -1
- package/dist/navigationpanel/controls/SearchControl.js +15 -17
- package/dist/navigationpanel/controls/ToggleReadonly.d.ts +1 -1
- package/dist/navigationpanel/controls/ToggleReadonly.js +19 -16
- package/dist/navigationpanel/controls/index.d.ts +2 -1
- package/dist/navigationpanel/dropdown/ProjectsMenu.d.ts +2 -2
- package/dist/navigationpanel/dropdown/ProjectsMenu.js +5 -5
- package/dist/navigationpanel/editorpanel/CenterCamera.js +5 -2
- package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.d.ts +1 -1
- package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.js +21 -20
- package/dist/navigationpanel/editorpanel/EditorPanel.js +3 -3
- package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.d.ts +2 -2
- package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.js +16 -13
- package/dist/navigationpanel/editorpanel/ToggleReadonly.d.ts +1 -0
- package/dist/navigationpanel/editorpanel/ToggleReadonly.js +15 -0
- package/dist/navigationpanel/styles.css.d.ts +2 -2
- package/dist/navigationpanel/styles.css.js +4 -4
- package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +14 -8
- package/dist/navigationpanel/walkthrough/DynamicViewControls.d.ts +10 -10
- package/dist/navigationpanel/walkthrough/DynamicViewControls.js +31 -14
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.d.ts +2 -1
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +66 -49
- package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/actions/dist/xstate-actions.cjs.js +37 -0
- package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dev/dist/xstate-dev.cjs.js +59 -0
- package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/assign-dea9f7c8.cjs.js +140 -0
- package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/log-ec8d4df4.cjs.js +401 -0
- package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/raise-da5b247f.cjs.js +2716 -0
- package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/guards/dist/xstate-guards.cjs.js +26 -0
- package/dist/overlays/element-details/ElementDetails.js +7 -7
- package/dist/overlays/element-details/ElementDetailsCard.js +18 -88
- package/dist/overlays/element-details/MetadataValue.d.ts +9 -0
- package/dist/overlays/element-details/MetadataValue.js +261 -0
- package/dist/overlays/element-details/TabPanelDeployments.js +6 -4
- package/dist/overlays/element-details/TabPanelRelationships.js +3 -3
- package/dist/overlays/element-details/TabPanelStructure.js +1 -1
- package/dist/overlays/element-details/actor.d.ts +3 -2
- package/dist/overlays/overlaysActor.d.ts +304 -62
- package/dist/overlays/overlaysActor.js +132 -131
- package/dist/overlays/relationship-details/RelationshipDetails.js +4 -3
- package/dist/overlays/relationship-details/SelectEdge.js +2 -2
- package/dist/overlays/relationship-details/actor.d.ts +14 -2
- package/dist/overlays/relationship-details/actor.js +23 -5
- package/dist/overlays/relationship-details/custom/ElementActions.js +8 -5
- package/dist/overlays/relationship-details/custom/edgeTypes.js +4 -1
- package/dist/overlays/relationship-details/custom/nodeTypes.js +4 -1
- package/dist/overlays/relationship-details/hooks.js +1 -1
- package/dist/overlays/relationships-browser/RelationshipsBrowser.js +6 -4
- package/dist/overlays/relationships-browser/SelectElement.js +2 -2
- package/dist/overlays/relationships-browser/actor.d.ts +239 -173
- package/dist/overlays/relationships-browser/actor.js +132 -110
- package/dist/overlays/relationships-browser/const.d.ts +3 -3
- package/dist/overlays/relationships-browser/const.js +3 -3
- package/dist/overlays/relationships-browser/custom/ElementActions.js +44 -37
- package/dist/overlays/relationships-browser/custom/edgeTypes.js +4 -1
- package/dist/overlays/relationships-browser/custom/nodeTypes.js +4 -1
- package/dist/overlays/relationships-browser/hooks.js +7 -6
- package/dist/search/Search.js +2 -1
- package/dist/search/components/ElementsColumn.js +5 -3
- package/dist/search/components/PickView.js +1 -1
- package/dist/search/components/SearchByTags.js +21 -44
- package/dist/search/components/SearchInput.js +1 -1
- package/dist/search/components/ViewsColum.js +6 -4
- package/dist/shadowroot/ShadowRoot.js +53 -12
- package/dist/shadowroot/styles.css.d.ts +0 -4
- package/dist/shadowroot/styles.css.js +1 -41
- package/dist/styles.css2.js +1 -1
- package/dist/utils/index.d.ts +4 -4
- package/dist/utils/vector.d.ts +78 -21
- package/dist/utils/vector.js +91 -24
- package/dist/utils/view-bounds.d.ts +8 -0
- package/dist/utils/view-bounds.js +57 -0
- package/dist/utils/xyflow.d.ts +49 -7
- package/dist/utils/xyflow.js +63 -11
- package/package.json +28 -27
- package/panda.buildinfo.json +140 -83
- package/styles-min.css +1 -1
- package/styles.css +1 -1
- package/dist/hooks/useCurrentViewId.d.ts +0 -6
- package/dist/likec4diagram/custom/edges/utils.js +0 -23
- package/dist/likec4diagram/state/diagram-machine.d.ts +0 -2590
- package/dist/likec4diagram/state/diagram-machine.js +0 -1180
- package/dist/navigationpanel/editorpanel/LayoutDriftNotification.d.ts +0 -1
- package/dist/navigationpanel/editorpanel/LayoutDriftNotification.js +0 -56
- package/dist/utils/get-view-bounds.d.ts +0 -3
- package/dist/utils/get-view-bounds.js +0 -14
- /package/dist/base/{types.js → Base.js} +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/createReactComponent.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowDownRight.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowLeft.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconBolt.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconBrowser.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronLeft.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconCylinder.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconDeviceMobile.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconDirectionSignFilled.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconFolderFilled.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconHelpCircle.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconId.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutDashboard.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLink.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerPlayFilled.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipBackFilled.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipForwardFilled.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStopFilled.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconRectangularPrism.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconReorder.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconSelector.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconStarFilled.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconTarget.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconTransform.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconUser.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconX.js +0 -0
- /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BBox, Fqn, ViewId } from '@likec4/core';
|
|
2
2
|
import { EdgeChange, NodeChange, ReactFlowInstance, ReactFlowState, GeneralHelpers, ViewportHelperFunctions } from '@xyflow/react';
|
|
3
|
-
import {
|
|
3
|
+
import { ActorRefFromLogic, SnapshotFrom, PromiseActorLogic, EventObject, StateMachine, Values, NonReducibleUnknown, MetaObject, ConditionalRequired, InputFrom, RequiredActorOptions, IsNotNever, GetConcreteByKey, AnyActorLogic, RequiredLogicInput, ActorRef, MachineSnapshot, AnyActorRef, StateValue, AnyEventObject, ActionFunction, CancelAction, DoneActorEvent } from 'xstate';
|
|
4
4
|
import { RelationshipsBrowserTypes } from './_types';
|
|
5
5
|
import { LayoutRelationshipsViewResult } from './layout';
|
|
6
6
|
type XYFLowInstance = ReactFlowInstance<RelationshipsBrowserTypes.AnyNode, RelationshipsBrowserTypes.Edge>;
|
|
@@ -127,35 +127,7 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
127
127
|
update: LayoutRelationshipsViewResult;
|
|
128
128
|
}, EventObject>;
|
|
129
129
|
id: "layouter";
|
|
130
|
-
}, Values<{
|
|
131
|
-
"xyflow.init": {
|
|
132
|
-
type: "xyflow.init";
|
|
133
|
-
params: NonReducibleUnknown;
|
|
134
|
-
};
|
|
135
|
-
"xyflow.applyNodeChanges": {
|
|
136
|
-
type: "xyflow.applyNodeChanges";
|
|
137
|
-
params: NonReducibleUnknown;
|
|
138
|
-
};
|
|
139
|
-
"xyflow.applyEdgeChanges": {
|
|
140
|
-
type: "xyflow.applyEdgeChanges";
|
|
141
|
-
params: NonReducibleUnknown;
|
|
142
|
-
};
|
|
143
|
-
"update.view": {
|
|
144
|
-
type: "update.view";
|
|
145
|
-
params: NonReducibleUnknown;
|
|
146
|
-
};
|
|
147
|
-
"xyflow:fitDiagram": {
|
|
148
|
-
type: "xyflow:fitDiagram";
|
|
149
|
-
params: {
|
|
150
|
-
duration?: number;
|
|
151
|
-
bounds?: BBox;
|
|
152
|
-
} | undefined;
|
|
153
|
-
};
|
|
154
|
-
"xyflow:updateNodeInternals": {
|
|
155
|
-
type: "xyflow:updateNodeInternals";
|
|
156
|
-
params: unknown;
|
|
157
|
-
};
|
|
158
|
-
}>, Values<{
|
|
130
|
+
}, never, Values<{
|
|
159
131
|
isReady: {
|
|
160
132
|
type: "isReady";
|
|
161
133
|
params: unknown;
|
|
@@ -233,7 +205,7 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
233
205
|
}) => {
|
|
234
206
|
subject: Fqn;
|
|
235
207
|
viewId: ViewId | null;
|
|
236
|
-
scope: "
|
|
208
|
+
scope: "view" | "global";
|
|
237
209
|
closeable: boolean;
|
|
238
210
|
enableSelectSubject: boolean;
|
|
239
211
|
enableChangeScope: boolean;
|
|
@@ -247,21 +219,73 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
247
219
|
readonly initial: "initializing";
|
|
248
220
|
readonly on: {
|
|
249
221
|
readonly 'xyflow.applyNodeChanges': {
|
|
250
|
-
readonly actions:
|
|
222
|
+
readonly actions: ActionFunction<Context, Events, Events, undefined, {
|
|
223
|
+
src: "layouter";
|
|
224
|
+
logic: PromiseActorLogic<{
|
|
225
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
226
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
227
|
+
}, {
|
|
228
|
+
subjectId: Fqn;
|
|
229
|
+
navigateFromNode: string | null;
|
|
230
|
+
xyflow: XYFLowInstance;
|
|
231
|
+
xystore: XYStoreApi;
|
|
232
|
+
update: LayoutRelationshipsViewResult;
|
|
233
|
+
}, EventObject>;
|
|
234
|
+
id: "layouter";
|
|
235
|
+
}, never, never, never, never>;
|
|
251
236
|
};
|
|
252
237
|
readonly 'xyflow.applyEdgeChanges': {
|
|
253
|
-
readonly actions:
|
|
238
|
+
readonly actions: ActionFunction<Context, Events, Events, undefined, {
|
|
239
|
+
src: "layouter";
|
|
240
|
+
logic: PromiseActorLogic<{
|
|
241
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
242
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
243
|
+
}, {
|
|
244
|
+
subjectId: Fqn;
|
|
245
|
+
navigateFromNode: string | null;
|
|
246
|
+
xyflow: XYFLowInstance;
|
|
247
|
+
xystore: XYStoreApi;
|
|
248
|
+
update: LayoutRelationshipsViewResult;
|
|
249
|
+
}, EventObject>;
|
|
250
|
+
id: "layouter";
|
|
251
|
+
}, never, never, never, never>;
|
|
254
252
|
};
|
|
255
253
|
};
|
|
256
254
|
readonly states: {
|
|
257
255
|
readonly initializing: {
|
|
258
256
|
readonly on: {
|
|
259
257
|
readonly 'xyflow.init': {
|
|
260
|
-
readonly actions:
|
|
258
|
+
readonly actions: ActionFunction<Context, Events, Events, undefined, {
|
|
259
|
+
src: "layouter";
|
|
260
|
+
logic: PromiseActorLogic<{
|
|
261
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
262
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
263
|
+
}, {
|
|
264
|
+
subjectId: Fqn;
|
|
265
|
+
navigateFromNode: string | null;
|
|
266
|
+
xyflow: XYFLowInstance;
|
|
267
|
+
xystore: XYStoreApi;
|
|
268
|
+
update: LayoutRelationshipsViewResult;
|
|
269
|
+
}, EventObject>;
|
|
270
|
+
id: "layouter";
|
|
271
|
+
}, never, never, never, never>;
|
|
261
272
|
readonly target: "isReady";
|
|
262
273
|
};
|
|
263
274
|
readonly 'update.view': {
|
|
264
|
-
readonly actions:
|
|
275
|
+
readonly actions: ActionFunction<Context, Events, Events, undefined, {
|
|
276
|
+
src: "layouter";
|
|
277
|
+
logic: PromiseActorLogic<{
|
|
278
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
279
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
280
|
+
}, {
|
|
281
|
+
subjectId: Fqn;
|
|
282
|
+
navigateFromNode: string | null;
|
|
283
|
+
xyflow: XYFLowInstance;
|
|
284
|
+
xystore: XYStoreApi;
|
|
285
|
+
update: LayoutRelationshipsViewResult;
|
|
286
|
+
}, EventObject>;
|
|
287
|
+
id: "layouter";
|
|
288
|
+
}, never, never, never, never>;
|
|
265
289
|
readonly target: "isReady";
|
|
266
290
|
};
|
|
267
291
|
readonly stop: "closed";
|
|
@@ -271,12 +295,33 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
271
295
|
readonly isReady: {
|
|
272
296
|
readonly always: readonly [{
|
|
273
297
|
readonly guard: "isReady";
|
|
274
|
-
readonly actions: readonly [{
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
298
|
+
readonly actions: readonly [ ActionFunction<Context, Events, Events, unknown, {
|
|
299
|
+
src: "layouter";
|
|
300
|
+
logic: PromiseActorLogic<{
|
|
301
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
302
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
303
|
+
}, {
|
|
304
|
+
subjectId: Fqn;
|
|
305
|
+
navigateFromNode: string | null;
|
|
306
|
+
xyflow: XYFLowInstance;
|
|
307
|
+
xystore: XYStoreApi;
|
|
308
|
+
update: LayoutRelationshipsViewResult;
|
|
309
|
+
}, EventObject>;
|
|
310
|
+
id: "layouter";
|
|
311
|
+
}, never, Values<{
|
|
312
|
+
isReady: {
|
|
313
|
+
type: "isReady";
|
|
314
|
+
params: unknown;
|
|
315
|
+
};
|
|
316
|
+
hasViewId: {
|
|
317
|
+
type: "hasViewId";
|
|
318
|
+
params: unknown;
|
|
278
319
|
};
|
|
279
|
-
|
|
320
|
+
anotherSubject: {
|
|
321
|
+
type: "anotherSubject";
|
|
322
|
+
params: unknown;
|
|
323
|
+
};
|
|
324
|
+
}>, never, EventObject>, ActionFunction<Context, Events, Events, undefined, never, never, never, never, never>];
|
|
280
325
|
readonly target: "active";
|
|
281
326
|
}, {
|
|
282
327
|
readonly target: "initializing";
|
|
@@ -303,35 +348,7 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
303
348
|
update: LayoutRelationshipsViewResult;
|
|
304
349
|
}, EventObject>;
|
|
305
350
|
id: "layouter";
|
|
306
|
-
}, Values<{
|
|
307
|
-
"xyflow.init": {
|
|
308
|
-
type: "xyflow.init";
|
|
309
|
-
params: NonReducibleUnknown;
|
|
310
|
-
};
|
|
311
|
-
"xyflow.applyNodeChanges": {
|
|
312
|
-
type: "xyflow.applyNodeChanges";
|
|
313
|
-
params: NonReducibleUnknown;
|
|
314
|
-
};
|
|
315
|
-
"xyflow.applyEdgeChanges": {
|
|
316
|
-
type: "xyflow.applyEdgeChanges";
|
|
317
|
-
params: NonReducibleUnknown;
|
|
318
|
-
};
|
|
319
|
-
"update.view": {
|
|
320
|
-
type: "update.view";
|
|
321
|
-
params: NonReducibleUnknown;
|
|
322
|
-
};
|
|
323
|
-
"xyflow:fitDiagram": {
|
|
324
|
-
type: "xyflow:fitDiagram";
|
|
325
|
-
params: {
|
|
326
|
-
duration?: number;
|
|
327
|
-
bounds?: BBox;
|
|
328
|
-
} | undefined;
|
|
329
|
-
};
|
|
330
|
-
"xyflow:updateNodeInternals": {
|
|
331
|
-
type: "xyflow:updateNodeInternals";
|
|
332
|
-
params: unknown;
|
|
333
|
-
};
|
|
334
|
-
}>, Values<{
|
|
351
|
+
}, never, Values<{
|
|
335
352
|
isReady: {
|
|
336
353
|
type: "isReady";
|
|
337
354
|
params: unknown;
|
|
@@ -346,7 +363,7 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
346
363
|
};
|
|
347
364
|
}>, never, EventObject>;
|
|
348
365
|
};
|
|
349
|
-
readonly 'xyflow.edgeClick': {
|
|
366
|
+
readonly 'xyflow.edgeClick': readonly [{
|
|
350
367
|
readonly guard: "hasViewId";
|
|
351
368
|
readonly actions: ActionFunction<Context, {
|
|
352
369
|
type: "xyflow.edgeClick";
|
|
@@ -364,35 +381,35 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
364
381
|
update: LayoutRelationshipsViewResult;
|
|
365
382
|
}, EventObject>;
|
|
366
383
|
id: "layouter";
|
|
367
|
-
}, Values<{
|
|
368
|
-
|
|
369
|
-
type: "
|
|
370
|
-
params:
|
|
371
|
-
};
|
|
372
|
-
"xyflow.applyNodeChanges": {
|
|
373
|
-
type: "xyflow.applyNodeChanges";
|
|
374
|
-
params: NonReducibleUnknown;
|
|
375
|
-
};
|
|
376
|
-
"xyflow.applyEdgeChanges": {
|
|
377
|
-
type: "xyflow.applyEdgeChanges";
|
|
378
|
-
params: NonReducibleUnknown;
|
|
379
|
-
};
|
|
380
|
-
"update.view": {
|
|
381
|
-
type: "update.view";
|
|
382
|
-
params: NonReducibleUnknown;
|
|
384
|
+
}, never, Values<{
|
|
385
|
+
isReady: {
|
|
386
|
+
type: "isReady";
|
|
387
|
+
params: unknown;
|
|
383
388
|
};
|
|
384
|
-
|
|
385
|
-
type: "
|
|
386
|
-
params:
|
|
387
|
-
duration?: number;
|
|
388
|
-
bounds?: BBox;
|
|
389
|
-
} | undefined;
|
|
389
|
+
hasViewId: {
|
|
390
|
+
type: "hasViewId";
|
|
391
|
+
params: unknown;
|
|
390
392
|
};
|
|
391
|
-
|
|
392
|
-
type: "
|
|
393
|
+
anotherSubject: {
|
|
394
|
+
type: "anotherSubject";
|
|
393
395
|
params: unknown;
|
|
394
396
|
};
|
|
395
|
-
}>,
|
|
397
|
+
}>, never, EventObject>;
|
|
398
|
+
}, {
|
|
399
|
+
readonly actions: ActionFunction<Context, Events, Events, undefined, {
|
|
400
|
+
src: "layouter";
|
|
401
|
+
logic: PromiseActorLogic<{
|
|
402
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
403
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
404
|
+
}, {
|
|
405
|
+
subjectId: Fqn;
|
|
406
|
+
navigateFromNode: string | null;
|
|
407
|
+
xyflow: XYFLowInstance;
|
|
408
|
+
xystore: XYStoreApi;
|
|
409
|
+
update: LayoutRelationshipsViewResult;
|
|
410
|
+
}, EventObject>;
|
|
411
|
+
id: "layouter";
|
|
412
|
+
}, never, Values<{
|
|
396
413
|
isReady: {
|
|
397
414
|
type: "isReady";
|
|
398
415
|
params: unknown;
|
|
@@ -406,7 +423,7 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
406
423
|
params: unknown;
|
|
407
424
|
};
|
|
408
425
|
}>, never, EventObject>;
|
|
409
|
-
};
|
|
426
|
+
}];
|
|
410
427
|
readonly 'navigate.to': {
|
|
411
428
|
readonly actions: readonly [ ActionFunction<Context, {
|
|
412
429
|
type: "navigate.to";
|
|
@@ -429,10 +446,49 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
429
446
|
}, never, never, never, never>];
|
|
430
447
|
};
|
|
431
448
|
readonly 'xyflow.paneDblClick': {
|
|
432
|
-
readonly actions:
|
|
449
|
+
readonly actions: ActionFunction<Context, Events, Events, unknown, {
|
|
450
|
+
src: "layouter";
|
|
451
|
+
logic: PromiseActorLogic<{
|
|
452
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
453
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
454
|
+
}, {
|
|
455
|
+
subjectId: Fqn;
|
|
456
|
+
navigateFromNode: string | null;
|
|
457
|
+
xyflow: XYFLowInstance;
|
|
458
|
+
xystore: XYStoreApi;
|
|
459
|
+
update: LayoutRelationshipsViewResult;
|
|
460
|
+
}, EventObject>;
|
|
461
|
+
id: "layouter";
|
|
462
|
+
}, never, Values<{
|
|
463
|
+
isReady: {
|
|
464
|
+
type: "isReady";
|
|
465
|
+
params: unknown;
|
|
466
|
+
};
|
|
467
|
+
hasViewId: {
|
|
468
|
+
type: "hasViewId";
|
|
469
|
+
params: unknown;
|
|
470
|
+
};
|
|
471
|
+
anotherSubject: {
|
|
472
|
+
type: "anotherSubject";
|
|
473
|
+
params: unknown;
|
|
474
|
+
};
|
|
475
|
+
}>, never, EventObject>;
|
|
433
476
|
};
|
|
434
477
|
readonly 'update.view': {
|
|
435
|
-
readonly actions:
|
|
478
|
+
readonly actions: ActionFunction<Context, Events, Events, undefined, {
|
|
479
|
+
src: "layouter";
|
|
480
|
+
logic: PromiseActorLogic<{
|
|
481
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
482
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
483
|
+
}, {
|
|
484
|
+
subjectId: Fqn;
|
|
485
|
+
navigateFromNode: string | null;
|
|
486
|
+
xyflow: XYFLowInstance;
|
|
487
|
+
xystore: XYStoreApi;
|
|
488
|
+
update: LayoutRelationshipsViewResult;
|
|
489
|
+
}, EventObject>;
|
|
490
|
+
id: "layouter";
|
|
491
|
+
}, never, never, never, never>;
|
|
436
492
|
readonly target: ".layouting";
|
|
437
493
|
};
|
|
438
494
|
readonly 'change.scope': {
|
|
@@ -455,24 +511,62 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
455
511
|
}, never, never, never, never>;
|
|
456
512
|
};
|
|
457
513
|
readonly 'xyflow.updateNodeInternals': {
|
|
458
|
-
readonly actions:
|
|
514
|
+
readonly actions: ActionFunction<Context, Events, Events, unknown, {
|
|
515
|
+
src: "layouter";
|
|
516
|
+
logic: PromiseActorLogic<{
|
|
517
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
518
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
519
|
+
}, {
|
|
520
|
+
subjectId: Fqn;
|
|
521
|
+
navigateFromNode: string | null;
|
|
522
|
+
xyflow: XYFLowInstance;
|
|
523
|
+
xystore: XYStoreApi;
|
|
524
|
+
update: LayoutRelationshipsViewResult;
|
|
525
|
+
}, EventObject>;
|
|
526
|
+
id: "layouter";
|
|
527
|
+
}, never, Values<{
|
|
528
|
+
isReady: {
|
|
529
|
+
type: "isReady";
|
|
530
|
+
params: unknown;
|
|
531
|
+
};
|
|
532
|
+
hasViewId: {
|
|
533
|
+
type: "hasViewId";
|
|
534
|
+
params: unknown;
|
|
535
|
+
};
|
|
536
|
+
anotherSubject: {
|
|
537
|
+
type: "anotherSubject";
|
|
538
|
+
params: unknown;
|
|
539
|
+
};
|
|
540
|
+
}>, never, EventObject>;
|
|
459
541
|
};
|
|
460
542
|
readonly fitDiagram: {
|
|
461
|
-
readonly actions: {
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
543
|
+
readonly actions: ActionFunction<Context, Events, Events, unknown, {
|
|
544
|
+
src: "layouter";
|
|
545
|
+
logic: PromiseActorLogic<{
|
|
546
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
547
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
548
|
+
}, {
|
|
549
|
+
subjectId: Fqn;
|
|
550
|
+
navigateFromNode: string | null;
|
|
551
|
+
xyflow: XYFLowInstance;
|
|
552
|
+
xystore: XYStoreApi;
|
|
553
|
+
update: LayoutRelationshipsViewResult;
|
|
554
|
+
}, EventObject>;
|
|
555
|
+
id: "layouter";
|
|
556
|
+
}, never, Values<{
|
|
557
|
+
isReady: {
|
|
558
|
+
type: "isReady";
|
|
559
|
+
params: unknown;
|
|
474
560
|
};
|
|
475
|
-
|
|
561
|
+
hasViewId: {
|
|
562
|
+
type: "hasViewId";
|
|
563
|
+
params: unknown;
|
|
564
|
+
};
|
|
565
|
+
anotherSubject: {
|
|
566
|
+
type: "anotherSubject";
|
|
567
|
+
params: unknown;
|
|
568
|
+
};
|
|
569
|
+
}>, never, EventObject>;
|
|
476
570
|
};
|
|
477
571
|
readonly 'xyflow.resized': {
|
|
478
572
|
readonly actions: readonly [ CancelAction<Context, {
|
|
@@ -482,7 +576,20 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
482
576
|
}, Events, undefined, never, never, never, never, never>];
|
|
483
577
|
};
|
|
484
578
|
readonly 'xyflow.init': {
|
|
485
|
-
readonly actions:
|
|
579
|
+
readonly actions: ActionFunction<Context, Events, Events, undefined, {
|
|
580
|
+
src: "layouter";
|
|
581
|
+
logic: PromiseActorLogic<{
|
|
582
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
583
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
584
|
+
}, {
|
|
585
|
+
subjectId: Fqn;
|
|
586
|
+
navigateFromNode: string | null;
|
|
587
|
+
xyflow: XYFLowInstance;
|
|
588
|
+
xystore: XYStoreApi;
|
|
589
|
+
update: LayoutRelationshipsViewResult;
|
|
590
|
+
}, EventObject>;
|
|
591
|
+
id: "layouter";
|
|
592
|
+
}, never, never, never, never>;
|
|
486
593
|
};
|
|
487
594
|
readonly 'xyflow.unmount': {
|
|
488
595
|
readonly target: "initializing";
|
|
@@ -599,35 +706,7 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
599
706
|
update: LayoutRelationshipsViewResult;
|
|
600
707
|
}, EventObject>;
|
|
601
708
|
id: "layouter";
|
|
602
|
-
}, Values<{
|
|
603
|
-
"xyflow.init": {
|
|
604
|
-
type: "xyflow.init";
|
|
605
|
-
params: NonReducibleUnknown;
|
|
606
|
-
};
|
|
607
|
-
"xyflow.applyNodeChanges": {
|
|
608
|
-
type: "xyflow.applyNodeChanges";
|
|
609
|
-
params: NonReducibleUnknown;
|
|
610
|
-
};
|
|
611
|
-
"xyflow.applyEdgeChanges": {
|
|
612
|
-
type: "xyflow.applyEdgeChanges";
|
|
613
|
-
params: NonReducibleUnknown;
|
|
614
|
-
};
|
|
615
|
-
"update.view": {
|
|
616
|
-
type: "update.view";
|
|
617
|
-
params: NonReducibleUnknown;
|
|
618
|
-
};
|
|
619
|
-
"xyflow:fitDiagram": {
|
|
620
|
-
type: "xyflow:fitDiagram";
|
|
621
|
-
params: {
|
|
622
|
-
duration?: number;
|
|
623
|
-
bounds?: BBox;
|
|
624
|
-
} | undefined;
|
|
625
|
-
};
|
|
626
|
-
"xyflow:updateNodeInternals": {
|
|
627
|
-
type: "xyflow:updateNodeInternals";
|
|
628
|
-
params: unknown;
|
|
629
|
-
};
|
|
630
|
-
}>, Values<{
|
|
709
|
+
}, never, Values<{
|
|
631
710
|
isReady: {
|
|
632
711
|
type: "isReady";
|
|
633
712
|
params: unknown;
|
|
@@ -679,35 +758,7 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
679
758
|
update: LayoutRelationshipsViewResult;
|
|
680
759
|
}, EventObject>;
|
|
681
760
|
id: "layouter";
|
|
682
|
-
}, Values<{
|
|
683
|
-
"xyflow.init": {
|
|
684
|
-
type: "xyflow.init";
|
|
685
|
-
params: NonReducibleUnknown;
|
|
686
|
-
};
|
|
687
|
-
"xyflow.applyNodeChanges": {
|
|
688
|
-
type: "xyflow.applyNodeChanges";
|
|
689
|
-
params: NonReducibleUnknown;
|
|
690
|
-
};
|
|
691
|
-
"xyflow.applyEdgeChanges": {
|
|
692
|
-
type: "xyflow.applyEdgeChanges";
|
|
693
|
-
params: NonReducibleUnknown;
|
|
694
|
-
};
|
|
695
|
-
"update.view": {
|
|
696
|
-
type: "update.view";
|
|
697
|
-
params: NonReducibleUnknown;
|
|
698
|
-
};
|
|
699
|
-
"xyflow:fitDiagram": {
|
|
700
|
-
type: "xyflow:fitDiagram";
|
|
701
|
-
params: {
|
|
702
|
-
duration?: number;
|
|
703
|
-
bounds?: BBox;
|
|
704
|
-
} | undefined;
|
|
705
|
-
};
|
|
706
|
-
"xyflow:updateNodeInternals": {
|
|
707
|
-
type: "xyflow:updateNodeInternals";
|
|
708
|
-
params: unknown;
|
|
709
|
-
};
|
|
710
|
-
}>, Values<{
|
|
761
|
+
}, never, Values<{
|
|
711
762
|
isReady: {
|
|
712
763
|
type: "isReady";
|
|
713
764
|
params: unknown;
|
|
@@ -753,6 +804,20 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
753
804
|
readonly closed: {
|
|
754
805
|
readonly id: "closed";
|
|
755
806
|
readonly type: "final";
|
|
807
|
+
readonly entry: ActionFunction<Context, Events, Events, undefined, {
|
|
808
|
+
src: "layouter";
|
|
809
|
+
logic: PromiseActorLogic<{
|
|
810
|
+
xyedges: RelationshipsBrowserTypes.Edge[];
|
|
811
|
+
xynodes: RelationshipsBrowserTypes.Node[];
|
|
812
|
+
}, {
|
|
813
|
+
subjectId: Fqn;
|
|
814
|
+
navigateFromNode: string | null;
|
|
815
|
+
xyflow: XYFLowInstance;
|
|
816
|
+
xystore: XYStoreApi;
|
|
817
|
+
update: LayoutRelationshipsViewResult;
|
|
818
|
+
}, EventObject>;
|
|
819
|
+
id: "layouter";
|
|
820
|
+
}, never, never, never, never>;
|
|
756
821
|
};
|
|
757
822
|
};
|
|
758
823
|
readonly exit: ActionFunction<Context, Events, Events, undefined, {
|
|
@@ -770,7 +835,8 @@ declare const _relationshipsBrowserLogic: StateMachine<Context, Events, {
|
|
|
770
835
|
id: "layouter";
|
|
771
836
|
}, never, never, never, never>;
|
|
772
837
|
}>;
|
|
773
|
-
|
|
838
|
+
type InferredMachine = typeof _relationshipsBrowserLogic;
|
|
839
|
+
export interface RelationshipsBrowserLogic extends InferredMachine {
|
|
774
840
|
}
|
|
775
841
|
export declare const relationshipsBrowserLogic: RelationshipsBrowserLogic;
|
|
776
842
|
export interface RelationshipsBrowserActorRef extends ActorRefFromLogic<RelationshipsBrowserLogic> {
|