@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,5 +1,5 @@
|
|
|
1
1
|
import { Fqn } from '@likec4/core/types';
|
|
2
|
-
import {
|
|
2
|
+
import { ActorRefFromLogic, SnapshotFrom, StateMachine, CallbackActorLogic, EventObject, NonReducibleUnknown, Values, MetaObject, ActionFunction, StopAction } from 'xstate';
|
|
3
3
|
import { Overlays } from './types';
|
|
4
4
|
import { ElementDetailsLogic } from './element-details/actor';
|
|
5
5
|
export type OverlayActorEvent = {
|
|
@@ -39,10 +39,10 @@ export type OverlayActorEmitedEvent = {
|
|
|
39
39
|
type: 'idle';
|
|
40
40
|
};
|
|
41
41
|
declare const _overlaysActorLogic: StateMachine<OverlaysContext, OverlayActorEvent, {
|
|
42
|
-
[x: `elementDetails-${number}`]: ActorRefFromLogic<ElementDetailsLogic> | undefined;
|
|
42
|
+
[x: `elementDetails-${number}`]: ActorRefFromLogic< ElementDetailsLogic> | undefined;
|
|
43
43
|
[x: `relationshipsBrowser-${number}`]: ActorRefFromLogic<Overlays.RelationshipsBrowser.Logic> | undefined;
|
|
44
44
|
[x: `relationshipDetails-${number}`]: ActorRefFromLogic<Overlays.RelationshipDetails.Logic> | undefined;
|
|
45
|
-
hotkey?: ActorRefFromLogic<CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
|
|
45
|
+
hotkey?: ActorRefFromLogic< CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>>;
|
|
46
46
|
}, Values<{
|
|
47
47
|
elementDetails: {
|
|
48
48
|
src: "elementDetails";
|
|
@@ -64,42 +64,7 @@ declare const _overlaysActorLogic: StateMachine<OverlaysContext, OverlayActorEve
|
|
|
64
64
|
logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
|
|
65
65
|
id: "hotkey";
|
|
66
66
|
};
|
|
67
|
-
}>, Values<{
|
|
68
|
-
closeLastOverlay: {
|
|
69
|
-
type: "closeLastOverlay";
|
|
70
|
-
params: NonReducibleUnknown;
|
|
71
|
-
};
|
|
72
|
-
closeSpecificOverlay: {
|
|
73
|
-
type: "closeSpecificOverlay";
|
|
74
|
-
params: {
|
|
75
|
-
actorId: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
closeAllOverlays: {
|
|
79
|
-
type: "closeAllOverlays";
|
|
80
|
-
params: NonReducibleUnknown;
|
|
81
|
-
};
|
|
82
|
-
openElementDetails: {
|
|
83
|
-
type: "openElementDetails";
|
|
84
|
-
params: NonReducibleUnknown;
|
|
85
|
-
};
|
|
86
|
-
openRelationshipDetails: {
|
|
87
|
-
type: "openRelationshipDetails";
|
|
88
|
-
params: NonReducibleUnknown;
|
|
89
|
-
};
|
|
90
|
-
openRelationshipsBrowser: {
|
|
91
|
-
type: "openRelationshipsBrowser";
|
|
92
|
-
params: NonReducibleUnknown;
|
|
93
|
-
};
|
|
94
|
-
listenToEsc: {
|
|
95
|
-
type: "listenToEsc";
|
|
96
|
-
params: NonReducibleUnknown;
|
|
97
|
-
};
|
|
98
|
-
stopListeningToEsc: {
|
|
99
|
-
type: "stopListeningToEsc";
|
|
100
|
-
params: NonReducibleUnknown;
|
|
101
|
-
};
|
|
102
|
-
}>, Values<{
|
|
67
|
+
}>, never, Values<{
|
|
103
68
|
"has overlays?": {
|
|
104
69
|
type: "has overlays?";
|
|
105
70
|
params: unknown;
|
|
@@ -125,17 +90,131 @@ declare const _overlaysActorLogic: StateMachine<OverlaysContext, OverlayActorEve
|
|
|
125
90
|
readonly initial: "idle";
|
|
126
91
|
readonly on: {
|
|
127
92
|
readonly 'open.elementDetails': {
|
|
128
|
-
readonly actions:
|
|
93
|
+
readonly actions: ActionFunction<OverlaysContext, OverlayActorEvent, OverlayActorEvent, undefined, Values<{
|
|
94
|
+
elementDetails: {
|
|
95
|
+
src: "elementDetails";
|
|
96
|
+
logic: ElementDetailsLogic;
|
|
97
|
+
id: `elementDetails-${number}`;
|
|
98
|
+
};
|
|
99
|
+
relationshipsBrowser: {
|
|
100
|
+
src: "relationshipsBrowser";
|
|
101
|
+
logic: Overlays.RelationshipsBrowser.Logic;
|
|
102
|
+
id: `relationshipsBrowser-${number}`;
|
|
103
|
+
};
|
|
104
|
+
relationshipDetails: {
|
|
105
|
+
src: "relationshipDetails";
|
|
106
|
+
logic: Overlays.RelationshipDetails.Logic;
|
|
107
|
+
id: `relationshipDetails-${number}`;
|
|
108
|
+
};
|
|
109
|
+
hotkey: {
|
|
110
|
+
src: "hotkey";
|
|
111
|
+
logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
|
|
112
|
+
id: "hotkey";
|
|
113
|
+
};
|
|
114
|
+
}>, never, Values<{
|
|
115
|
+
"has overlays?": {
|
|
116
|
+
type: "has overlays?";
|
|
117
|
+
params: unknown;
|
|
118
|
+
};
|
|
119
|
+
"close specific overlay?": {
|
|
120
|
+
type: "close specific overlay?";
|
|
121
|
+
params: unknown;
|
|
122
|
+
};
|
|
123
|
+
"last: is relationshipDetails?": {
|
|
124
|
+
type: "last: is relationshipDetails?";
|
|
125
|
+
params: unknown;
|
|
126
|
+
};
|
|
127
|
+
"last: is relationshipsBrowser?": {
|
|
128
|
+
type: "last: is relationshipsBrowser?";
|
|
129
|
+
params: unknown;
|
|
130
|
+
};
|
|
131
|
+
}>, never, OverlayActorEmitedEvent>;
|
|
129
132
|
readonly target: ".active";
|
|
130
133
|
readonly reenter: false;
|
|
131
134
|
};
|
|
132
135
|
readonly 'open.relationshipDetails': {
|
|
133
|
-
readonly actions:
|
|
136
|
+
readonly actions: ActionFunction<OverlaysContext, OverlayActorEvent, OverlayActorEvent, undefined, Values<{
|
|
137
|
+
elementDetails: {
|
|
138
|
+
src: "elementDetails";
|
|
139
|
+
logic: ElementDetailsLogic;
|
|
140
|
+
id: `elementDetails-${number}`;
|
|
141
|
+
};
|
|
142
|
+
relationshipsBrowser: {
|
|
143
|
+
src: "relationshipsBrowser";
|
|
144
|
+
logic: Overlays.RelationshipsBrowser.Logic;
|
|
145
|
+
id: `relationshipsBrowser-${number}`;
|
|
146
|
+
};
|
|
147
|
+
relationshipDetails: {
|
|
148
|
+
src: "relationshipDetails";
|
|
149
|
+
logic: Overlays.RelationshipDetails.Logic;
|
|
150
|
+
id: `relationshipDetails-${number}`;
|
|
151
|
+
};
|
|
152
|
+
hotkey: {
|
|
153
|
+
src: "hotkey";
|
|
154
|
+
logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
|
|
155
|
+
id: "hotkey";
|
|
156
|
+
};
|
|
157
|
+
}>, never, Values<{
|
|
158
|
+
"has overlays?": {
|
|
159
|
+
type: "has overlays?";
|
|
160
|
+
params: unknown;
|
|
161
|
+
};
|
|
162
|
+
"close specific overlay?": {
|
|
163
|
+
type: "close specific overlay?";
|
|
164
|
+
params: unknown;
|
|
165
|
+
};
|
|
166
|
+
"last: is relationshipDetails?": {
|
|
167
|
+
type: "last: is relationshipDetails?";
|
|
168
|
+
params: unknown;
|
|
169
|
+
};
|
|
170
|
+
"last: is relationshipsBrowser?": {
|
|
171
|
+
type: "last: is relationshipsBrowser?";
|
|
172
|
+
params: unknown;
|
|
173
|
+
};
|
|
174
|
+
}>, never, OverlayActorEmitedEvent>;
|
|
134
175
|
readonly target: ".active";
|
|
135
176
|
readonly reenter: false;
|
|
136
177
|
};
|
|
137
178
|
readonly 'open.relationshipsBrowser': {
|
|
138
|
-
readonly actions:
|
|
179
|
+
readonly actions: ActionFunction<OverlaysContext, OverlayActorEvent, OverlayActorEvent, undefined, Values<{
|
|
180
|
+
elementDetails: {
|
|
181
|
+
src: "elementDetails";
|
|
182
|
+
logic: ElementDetailsLogic;
|
|
183
|
+
id: `elementDetails-${number}`;
|
|
184
|
+
};
|
|
185
|
+
relationshipsBrowser: {
|
|
186
|
+
src: "relationshipsBrowser";
|
|
187
|
+
logic: Overlays.RelationshipsBrowser.Logic;
|
|
188
|
+
id: `relationshipsBrowser-${number}`;
|
|
189
|
+
};
|
|
190
|
+
relationshipDetails: {
|
|
191
|
+
src: "relationshipDetails";
|
|
192
|
+
logic: Overlays.RelationshipDetails.Logic;
|
|
193
|
+
id: `relationshipDetails-${number}`;
|
|
194
|
+
};
|
|
195
|
+
hotkey: {
|
|
196
|
+
src: "hotkey";
|
|
197
|
+
logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
|
|
198
|
+
id: "hotkey";
|
|
199
|
+
};
|
|
200
|
+
}>, never, Values<{
|
|
201
|
+
"has overlays?": {
|
|
202
|
+
type: "has overlays?";
|
|
203
|
+
params: unknown;
|
|
204
|
+
};
|
|
205
|
+
"close specific overlay?": {
|
|
206
|
+
type: "close specific overlay?";
|
|
207
|
+
params: unknown;
|
|
208
|
+
};
|
|
209
|
+
"last: is relationshipDetails?": {
|
|
210
|
+
type: "last: is relationshipDetails?";
|
|
211
|
+
params: unknown;
|
|
212
|
+
};
|
|
213
|
+
"last: is relationshipsBrowser?": {
|
|
214
|
+
type: "last: is relationshipsBrowser?";
|
|
215
|
+
params: unknown;
|
|
216
|
+
};
|
|
217
|
+
}>, never, OverlayActorEmitedEvent>;
|
|
139
218
|
readonly target: ".active";
|
|
140
219
|
readonly reenter: false;
|
|
141
220
|
};
|
|
@@ -143,30 +222,154 @@ declare const _overlaysActorLogic: StateMachine<OverlaysContext, OverlayActorEve
|
|
|
143
222
|
readonly states: {
|
|
144
223
|
readonly idle: {};
|
|
145
224
|
readonly active: {
|
|
146
|
-
readonly entry:
|
|
147
|
-
|
|
225
|
+
readonly entry: ActionFunction<OverlaysContext, OverlayActorEvent, OverlayActorEvent, undefined, Values<{
|
|
226
|
+
elementDetails: {
|
|
227
|
+
src: "elementDetails";
|
|
228
|
+
logic: ElementDetailsLogic;
|
|
229
|
+
id: `elementDetails-${number}`;
|
|
230
|
+
};
|
|
231
|
+
relationshipsBrowser: {
|
|
232
|
+
src: "relationshipsBrowser";
|
|
233
|
+
logic: Overlays.RelationshipsBrowser.Logic;
|
|
234
|
+
id: `relationshipsBrowser-${number}`;
|
|
235
|
+
};
|
|
236
|
+
relationshipDetails: {
|
|
237
|
+
src: "relationshipDetails";
|
|
238
|
+
logic: Overlays.RelationshipDetails.Logic;
|
|
239
|
+
id: `relationshipDetails-${number}`;
|
|
240
|
+
};
|
|
241
|
+
hotkey: {
|
|
242
|
+
src: "hotkey";
|
|
243
|
+
logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
|
|
244
|
+
id: "hotkey";
|
|
245
|
+
};
|
|
246
|
+
}>, never, never, never, never>;
|
|
247
|
+
readonly exit: StopAction<OverlaysContext, OverlayActorEvent, undefined, OverlayActorEvent>;
|
|
148
248
|
readonly on: {
|
|
149
249
|
readonly close: readonly [{
|
|
150
250
|
readonly guard: "close specific overlay?";
|
|
151
|
-
readonly actions: {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
};
|
|
162
|
-
|
|
251
|
+
readonly actions: ActionFunction<OverlaysContext, OverlayActorEvent, OverlayActorEvent, undefined, Values<{
|
|
252
|
+
elementDetails: {
|
|
253
|
+
src: "elementDetails";
|
|
254
|
+
logic: ElementDetailsLogic;
|
|
255
|
+
id: `elementDetails-${number}`;
|
|
256
|
+
};
|
|
257
|
+
relationshipsBrowser: {
|
|
258
|
+
src: "relationshipsBrowser";
|
|
259
|
+
logic: Overlays.RelationshipsBrowser.Logic;
|
|
260
|
+
id: `relationshipsBrowser-${number}`;
|
|
261
|
+
};
|
|
262
|
+
relationshipDetails: {
|
|
263
|
+
src: "relationshipDetails";
|
|
264
|
+
logic: Overlays.RelationshipDetails.Logic;
|
|
265
|
+
id: `relationshipDetails-${number}`;
|
|
266
|
+
};
|
|
267
|
+
hotkey: {
|
|
268
|
+
src: "hotkey";
|
|
269
|
+
logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
|
|
270
|
+
id: "hotkey";
|
|
271
|
+
};
|
|
272
|
+
}>, never, Values<{
|
|
273
|
+
"has overlays?": {
|
|
274
|
+
type: "has overlays?";
|
|
275
|
+
params: unknown;
|
|
276
|
+
};
|
|
277
|
+
"close specific overlay?": {
|
|
278
|
+
type: "close specific overlay?";
|
|
279
|
+
params: unknown;
|
|
280
|
+
};
|
|
281
|
+
"last: is relationshipDetails?": {
|
|
282
|
+
type: "last: is relationshipDetails?";
|
|
283
|
+
params: unknown;
|
|
284
|
+
};
|
|
285
|
+
"last: is relationshipsBrowser?": {
|
|
286
|
+
type: "last: is relationshipsBrowser?";
|
|
287
|
+
params: unknown;
|
|
288
|
+
};
|
|
289
|
+
}>, never, OverlayActorEmitedEvent>;
|
|
163
290
|
readonly target: "closing";
|
|
164
291
|
}, {
|
|
165
|
-
readonly actions:
|
|
292
|
+
readonly actions: ActionFunction<OverlaysContext, OverlayActorEvent, OverlayActorEvent, undefined, Values<{
|
|
293
|
+
elementDetails: {
|
|
294
|
+
src: "elementDetails";
|
|
295
|
+
logic: ElementDetailsLogic;
|
|
296
|
+
id: `elementDetails-${number}`;
|
|
297
|
+
};
|
|
298
|
+
relationshipsBrowser: {
|
|
299
|
+
src: "relationshipsBrowser";
|
|
300
|
+
logic: Overlays.RelationshipsBrowser.Logic;
|
|
301
|
+
id: `relationshipsBrowser-${number}`;
|
|
302
|
+
};
|
|
303
|
+
relationshipDetails: {
|
|
304
|
+
src: "relationshipDetails";
|
|
305
|
+
logic: Overlays.RelationshipDetails.Logic;
|
|
306
|
+
id: `relationshipDetails-${number}`;
|
|
307
|
+
};
|
|
308
|
+
hotkey: {
|
|
309
|
+
src: "hotkey";
|
|
310
|
+
logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
|
|
311
|
+
id: "hotkey";
|
|
312
|
+
};
|
|
313
|
+
}>, never, Values<{
|
|
314
|
+
"has overlays?": {
|
|
315
|
+
type: "has overlays?";
|
|
316
|
+
params: unknown;
|
|
317
|
+
};
|
|
318
|
+
"close specific overlay?": {
|
|
319
|
+
type: "close specific overlay?";
|
|
320
|
+
params: unknown;
|
|
321
|
+
};
|
|
322
|
+
"last: is relationshipDetails?": {
|
|
323
|
+
type: "last: is relationshipDetails?";
|
|
324
|
+
params: unknown;
|
|
325
|
+
};
|
|
326
|
+
"last: is relationshipsBrowser?": {
|
|
327
|
+
type: "last: is relationshipsBrowser?";
|
|
328
|
+
params: unknown;
|
|
329
|
+
};
|
|
330
|
+
}>, never, OverlayActorEmitedEvent>;
|
|
166
331
|
readonly target: "closing";
|
|
167
332
|
}];
|
|
168
333
|
readonly 'close.all': {
|
|
169
|
-
readonly actions: readonly [
|
|
334
|
+
readonly actions: readonly [ ActionFunction<OverlaysContext, OverlayActorEvent, OverlayActorEvent, undefined, Values<{
|
|
335
|
+
elementDetails: {
|
|
336
|
+
src: "elementDetails";
|
|
337
|
+
logic: ElementDetailsLogic;
|
|
338
|
+
id: `elementDetails-${number}`;
|
|
339
|
+
};
|
|
340
|
+
relationshipsBrowser: {
|
|
341
|
+
src: "relationshipsBrowser";
|
|
342
|
+
logic: Overlays.RelationshipsBrowser.Logic;
|
|
343
|
+
id: `relationshipsBrowser-${number}`;
|
|
344
|
+
};
|
|
345
|
+
relationshipDetails: {
|
|
346
|
+
src: "relationshipDetails";
|
|
347
|
+
logic: Overlays.RelationshipDetails.Logic;
|
|
348
|
+
id: `relationshipDetails-${number}`;
|
|
349
|
+
};
|
|
350
|
+
hotkey: {
|
|
351
|
+
src: "hotkey";
|
|
352
|
+
logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
|
|
353
|
+
id: "hotkey";
|
|
354
|
+
};
|
|
355
|
+
}>, never, Values<{
|
|
356
|
+
"has overlays?": {
|
|
357
|
+
type: "has overlays?";
|
|
358
|
+
params: unknown;
|
|
359
|
+
};
|
|
360
|
+
"close specific overlay?": {
|
|
361
|
+
type: "close specific overlay?";
|
|
362
|
+
params: unknown;
|
|
363
|
+
};
|
|
364
|
+
"last: is relationshipDetails?": {
|
|
365
|
+
type: "last: is relationshipDetails?";
|
|
366
|
+
params: unknown;
|
|
367
|
+
};
|
|
368
|
+
"last: is relationshipsBrowser?": {
|
|
369
|
+
type: "last: is relationshipsBrowser?";
|
|
370
|
+
params: unknown;
|
|
371
|
+
};
|
|
372
|
+
}>, never, OverlayActorEmitedEvent>, StopAction<OverlaysContext, OverlayActorEvent, undefined, OverlayActorEvent>];
|
|
170
373
|
readonly target: "idle";
|
|
171
374
|
};
|
|
172
375
|
};
|
|
@@ -176,17 +379,56 @@ declare const _overlaysActorLogic: StateMachine<OverlaysContext, OverlayActorEve
|
|
|
176
379
|
readonly guard: "has overlays?";
|
|
177
380
|
readonly target: "active";
|
|
178
381
|
}, {
|
|
179
|
-
readonly actions:
|
|
382
|
+
readonly actions: StopAction<OverlaysContext, OverlayActorEvent, undefined, OverlayActorEvent>;
|
|
180
383
|
readonly target: "idle";
|
|
181
384
|
}];
|
|
182
385
|
};
|
|
183
386
|
};
|
|
184
|
-
readonly exit: readonly [
|
|
387
|
+
readonly exit: readonly [ StopAction<OverlaysContext, OverlayActorEvent, undefined, OverlayActorEvent>, ActionFunction<OverlaysContext, OverlayActorEvent, OverlayActorEvent, undefined, Values<{
|
|
388
|
+
elementDetails: {
|
|
389
|
+
src: "elementDetails";
|
|
390
|
+
logic: ElementDetailsLogic;
|
|
391
|
+
id: `elementDetails-${number}`;
|
|
392
|
+
};
|
|
393
|
+
relationshipsBrowser: {
|
|
394
|
+
src: "relationshipsBrowser";
|
|
395
|
+
logic: Overlays.RelationshipsBrowser.Logic;
|
|
396
|
+
id: `relationshipsBrowser-${number}`;
|
|
397
|
+
};
|
|
398
|
+
relationshipDetails: {
|
|
399
|
+
src: "relationshipDetails";
|
|
400
|
+
logic: Overlays.RelationshipDetails.Logic;
|
|
401
|
+
id: `relationshipDetails-${number}`;
|
|
402
|
+
};
|
|
403
|
+
hotkey: {
|
|
404
|
+
src: "hotkey";
|
|
405
|
+
logic: CallbackActorLogic<EventObject, NonReducibleUnknown, EventObject>;
|
|
406
|
+
id: "hotkey";
|
|
407
|
+
};
|
|
408
|
+
}>, never, Values<{
|
|
409
|
+
"has overlays?": {
|
|
410
|
+
type: "has overlays?";
|
|
411
|
+
params: unknown;
|
|
412
|
+
};
|
|
413
|
+
"close specific overlay?": {
|
|
414
|
+
type: "close specific overlay?";
|
|
415
|
+
params: unknown;
|
|
416
|
+
};
|
|
417
|
+
"last: is relationshipDetails?": {
|
|
418
|
+
type: "last: is relationshipDetails?";
|
|
419
|
+
params: unknown;
|
|
420
|
+
};
|
|
421
|
+
"last: is relationshipsBrowser?": {
|
|
422
|
+
type: "last: is relationshipsBrowser?";
|
|
423
|
+
params: unknown;
|
|
424
|
+
};
|
|
425
|
+
}>, never, OverlayActorEmitedEvent>];
|
|
185
426
|
}>;
|
|
186
|
-
|
|
427
|
+
type InferredMachine = typeof _overlaysActorLogic;
|
|
428
|
+
export interface OverlaysActorLogic extends InferredMachine {
|
|
187
429
|
}
|
|
188
430
|
export declare const overlaysActorLogic: OverlaysActorLogic;
|
|
189
431
|
export type OverlaysActorSnapshot = SnapshotFrom<OverlaysActorLogic>;
|
|
190
|
-
export interface OverlaysActorRef extends
|
|
432
|
+
export interface OverlaysActorRef extends ActorRefFromLogic<OverlaysActorLogic> {
|
|
191
433
|
}
|
|
192
434
|
export {};
|