@likec4/diagram 1.59.3 → 1.60.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/custom/package.json +2 -2
- package/dist/LikeC4Diagram.d.mts +15 -0
- package/dist/LikeC4Diagram.mjs +173 -0
- package/dist/LikeC4Diagram.props.d.mts +297 -0
- package/dist/LikeC4MantineProvider.d.mts +26 -0
- package/dist/LikeC4MantineProvider.mjs +158 -0
- package/dist/LikeC4ModelProvider.d.mts +13 -0
- package/dist/LikeC4ModelProvider.mjs +17 -0
- package/dist/LikeC4ProjectsOverview.d.mts +12 -0
- package/dist/LikeC4ProjectsOverview.mjs +28 -0
- package/dist/LikeC4ProjectsProvider.d.mts +35 -0
- package/dist/LikeC4ProjectsProvider.mjs +37 -0
- package/dist/LikeC4Styles.d.mts +16 -0
- package/dist/LikeC4Styles.mjs +73 -0
- package/dist/LikeC4View.d.mts +287 -0
- package/dist/LikeC4View.mjs +153 -0
- package/dist/ReactLikeC4.d.mts +50 -0
- package/dist/ReactLikeC4.mjs +47 -0
- package/dist/StaticLikeC4Diagram.d.mts +14 -0
- package/dist/StaticLikeC4Diagram.mjs +40 -0
- package/dist/_virtual/_rolldown/runtime.mjs +22 -0
- package/dist/base/Background.mjs +32 -0
- package/dist/base/Base.d.mts +30 -0
- package/dist/base/Base.mjs +36 -0
- package/dist/base/BaseXYFlow.mjs +209 -0
- package/dist/base/const.d.mts +5 -0
- package/dist/base/const.mjs +23 -0
- package/dist/base/keyboardZoom.mjs +22 -0
- package/dist/base/types.d.mts +62 -0
- package/dist/base/updateEdges.mjs +36 -0
- package/dist/base/updateNodes.mjs +47 -0
- package/dist/base-primitives/Markdown.d.mts +34 -0
- package/dist/base-primitives/Markdown.mjs +37 -0
- package/dist/base-primitives/NodeHandles.d.mts +10 -0
- package/dist/base-primitives/NodeHandles.mjs +44 -0
- package/dist/base-primitives/compound/CompoundActionButton.d.mts +12 -0
- package/dist/base-primitives/compound/CompoundActionButton.mjs +57 -0
- package/dist/base-primitives/compound/CompoundDetailsButton.d.mts +12 -0
- package/dist/base-primitives/compound/CompoundDetailsButton.mjs +47 -0
- package/dist/base-primitives/compound/CompoundNodeContainer.d.mts +17 -0
- package/dist/base-primitives/compound/CompoundNodeContainer.mjs +49 -0
- package/dist/base-primitives/compound/CompoundTitle.d.mts +21 -0
- package/dist/base-primitives/compound/CompoundTitle.mjs +22 -0
- package/dist/base-primitives/compound/actionbtns.css.mjs +13 -0
- package/dist/base-primitives/edge/EdgeActionButton.d.mts +1 -0
- package/dist/base-primitives/edge/EdgeActionButton.mjs +23 -0
- package/dist/base-primitives/edge/EdgeContainer.d.mts +4 -0
- package/dist/base-primitives/edge/EdgeContainer.mjs +35 -0
- package/dist/base-primitives/edge/EdgeLabel.d.mts +5 -0
- package/dist/base-primitives/edge/EdgeLabel.mjs +46 -0
- package/dist/base-primitives/edge/EdgeLabelContainer.d.mts +4 -0
- package/dist/base-primitives/edge/EdgeLabelContainer.mjs +40 -0
- package/dist/base-primitives/edge/EdgeMarkers.d.mts +2 -0
- package/dist/base-primitives/edge/EdgeMarkers.mjs +163 -0
- package/dist/base-primitives/edge/EdgePath.d.mts +4 -0
- package/dist/base-primitives/edge/EdgePath.mjs +67 -0
- package/dist/base-primitives/element/ElementActionButtons.d.mts +45 -0
- package/dist/base-primitives/element/ElementActionButtons.mjs +100 -0
- package/dist/base-primitives/element/ElementData.d.mts +72 -0
- package/dist/base-primitives/element/ElementData.mjs +135 -0
- package/dist/base-primitives/element/ElementDetailsButton.d.mts +13 -0
- package/dist/base-primitives/element/ElementDetailsButton.mjs +87 -0
- package/dist/base-primitives/element/ElementNodeContainer.d.mts +23 -0
- package/dist/base-primitives/element/ElementNodeContainer.mjs +58 -0
- package/dist/base-primitives/element/ElementShape.d.mts +21 -0
- package/dist/base-primitives/element/ElementShape.mjs +469 -0
- package/dist/base-primitives/element/ElementTags.d.mts +19 -0
- package/dist/base-primitives/element/ElementTags.mjs +137 -0
- package/dist/base-primitives/index.d.mts +21 -0
- package/dist/base-primitives/memoEdge.d.mts +6 -0
- package/dist/base-primitives/memoEdge.mjs +17 -0
- package/dist/base-primitives/memoNode.d.mts +6 -0
- package/dist/base-primitives/memoNode.mjs +23 -0
- package/dist/components/EmptyBox.mjs +11 -0
- package/dist/components/ErrorFallback.d.mts +7 -0
- package/dist/components/ErrorFallback.mjs +115 -0
- package/dist/components/FloatingWindow.mjs +91 -0
- package/dist/components/GithubIcon.mjs +17 -0
- package/dist/components/Link.mjs +103 -0
- package/dist/components/Logo.d.mts +7 -0
- package/dist/components/Logo.mjs +41 -0
- package/dist/components/NavigationLink.mjs +19 -0
- package/dist/components/NavigationPanel.mjs +35 -0
- package/dist/components/PortalToContainer.d.mts +9 -0
- package/dist/components/PortalToContainer.mjs +21 -0
- package/dist/components/RootContainer.mjs +40 -0
- package/dist/components/SearchControl.css.mjs +69 -0
- package/dist/components/SearchControl.d.mts +6 -0
- package/dist/components/SearchControl.mjs +41 -0
- package/dist/components/ViewIcon.mjs +76 -0
- package/dist/components/ViewNotFound.mjs +29 -0
- package/dist/context/CurrentViewModelProvider.mjs +17 -0
- package/dist/context/DiagramEventHandlers.d.mts +11 -0
- package/dist/context/DiagramEventHandlers.mjs +48 -0
- package/dist/context/DiagramFeatures.d.mts +29 -0
- package/dist/context/DiagramFeatures.mjs +95 -0
- package/dist/context/EnsureMantine.mjs +18 -0
- package/dist/context/FramerMotionConfig.d.mts +11 -0
- package/dist/context/FramerMotionConfig.mjs +21 -0
- package/dist/context/IconRenderer.d.mts +24 -0
- package/dist/context/IconRenderer.mjs +179 -0
- package/dist/context/LikeC4ModelContext.d.mts +14 -0
- package/dist/context/LikeC4ModelContext.mjs +21 -0
- package/dist/context/LikeC4ProjectsContext.d.mts +9 -0
- package/dist/context/LikeC4ProjectsContext.mjs +12 -0
- package/dist/context/RootContainerContext.mjs +24 -0
- package/dist/context/TagStylesContext.d.mts +14 -0
- package/dist/context/TagStylesContext.mjs +78 -0
- package/dist/custom/builtins.d.mts +9 -0
- package/dist/custom/customNodes.d.mts +235 -0
- package/dist/custom/customNodes.mjs +241 -0
- package/dist/custom/hooks.d.mts +17 -0
- package/dist/custom/index.d.mts +54 -0
- package/dist/custom/index.mjs +44 -0
- package/dist/custom/primitives.d.mts +16 -0
- package/dist/editor/LikeC4EditorCallbacks.d.mts +44 -0
- package/dist/editor/LikeC4EditorCallbacks.mjs +12 -0
- package/dist/editor/LikeC4EditorProvider.d.mts +30 -0
- package/dist/editor/LikeC4EditorProvider.mjs +39 -0
- package/dist/editor/actor/actions.mjs +208 -0
- package/dist/editor/actor/hotkey.d.mts +8 -0
- package/dist/editor/actor/hotkey.mjs +29 -0
- package/dist/editor/actor/machine.d.mts +9 -0
- package/dist/editor/actor/machine.mjs +27 -0
- package/dist/editor/actor/setup.d.mts +59 -0
- package/dist/editor/actor/setup.mjs +44 -0
- package/dist/editor/actor/state.editor.mjs +58 -0
- package/dist/editor/actor/state.sync-queue.mjs +276 -0
- package/dist/editor/actor/types.d.mts +66 -0
- package/dist/editor/actor/types.mjs +7 -0
- package/dist/editor/applyChangesToManualLayout.mjs +169 -0
- package/dist/editor/index.d.mts +5 -0
- package/dist/editor/useEditorActorLogic.mjs +79 -0
- package/dist/hooks/safeContext.d.mts +128 -0
- package/dist/hooks/safeContext.mjs +74 -0
- package/dist/hooks/useCallbackRef.mjs +23 -0
- package/dist/hooks/useCurrentView.d.mts +14 -0
- package/dist/hooks/useCurrentView.mjs +32 -0
- package/dist/hooks/useCurrentViewModel.d.mts +12 -0
- package/dist/hooks/useCurrentViewModel.mjs +18 -0
- package/dist/hooks/useDiagram.d.mts +29 -0
- package/dist/hooks/useDiagram.mjs +59 -0
- package/dist/hooks/useDiagramCompareLayout.d.mts +54 -0
- package/dist/hooks/useDiagramCompareLayout.mjs +86 -0
- package/dist/hooks/useEdgeTracks.mjs +91 -0
- package/dist/hooks/useEditorActor.mjs +27 -0
- package/dist/hooks/useId.mjs +11 -0
- package/dist/hooks/useLikeC4ElementsTree.mjs +30 -0
- package/dist/hooks/useLikeC4Model.d.mts +15 -0
- package/dist/hooks/useLikeC4Model.mjs +34 -0
- package/dist/hooks/useLikeC4Project.d.mts +29 -0
- package/dist/hooks/useLikeC4Project.mjs +58 -0
- package/dist/hooks/useLikeC4Styles.d.mts +5 -0
- package/dist/hooks/useLikeC4Styles.mjs +11 -0
- package/dist/hooks/useMantinePortalProps.mjs +15 -0
- package/dist/hooks/useSetState.d.mts +10 -0
- package/dist/hooks/useSetState.mjs +26 -0
- package/dist/hooks/useUpdateEffect.d.mts +7 -0
- package/dist/hooks/useUpdateEffect.mjs +23 -0
- package/dist/hooks/useXYFlow.d.mts +12 -0
- package/dist/hooks/useXYFlow.mjs +28 -0
- package/dist/index.d.mts +33 -0
- package/dist/index.mjs +30 -0
- package/dist/likec4diagram/DiagramUI.mjs +56 -0
- package/dist/likec4diagram/DiagramXYFlow.mjs +287 -0
- package/dist/likec4diagram/convert-to-xyflow.mjs +55 -0
- package/dist/likec4diagram/custom/edges/EdgeDrifts.mjs +26 -0
- package/dist/likec4diagram/custom/edges/RelationshipEdge.mjs +446 -0
- package/dist/likec4diagram/custom/edges/SequenceStepEdge.mjs +81 -0
- package/dist/likec4diagram/custom/edges/edges.css.mjs +50 -0
- package/dist/likec4diagram/custom/edges/useControlPoints.mjs +41 -0
- package/dist/likec4diagram/custom/edges/useRelationshipEdgePath.mjs +41 -0
- package/dist/likec4diagram/custom/index.mjs +26 -0
- package/dist/likec4diagram/custom/nodes/CompoundActions.d.mts +6 -0
- package/dist/likec4diagram/custom/nodes/CompoundActions.mjs +24 -0
- package/dist/likec4diagram/custom/nodes/ElementActions.d.mts +90 -0
- package/dist/likec4diagram/custom/nodes/ElementActions.mjs +147 -0
- package/dist/likec4diagram/custom/nodes/GraphElementNode.d.mts +1 -0
- package/dist/likec4diagram/custom/nodes/GraphElementNode.mjs +84 -0
- package/dist/likec4diagram/custom/nodes/NodeDrifts.d.mts +1 -0
- package/dist/likec4diagram/custom/nodes/NodeDrifts.mjs +24 -0
- package/dist/likec4diagram/custom/nodes/NodeNotes.mjs +226 -0
- package/dist/likec4diagram/custom/nodes/SequenceActorNode.d.mts +6 -0
- package/dist/likec4diagram/custom/nodes/SequenceActorNode.mjs +153 -0
- package/dist/likec4diagram/custom/nodes/SequenceSubFlow.d.mts +1 -0
- package/dist/likec4diagram/custom/nodes/SequenceSubFlow.mjs +239 -0
- package/dist/likec4diagram/custom/nodes/index.d.mts +11 -0
- package/dist/likec4diagram/custom/nodes/nodes.d.mts +22 -0
- package/dist/likec4diagram/custom/nodes/nodes.mjs +174 -0
- package/dist/likec4diagram/custom/nodes/toolbar/ColorButton.mjs +160 -0
- package/dist/likec4diagram/custom/nodes/toolbar/CompoundToolbar.d.mts +6 -0
- package/dist/likec4diagram/custom/nodes/toolbar/CompoundToolbar.mjs +65 -0
- package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.d.mts +11 -0
- package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.mjs +117 -0
- package/dist/likec4diagram/custom/nodes/toolbar/Toolbar.d.mts +11 -0
- package/dist/likec4diagram/custom/nodes/toolbar/Toolbar.mjs +64 -0
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.mjs +106 -0
- package/dist/likec4diagram/custom/nodes/toolbar/styles.css.mjs +17 -0
- package/dist/likec4diagram/custom/nodes/toolbar/types.mjs +9 -0
- package/dist/likec4diagram/custom/nodes/toolbar/useHandlers.mjs +41 -0
- package/dist/likec4diagram/relationship-popover/RelationshipPopover.mjs +524 -0
- package/dist/likec4diagram/relationship-popover/actor.mjs +120 -0
- package/dist/likec4diagram/relationship-popover/components.mjs +47 -0
- package/dist/likec4diagram/state/DiagramActorProvider.mjs +152 -0
- package/dist/likec4diagram/state/aligners.d.mts +7 -0
- package/dist/likec4diagram/state/aligners.mjs +294 -0
- package/dist/likec4diagram/state/assign.mjs +99 -0
- package/dist/likec4diagram/state/createViewChange.mjs +73 -0
- package/dist/likec4diagram/state/diagram-api.d.mts +173 -0
- package/dist/likec4diagram/state/diagram-api.mjs +362 -0
- package/dist/likec4diagram/state/hotkeyActor.d.mts +8 -0
- package/dist/likec4diagram/state/hotkeyActor.mjs +58 -0
- package/dist/likec4diagram/state/machine.actions.layout.mjs +176 -0
- package/dist/likec4diagram/state/machine.actions.mjs +800 -0
- package/dist/likec4diagram/state/machine.d.mts +74 -0
- package/dist/likec4diagram/state/machine.mjs +91 -0
- package/dist/likec4diagram/state/machine.setup.d.mts +376 -0
- package/dist/likec4diagram/state/machine.setup.mjs +170 -0
- package/dist/likec4diagram/state/machine.state.initializing.mjs +60 -0
- package/dist/likec4diagram/state/machine.state.navigating.mjs +205 -0
- package/dist/likec4diagram/state/machine.state.ready.focused.mjs +76 -0
- package/dist/likec4diagram/state/machine.state.ready.idle.mjs +108 -0
- package/dist/likec4diagram/state/machine.state.ready.mjs +154 -0
- package/dist/likec4diagram/state/machine.state.ready.printing.mjs +42 -0
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.mjs +262 -0
- package/dist/likec4diagram/state/mediaPrintActor.d.mts +10 -0
- package/dist/likec4diagram/state/mediaPrintActor.mjs +24 -0
- package/dist/likec4diagram/state/persistence.mjs +24 -0
- package/dist/likec4diagram/state/types.d.mts +23 -0
- package/dist/likec4diagram/state/utils.mjs +169 -0
- package/dist/likec4diagram/types.d.mts +202 -0
- package/dist/likec4diagram/ui/FloatingSequenceActors.mjs +158 -0
- package/dist/likec4diagram/ui/LayoutDriftFrame.mjs +63 -0
- package/dist/likec4diagram/ui/notation/NotationPanel.css.mjs +69 -0
- package/dist/likec4diagram/ui/notation/NotationPanel.mjs +190 -0
- package/dist/likec4diagram/ui/sequence-outline/ActiveTrail.mjs +83 -0
- package/dist/likec4diagram/ui/sequence-outline/FlowRow.mjs +72 -0
- package/dist/likec4diagram/ui/sequence-outline/OutlineBody.mjs +109 -0
- package/dist/likec4diagram/ui/sequence-outline/OutlineHeader.mjs +142 -0
- package/dist/likec4diagram/ui/sequence-outline/OutlineNodes.mjs +85 -0
- package/dist/likec4diagram/ui/sequence-outline/SequenceOutlinePanel.mjs +66 -0
- package/dist/likec4diagram/ui/sequence-outline/StepBadge.mjs +54 -0
- package/dist/likec4diagram/ui/sequence-outline/StepRow.mjs +192 -0
- package/dist/likec4diagram/ui/sequence-outline/StoreProvider.mjs +96 -0
- package/dist/likec4diagram/ui/sequence-outline/depth-of-field.mjs +79 -0
- package/dist/likec4diagram/ui/sequence-outline/motion.mjs +22 -0
- package/dist/likec4diagram/ui/sequence-outline/presentation.mjs +87 -0
- package/dist/likec4diagram/ui/sequence-outline/tree.mjs +69 -0
- package/dist/likec4diagram/ui/sequence-outline/types.mjs +14 -0
- package/dist/likec4diagram/useLayoutConstraints.mjs +482 -0
- package/dist/likec4diagram/xyflow-diagram/diagram-view.mjs +275 -0
- package/dist/likec4diagram/xyflow-graph/graph-view-to-xy.mjs +176 -0
- package/dist/likec4diagram/xyflow-graph/useGraphForceSimulation.mjs +128 -0
- package/dist/likec4diagram/xyflow-sequence/const.mjs +14 -0
- package/dist/likec4diagram/xyflow-sequence/layouter.mjs +566 -0
- package/dist/likec4diagram/xyflow-sequence/sequence-view-to-xy.mjs +289 -0
- package/dist/likec4diagram/xyflow-sequence/sequence-view.mjs +146 -0
- package/dist/likec4diagram/xyflow-sequence/utils.mjs +97 -0
- package/dist/navigationpanel/ElementViewControls.mjs +51 -0
- package/dist/navigationpanel/NavigationPanel.mjs +124 -0
- package/dist/navigationpanel/NavigationPanelControls.mjs +172 -0
- package/dist/navigationpanel/NavigationPanelDropdown.mjs +375 -0
- package/dist/navigationpanel/_common.mjs +50 -0
- package/dist/navigationpanel/actor.actions.mjs +51 -0
- package/dist/navigationpanel/actor.d.mts +37 -0
- package/dist/navigationpanel/actor.mjs +97 -0
- package/dist/navigationpanel/actor.setup.d.mts +73 -0
- package/dist/navigationpanel/actor.setup.mjs +34 -0
- package/dist/navigationpanel/comparepanel/CompareActionsMenu.mjs +69 -0
- package/dist/navigationpanel/comparepanel/ComparePanel.mjs +139 -0
- package/dist/navigationpanel/comparepanel/ComparePanelControls.mjs +56 -0
- package/dist/navigationpanel/comparepanel/DriftsSummary.mjs +222 -0
- package/dist/navigationpanel/comparepanel/LayoutTypeSwitcher.mjs +37 -0
- package/dist/navigationpanel/controls/LayoutWarning.mjs +91 -0
- package/dist/navigationpanel/controls/LogoButton.mjs +50 -0
- package/dist/navigationpanel/controls/NavigationButtons.mjs +40 -0
- package/dist/navigationpanel/controls/OpenSource.mjs +28 -0
- package/dist/navigationpanel/controls/SearchControl.mjs +70 -0
- package/dist/navigationpanel/controls/ToggleReadonly.mjs +72 -0
- package/dist/navigationpanel/controls/ViewDetailsButton.mjs +124 -0
- package/dist/navigationpanel/dropdown/ProjectsMenu.mjs +85 -0
- package/dist/navigationpanel/editorpanel/ApplySemanticLayout.mjs +39 -0
- package/dist/navigationpanel/editorpanel/CenterCamera.mjs +21 -0
- package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.mjs +249 -0
- package/dist/navigationpanel/editorpanel/EditorPanel.mjs +64 -0
- package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.mjs +144 -0
- package/dist/navigationpanel/editorpanel/ToggleReadonly.mjs +24 -0
- package/dist/navigationpanel/editorpanel/_common.mjs +16 -0
- package/dist/navigationpanel/editorpanel/styles.mjs +58 -0
- package/dist/navigationpanel/hooks.mjs +32 -0
- package/dist/navigationpanel/styles.css.mjs +23 -0
- package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.mjs +117 -0
- package/dist/navigationpanel/walkthrough/DynamicViewControls.mjs +82 -0
- package/dist/navigationpanel/walkthrough/DynamicViewModeSwitcher.mjs +51 -0
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.mjs +81 -0
- package/dist/navigationpanel/windows/ViewDetailsWindow.mjs +383 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/createReactComponent.mjs +38 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.mjs +31 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowDownRight.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowFork.mjs +31 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowGuide.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowLeft.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconBolt.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconBrowser.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronLeft.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconCornerDownRight.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconCylinder.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconDeviceMobile.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconDirectionSignFilled.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.mjs +31 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconFileText.mjs +35 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.mjs +35 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconFolderFilled.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconHelpCircle.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconId.mjs +35 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.mjs +35 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutDashboard.mjs +31 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLink.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerPlayFilled.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipBackFilled.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipForwardFilled.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStop.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStopFilled.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconRectangularPrism.mjs +31 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconReorder.mjs +35 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconRepeat.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconRobot.mjs +51 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.mjs +31 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconSelector.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconSparkles.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconStarFilled.mjs +17 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconTarget.mjs +27 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconTransform.mjs +31 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconUser.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconX.mjs +20 -0
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.49.0_react@19.3.0/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.mjs +39 -0
- package/dist/overlays/Overlays.mjs +113 -0
- package/dist/overlays/element-details/ElementDetails.mjs +27 -0
- package/dist/overlays/element-details/ElementDetailsCard.css.mjs +220 -0
- package/dist/overlays/element-details/ElementDetailsCard.mjs +534 -0
- package/dist/overlays/element-details/MetadataValue.mjs +232 -0
- package/dist/overlays/element-details/TabPanelDeployments.css.mjs +37 -0
- package/dist/overlays/element-details/TabPanelDeployments.mjs +192 -0
- package/dist/overlays/element-details/TabPanelRelationships.css.mjs +69 -0
- package/dist/overlays/element-details/TabPanelRelationships.mjs +163 -0
- package/dist/overlays/element-details/TabPanelStructure.css.mjs +30 -0
- package/dist/overlays/element-details/TabPanelStructure.mjs +96 -0
- package/dist/overlays/element-details/actor.d.mts +34 -0
- package/dist/overlays/element-details/actor.mjs +52 -0
- package/dist/overlays/element-details/actorContext.mjs +17 -0
- package/dist/overlays/hooks.mjs +7 -0
- package/dist/overlays/overlay/Overlay.d.mts +54 -0
- package/dist/overlays/overlay/Overlay.mjs +117 -0
- package/dist/overlays/overlaysActor.d.mts +49 -0
- package/dist/overlays/overlaysActor.mjs +232 -0
- package/dist/overlays/relationship-details/RelationshipDetails.mjs +286 -0
- package/dist/overlays/relationship-details/SelectEdge.css.mjs +77 -0
- package/dist/overlays/relationship-details/SelectEdge.mjs +151 -0
- package/dist/overlays/relationship-details/_types.d.mts +60 -0
- package/dist/overlays/relationship-details/actor.d.mts +109 -0
- package/dist/overlays/relationship-details/actor.mjs +251 -0
- package/dist/overlays/relationship-details/compute.d.mts +3 -0
- package/dist/overlays/relationship-details/compute.mjs +116 -0
- package/dist/overlays/relationship-details/custom/ElementActions.mjs +49 -0
- package/dist/overlays/relationship-details/custom/edgeTypes.mjs +47 -0
- package/dist/overlays/relationship-details/custom/nodeTypes.mjs +101 -0
- package/dist/overlays/relationship-details/hooks.mjs +54 -0
- package/dist/overlays/relationship-details/layout-to-xyflow.mjs +124 -0
- package/dist/overlays/relationship-details/layout.d.mts +27 -0
- package/dist/overlays/relationship-details/layout.mjs +287 -0
- package/dist/overlays/relationships-browser/RelationshipsBrowser.mjs +346 -0
- package/dist/overlays/relationships-browser/SelectElement.css.mjs +15 -0
- package/dist/overlays/relationships-browser/SelectElement.mjs +202 -0
- package/dist/overlays/relationships-browser/_types.d.mts +65 -0
- package/dist/overlays/relationships-browser/actor.d.mts +103 -0
- package/dist/overlays/relationships-browser/actor.mjs +379 -0
- package/dist/overlays/relationships-browser/const.mjs +10 -0
- package/dist/overlays/relationships-browser/custom/ElementActions.mjs +67 -0
- package/dist/overlays/relationships-browser/custom/EmptyNode.mjs +27 -0
- package/dist/overlays/relationships-browser/custom/edgeTypes.mjs +70 -0
- package/dist/overlays/relationships-browser/custom/nodeTypes.mjs +108 -0
- package/dist/overlays/relationships-browser/hooks.mjs +58 -0
- package/dist/overlays/relationships-browser/layout.d.mts +30 -0
- package/dist/overlays/relationships-browser/layout.mjs +428 -0
- package/dist/overlays/relationships-browser/useViewToNodesEdges.mjs +146 -0
- package/dist/overlays/types.d.mts +23 -0
- package/dist/projects-overview/ProjectsOverview.d.mts +15 -0
- package/dist/projects-overview/ProjectsOverview.mjs +61 -0
- package/dist/projects-overview/ProjectsOverviewXY.d.mts +14 -0
- package/dist/projects-overview/ProjectsOverviewXY.mjs +111 -0
- package/dist/projects-overview/actor.mjs +269 -0
- package/dist/projects-overview/context.mjs +13 -0
- package/dist/projects-overview/custom/edgeTypes.mjs +26 -0
- package/dist/projects-overview/custom/nodeTypes.mjs +43 -0
- package/dist/projects-overview/hooks.mjs +17 -0
- package/dist/projects-overview/index.d.mts +2 -0
- package/dist/projects-overview/layouted-to-xyflow.mjs +55 -0
- package/dist/projects-overview/panel/ProjectsOverviewPanel.mjs +11 -0
- package/dist/projects-overview/persistence.mjs +26 -0
- package/dist/search/Search.d.mts +11 -0
- package/dist/search/Search.mjs +201 -0
- package/dist/search/SearchContext.d.mts +23 -0
- package/dist/search/SearchContext.mjs +23 -0
- package/dist/search/XStateSearchAdapter.mjs +72 -0
- package/dist/search/components/ElementsColumn.css.mjs +54 -0
- package/dist/search/components/ElementsColumn.mjs +264 -0
- package/dist/search/components/PickView.mjs +120 -0
- package/dist/search/components/SearchByTags.mjs +81 -0
- package/dist/search/components/SearchInput.mjs +193 -0
- package/dist/search/components/ViewsColum.mjs +161 -0
- package/dist/search/components/ViewsColumn.css.mjs +19 -0
- package/dist/search/components/_shared.css.mjs +123 -0
- package/dist/search/components/styles.css.mjs +56 -0
- package/dist/search/components/utils.mjs +57 -0
- package/dist/search/hooks.mjs +18 -0
- package/dist/search/searchActor.d.mts +37 -0
- package/dist/search/searchActor.mjs +104 -0
- package/dist/shadowroot/ShadowRoot.mjs +205 -0
- package/dist/styles-font.css +1 -0
- package/dist/styles-font2.mjs +5 -0
- package/dist/styles-min.css +1 -0
- package/dist/styles-xyflow.css +1 -0
- package/dist/styles.css +1 -0
- package/dist/styles2.mjs +5 -0
- package/dist/utils/defineActors.d.mts +10 -0
- package/dist/utils/defineActors.mjs +15 -0
- package/dist/utils/edge-corners.mjs +126 -0
- package/dist/utils/edge-endpoints.mjs +42 -0
- package/dist/utils/edge-label.mjs +41 -0
- package/dist/utils/edge-path.mjs +246 -0
- package/dist/utils/edge-tracks.mjs +141 -0
- package/dist/utils/index.mjs +7 -0
- package/dist/utils/readableText.mjs +20 -0
- package/dist/utils/roundDpr.mjs +26 -0
- package/dist/utils/view-bounds.d.mts +10 -0
- package/dist/utils/view-bounds.mjs +57 -0
- package/dist/utils/view-routing.mjs +12 -0
- package/dist/utils/xyflow.mjs +174 -0
- package/package.json +66 -62
- package/panda.buildinfo.json +353 -300
- package/styles-min.css +1 -1
- package/styles-xyflow.css +1 -1
- package/styles.css +1 -1
- package/dist/LikeC4Diagram.d.ts +0 -12
- package/dist/LikeC4Diagram.js +0 -155
- package/dist/LikeC4Diagram.props.d.ts +0 -270
- package/dist/LikeC4ModelProvider.d.ts +0 -10
- package/dist/LikeC4ModelProvider.js +0 -15
- package/dist/LikeC4ProjectsOverview.d.ts +0 -8
- package/dist/LikeC4ProjectsOverview.js +0 -26
- package/dist/LikeC4ProjectsProvider.d.ts +0 -18
- package/dist/LikeC4ProjectsProvider.js +0 -35
- package/dist/LikeC4Styles.d.ts +0 -4
- package/dist/LikeC4Styles.js +0 -68
- package/dist/LikeC4View.d.ts +0 -284
- package/dist/LikeC4View.js +0 -151
- package/dist/ReactLikeC4.d.ts +0 -47
- package/dist/ReactLikeC4.js +0 -45
- package/dist/StaticLikeC4Diagram.d.ts +0 -11
- package/dist/StaticLikeC4Diagram.js +0 -38
- package/dist/_virtual/_rolldown/runtime.js +0 -17
- package/dist/base/Background.d.ts +0 -8
- package/dist/base/Background.js +0 -30
- package/dist/base/Base.d.ts +0 -29
- package/dist/base/Base.js +0 -34
- package/dist/base/BaseXYFlow.d.ts +0 -16
- package/dist/base/BaseXYFlow.js +0 -204
- package/dist/base/const.d.ts +0 -19
- package/dist/base/const.js +0 -20
- package/dist/base/index.d.ts +0 -7
- package/dist/base/keyboardZoom.d.ts +0 -3
- package/dist/base/keyboardZoom.js +0 -20
- package/dist/base/types.d.ts +0 -66
- package/dist/base/updateEdges.d.ts +0 -3
- package/dist/base/updateEdges.js +0 -34
- package/dist/base/updateNodes.d.ts +0 -17
- package/dist/base/updateNodes.js +0 -45
- package/dist/base-primitives/Markdown.d.ts +0 -59
- package/dist/base-primitives/Markdown.js +0 -35
- package/dist/base-primitives/NodeHandles.d.ts +0 -7
- package/dist/base-primitives/NodeHandles.js +0 -42
- package/dist/base-primitives/compound/CompoundActionButton.d.ts +0 -10
- package/dist/base-primitives/compound/CompoundActionButton.js +0 -55
- package/dist/base-primitives/compound/CompoundDetailsButton.d.ts +0 -10
- package/dist/base-primitives/compound/CompoundDetailsButton.js +0 -45
- package/dist/base-primitives/compound/CompoundNodeContainer.d.ts +0 -15
- package/dist/base-primitives/compound/CompoundNodeContainer.js +0 -47
- package/dist/base-primitives/compound/CompoundTitle.d.ts +0 -19
- package/dist/base-primitives/compound/CompoundTitle.js +0 -20
- package/dist/base-primitives/compound/actionbtns.css.d.ts +0 -11
- package/dist/base-primitives/compound/actionbtns.css.js +0 -11
- package/dist/base-primitives/edge/EdgeActionButton.d.ts +0 -8
- package/dist/base-primitives/edge/EdgeActionButton.js +0 -21
- package/dist/base-primitives/edge/EdgeContainer.d.ts +0 -11
- package/dist/base-primitives/edge/EdgeContainer.js +0 -33
- package/dist/base-primitives/edge/EdgeLabel.d.ts +0 -15
- package/dist/base-primitives/edge/EdgeLabel.js +0 -44
- package/dist/base-primitives/edge/EdgeLabelContainer.d.ts +0 -19
- package/dist/base-primitives/edge/EdgeLabelContainer.js +0 -38
- package/dist/base-primitives/edge/EdgeMarkers.d.ts +0 -14
- package/dist/base-primitives/edge/EdgeMarkers.js +0 -161
- package/dist/base-primitives/edge/EdgePath.d.ts +0 -17
- package/dist/base-primitives/edge/EdgePath.js +0 -65
- package/dist/base-primitives/element/ElementActionButtons.d.ts +0 -43
- package/dist/base-primitives/element/ElementActionButtons.js +0 -98
- package/dist/base-primitives/element/ElementData.d.ts +0 -67
- package/dist/base-primitives/element/ElementData.js +0 -127
- package/dist/base-primitives/element/ElementDetailsButton.d.ts +0 -11
- package/dist/base-primitives/element/ElementDetailsButton.js +0 -85
- package/dist/base-primitives/element/ElementNodeContainer.d.ts +0 -22
- package/dist/base-primitives/element/ElementNodeContainer.js +0 -55
- package/dist/base-primitives/element/ElementShape.d.ts +0 -18
- package/dist/base-primitives/element/ElementShape.js +0 -367
- package/dist/base-primitives/element/ElementTags.d.ts +0 -21
- package/dist/base-primitives/element/ElementTags.js +0 -135
- package/dist/base-primitives/index.d.ts +0 -20
- package/dist/base-primitives/memoEdge.d.ts +0 -3
- package/dist/base-primitives/memoEdge.js +0 -15
- package/dist/base-primitives/memoNode.d.ts +0 -3
- package/dist/base-primitives/memoNode.js +0 -21
- package/dist/components/ErrorFallback.d.ts +0 -3
- package/dist/components/ErrorFallback.js +0 -112
- package/dist/components/GithubIcon.d.ts +0 -2
- package/dist/components/GithubIcon.js +0 -15
- package/dist/components/Link.d.ts +0 -6
- package/dist/components/Link.js +0 -100
- package/dist/components/Logo.d.ts +0 -5
- package/dist/components/Logo.js +0 -39
- package/dist/components/NavigationLink.d.ts +0 -6
- package/dist/components/NavigationLink.js +0 -17
- package/dist/components/NavigationPanel.d.ts +0 -11
- package/dist/components/NavigationPanel.js +0 -29
- package/dist/components/PortalToContainer.d.ts +0 -6
- package/dist/components/PortalToContainer.js +0 -19
- package/dist/components/RootContainer.d.ts +0 -6
- package/dist/components/RootContainer.js +0 -38
- package/dist/components/SearchControl.css.d.ts +0 -3
- package/dist/components/SearchControl.css.js +0 -69
- package/dist/components/SearchControl.d.ts +0 -5
- package/dist/components/SearchControl.js +0 -39
- package/dist/components/ViewNotFound.d.ts +0 -5
- package/dist/components/ViewNotFound.js +0 -27
- package/dist/context/CurrentViewModelProvider.d.ts +0 -2
- package/dist/context/CurrentViewModelProvider.js +0 -15
- package/dist/context/DefaultMantineProvider.d.ts +0 -2
- package/dist/context/DefaultMantineProvider.js +0 -48
- package/dist/context/DiagramEventHandlers.d.ts +0 -15
- package/dist/context/DiagramEventHandlers.js +0 -52
- package/dist/context/DiagramFeatures.d.ts +0 -53
- package/dist/context/DiagramFeatures.js +0 -93
- package/dist/context/EnsureMantine.d.ts +0 -4
- package/dist/context/EnsureMantine.js +0 -16
- package/dist/context/FramerMotionConfig.d.ts +0 -8
- package/dist/context/FramerMotionConfig.js +0 -19
- package/dist/context/IconRenderer.d.ts +0 -39
- package/dist/context/IconRenderer.js +0 -133
- package/dist/context/LikeC4ModelContext.d.ts +0 -15
- package/dist/context/LikeC4ModelContext.js +0 -19
- package/dist/context/LikeC4ProjectsContext.d.ts +0 -8
- package/dist/context/LikeC4ProjectsContext.js +0 -10
- package/dist/context/RootContainerContext.d.ts +0 -19
- package/dist/context/RootContainerContext.js +0 -22
- package/dist/context/TagStylesContext.d.ts +0 -9
- package/dist/context/TagStylesContext.js +0 -76
- package/dist/context/index.d.ts +0 -7
- package/dist/custom/builtins.d.ts +0 -1
- package/dist/custom/customNodes.d.ts +0 -233
- package/dist/custom/customNodes.js +0 -239
- package/dist/custom/hooks.d.ts +0 -11
- package/dist/custom/index.d.ts +0 -16
- package/dist/custom/index.js +0 -41
- package/dist/custom/primitives.d.ts +0 -1
- package/dist/editor/LikeC4EditorCallbacks.d.ts +0 -42
- package/dist/editor/LikeC4EditorCallbacks.js +0 -10
- package/dist/editor/LikeC4EditorProvider.d.ts +0 -34
- package/dist/editor/LikeC4EditorProvider.js +0 -37
- package/dist/editor/actor/actions.d.ts +0 -174
- package/dist/editor/actor/actions.js +0 -188
- package/dist/editor/actor/hotkey.d.ts +0 -7
- package/dist/editor/actor/hotkey.js +0 -27
- package/dist/editor/actor/machine.d.ts +0 -9
- package/dist/editor/actor/machine.js +0 -23
- package/dist/editor/actor/setup.d.ts +0 -70
- package/dist/editor/actor/setup.js +0 -42
- package/dist/editor/actor/state.editor.d.ts +0 -147
- package/dist/editor/actor/state.editor.js +0 -56
- package/dist/editor/actor/state.sync-queue.d.ts +0 -612
- package/dist/editor/actor/state.sync-queue.js +0 -273
- package/dist/editor/actor/types.d.ts +0 -64
- package/dist/editor/actor/types.js +0 -5
- package/dist/editor/applyChangesToManualLayout.d.ts +0 -8
- package/dist/editor/applyChangesToManualLayout.js +0 -164
- package/dist/editor/index.d.ts +0 -5
- package/dist/editor/useEditorActorLogic.d.ts +0 -8
- package/dist/editor/useEditorActorLogic.js +0 -74
- package/dist/hooks/index.d.ts +0 -14
- package/dist/hooks/safeContext.d.ts +0 -160
- package/dist/hooks/safeContext.js +0 -72
- package/dist/hooks/useCallbackRef.d.ts +0 -7
- package/dist/hooks/useCallbackRef.js +0 -21
- package/dist/hooks/useCurrentView.d.ts +0 -11
- package/dist/hooks/useCurrentView.js +0 -21
- package/dist/hooks/useCurrentViewModel.d.ts +0 -10
- package/dist/hooks/useCurrentViewModel.js +0 -16
- package/dist/hooks/useDiagram.d.ts +0 -42
- package/dist/hooks/useDiagram.js +0 -79
- package/dist/hooks/useDiagramCompareLayout.d.ts +0 -53
- package/dist/hooks/useDiagramCompareLayout.js +0 -86
- package/dist/hooks/useEditorActor.d.ts +0 -9
- package/dist/hooks/useEditorActor.js +0 -27
- package/dist/hooks/useId.d.ts +0 -1
- package/dist/hooks/useId.js +0 -9
- package/dist/hooks/useLikeC4ElementsTree.d.ts +0 -14
- package/dist/hooks/useLikeC4ElementsTree.js +0 -28
- package/dist/hooks/useLikeC4Model.d.ts +0 -12
- package/dist/hooks/useLikeC4Model.js +0 -27
- package/dist/hooks/useLikeC4Project.d.ts +0 -25
- package/dist/hooks/useLikeC4Project.js +0 -56
- package/dist/hooks/useLikeC4Styles.d.ts +0 -2
- package/dist/hooks/useLikeC4Styles.js +0 -9
- package/dist/hooks/useMantinePortalProps.d.ts +0 -9
- package/dist/hooks/useMantinePortalProps.js +0 -13
- package/dist/hooks/useMediaPrint.d.ts +0 -4
- package/dist/hooks/useOverlaysActor.d.ts +0 -2
- package/dist/hooks/useReducedGraphics.d.ts +0 -1
- package/dist/hooks/useSearchActor.d.ts +0 -2
- package/dist/hooks/useSetState.d.ts +0 -7
- package/dist/hooks/useSetState.js +0 -24
- package/dist/hooks/useUpdateEffect.d.ts +0 -4
- package/dist/hooks/useUpdateEffect.js +0 -21
- package/dist/hooks/useXYFlow.d.ts +0 -23
- package/dist/hooks/useXYFlow.js +0 -26
- package/dist/index.d.ts +0 -27
- package/dist/index.js +0 -27
- package/dist/likec4diagram/DiagramUI.d.ts +0 -2
- package/dist/likec4diagram/DiagramUI.js +0 -54
- package/dist/likec4diagram/DiagramXYFlow.d.ts +0 -7
- package/dist/likec4diagram/DiagramXYFlow.js +0 -267
- package/dist/likec4diagram/convert-to-xyflow.d.ts +0 -12
- package/dist/likec4diagram/convert-to-xyflow.js +0 -43
- package/dist/likec4diagram/custom/edges/EdgeDrifts.d.ts +0 -6
- package/dist/likec4diagram/custom/edges/EdgeDrifts.js +0 -24
- package/dist/likec4diagram/custom/edges/RelationshipEdge.d.ts +0 -3
- package/dist/likec4diagram/custom/edges/RelationshipEdge.js +0 -401
- package/dist/likec4diagram/custom/edges/SequenceStepEdge.d.ts +0 -2
- package/dist/likec4diagram/custom/edges/SequenceStepEdge.js +0 -79
- package/dist/likec4diagram/custom/edges/edges.css.d.ts +0 -3
- package/dist/likec4diagram/custom/edges/edges.css.js +0 -48
- package/dist/likec4diagram/custom/edges/useControlPoints.d.ts +0 -8
- package/dist/likec4diagram/custom/edges/useControlPoints.js +0 -54
- package/dist/likec4diagram/custom/edges/useRelationshipEdgePath.d.ts +0 -10
- package/dist/likec4diagram/custom/edges/useRelationshipEdgePath.js +0 -57
- package/dist/likec4diagram/custom/edges/utils.d.ts +0 -10
- package/dist/likec4diagram/custom/index.d.ts +0 -17
- package/dist/likec4diagram/custom/index.js +0 -22
- package/dist/likec4diagram/custom/nodes/CompoundActions.d.ts +0 -4
- package/dist/likec4diagram/custom/nodes/CompoundActions.js +0 -22
- package/dist/likec4diagram/custom/nodes/ElementActions.d.ts +0 -87
- package/dist/likec4diagram/custom/nodes/ElementActions.js +0 -144
- package/dist/likec4diagram/custom/nodes/NodeDrifts.d.ts +0 -5
- package/dist/likec4diagram/custom/nodes/NodeDrifts.js +0 -22
- package/dist/likec4diagram/custom/nodes/NodeNotes.d.ts +0 -6
- package/dist/likec4diagram/custom/nodes/NodeNotes.js +0 -224
- package/dist/likec4diagram/custom/nodes/SequenceActorNode.d.ts +0 -3
- package/dist/likec4diagram/custom/nodes/SequenceActorNode.js +0 -151
- package/dist/likec4diagram/custom/nodes/SequenceSubFlow.d.ts +0 -2
- package/dist/likec4diagram/custom/nodes/SequenceSubFlow.js +0 -234
- package/dist/likec4diagram/custom/nodes/index.d.ts +0 -11
- package/dist/likec4diagram/custom/nodes/nodes.d.ts +0 -19
- package/dist/likec4diagram/custom/nodes/nodes.js +0 -172
- package/dist/likec4diagram/custom/nodes/toolbar/ColorButton.d.ts +0 -22
- package/dist/likec4diagram/custom/nodes/toolbar/ColorButton.js +0 -158
- package/dist/likec4diagram/custom/nodes/toolbar/CompoundToolbar.d.ts +0 -3
- package/dist/likec4diagram/custom/nodes/toolbar/CompoundToolbar.js +0 -63
- package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.d.ts +0 -8
- package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +0 -114
- package/dist/likec4diagram/custom/nodes/toolbar/Toolbar.d.ts +0 -8
- package/dist/likec4diagram/custom/nodes/toolbar/Toolbar.js +0 -62
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.d.ts +0 -18
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +0 -103
- package/dist/likec4diagram/custom/nodes/toolbar/styles.css.d.ts +0 -1
- package/dist/likec4diagram/custom/nodes/toolbar/styles.css.js +0 -15
- package/dist/likec4diagram/custom/nodes/toolbar/types.d.ts +0 -5
- package/dist/likec4diagram/custom/nodes/toolbar/types.js +0 -8
- package/dist/likec4diagram/custom/nodes/toolbar/useHandlers.d.ts +0 -8
- package/dist/likec4diagram/custom/nodes/toolbar/useHandlers.js +0 -39
- package/dist/likec4diagram/relationship-popover/RelationshipPopover.d.ts +0 -2
- package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +0 -520
- package/dist/likec4diagram/relationship-popover/actor.d.ts +0 -75
- package/dist/likec4diagram/relationship-popover/actor.js +0 -116
- package/dist/likec4diagram/relationship-popover/components.d.ts +0 -7
- package/dist/likec4diagram/relationship-popover/components.js +0 -41
- package/dist/likec4diagram/state/DiagramActorProvider.d.ts +0 -14
- package/dist/likec4diagram/state/DiagramActorProvider.js +0 -132
- package/dist/likec4diagram/state/aligners.d.ts +0 -45
- package/dist/likec4diagram/state/aligners.js +0 -292
- package/dist/likec4diagram/state/assign.d.ts +0 -26
- package/dist/likec4diagram/state/assign.js +0 -97
- package/dist/likec4diagram/state/createViewChange.d.ts +0 -3
- package/dist/likec4diagram/state/createViewChange.js +0 -71
- package/dist/likec4diagram/state/diagram-api.d.ts +0 -162
- package/dist/likec4diagram/state/diagram-api.js +0 -337
- package/dist/likec4diagram/state/hotkeyActor.d.ts +0 -7
- package/dist/likec4diagram/state/hotkeyActor.js +0 -56
- package/dist/likec4diagram/state/inspector.d.ts +0 -4
- package/dist/likec4diagram/state/machine.actions.d.ts +0 -2560
- package/dist/likec4diagram/state/machine.actions.js +0 -787
- package/dist/likec4diagram/state/machine.actions.layout.d.ts +0 -578
- package/dist/likec4diagram/state/machine.actions.layout.js +0 -172
- package/dist/likec4diagram/state/machine.d.ts +0 -161
- package/dist/likec4diagram/state/machine.js +0 -79
- package/dist/likec4diagram/state/machine.setup.d.ts +0 -436
- package/dist/likec4diagram/state/machine.setup.js +0 -162
- package/dist/likec4diagram/state/machine.state.initializing.d.ts +0 -232
- package/dist/likec4diagram/state/machine.state.initializing.js +0 -55
- package/dist/likec4diagram/state/machine.state.navigating.d.ts +0 -14
- package/dist/likec4diagram/state/machine.state.navigating.js +0 -199
- package/dist/likec4diagram/state/machine.state.ready.d.ts +0 -4229
- package/dist/likec4diagram/state/machine.state.ready.focused.d.ts +0 -696
- package/dist/likec4diagram/state/machine.state.ready.focused.js +0 -74
- package/dist/likec4diagram/state/machine.state.ready.idle.d.ts +0 -585
- package/dist/likec4diagram/state/machine.state.ready.idle.js +0 -106
- package/dist/likec4diagram/state/machine.state.ready.js +0 -134
- package/dist/likec4diagram/state/machine.state.ready.printing.d.ts +0 -128
- package/dist/likec4diagram/state/machine.state.ready.printing.js +0 -40
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +0 -839
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.js +0 -227
- package/dist/likec4diagram/state/mediaPrintActor.d.ts +0 -12
- package/dist/likec4diagram/state/mediaPrintActor.js +0 -22
- package/dist/likec4diagram/state/persistence.d.ts +0 -5
- package/dist/likec4diagram/state/persistence.js +0 -22
- package/dist/likec4diagram/state/types.d.ts +0 -23
- package/dist/likec4diagram/state/utils.d.ts +0 -73
- package/dist/likec4diagram/state/utils.js +0 -167
- package/dist/likec4diagram/types.d.ts +0 -190
- package/dist/likec4diagram/ui/FloatingSequenceActors.d.ts +0 -6
- package/dist/likec4diagram/ui/FloatingSequenceActors.js +0 -156
- package/dist/likec4diagram/ui/LayoutDriftFrame.d.ts +0 -2
- package/dist/likec4diagram/ui/LayoutDriftFrame.js +0 -55
- package/dist/likec4diagram/ui/index.d.ts +0 -4
- package/dist/likec4diagram/ui/notation/NotationPanel.css.d.ts +0 -7
- package/dist/likec4diagram/ui/notation/NotationPanel.css.js +0 -69
- package/dist/likec4diagram/ui/notation/NotationPanel.d.ts +0 -2
- package/dist/likec4diagram/ui/notation/NotationPanel.js +0 -187
- package/dist/likec4diagram/ui/notation/index.d.ts +0 -1
- package/dist/likec4diagram/ui/sequence-outline/SequenceOutlinePanel.d.ts +0 -2
- package/dist/likec4diagram/ui/sequence-outline/SequenceOutlinePanel.js +0 -542
- package/dist/likec4diagram/ui/sequence-outline/state.d.ts +0 -36
- package/dist/likec4diagram/ui/sequence-outline/state.js +0 -55
- package/dist/likec4diagram/useLayoutConstraints.d.ts +0 -54
- package/dist/likec4diagram/useLayoutConstraints.js +0 -412
- package/dist/likec4diagram/xyflow-diagram/diagram-view.d.ts +0 -18
- package/dist/likec4diagram/xyflow-diagram/diagram-view.js +0 -273
- package/dist/likec4diagram/xyflow-sequence/_types.d.ts +0 -91
- package/dist/likec4diagram/xyflow-sequence/const.d.ts +0 -17
- package/dist/likec4diagram/xyflow-sequence/const.js +0 -13
- package/dist/likec4diagram/xyflow-sequence/layouter.d.ts +0 -70
- package/dist/likec4diagram/xyflow-sequence/layouter.js +0 -564
- package/dist/likec4diagram/xyflow-sequence/sequence-view-to-xy.d.ts +0 -17
- package/dist/likec4diagram/xyflow-sequence/sequence-view-to-xy.js +0 -286
- package/dist/likec4diagram/xyflow-sequence/sequence-view.d.ts +0 -2
- package/dist/likec4diagram/xyflow-sequence/sequence-view.js +0 -144
- package/dist/likec4diagram/xyflow-sequence/utils.d.ts +0 -22
- package/dist/likec4diagram/xyflow-sequence/utils.js +0 -96
- package/dist/navigationpanel/NavigationPanel.d.ts +0 -5
- package/dist/navigationpanel/NavigationPanel.js +0 -117
- package/dist/navigationpanel/NavigationPanelControls.d.ts +0 -2
- package/dist/navigationpanel/NavigationPanelControls.js +0 -128
- package/dist/navigationpanel/NavigationPanelDropdown.d.ts +0 -2
- package/dist/navigationpanel/NavigationPanelDropdown.js +0 -398
- package/dist/navigationpanel/_common.d.ts +0 -9
- package/dist/navigationpanel/_common.js +0 -60
- package/dist/navigationpanel/actor.actions.d.ts +0 -19
- package/dist/navigationpanel/actor.actions.js +0 -45
- package/dist/navigationpanel/actor.d.ts +0 -38
- package/dist/navigationpanel/actor.js +0 -93
- package/dist/navigationpanel/actor.setup.d.ts +0 -98
- package/dist/navigationpanel/actor.setup.js +0 -31
- package/dist/navigationpanel/comparepanel/CompareActionsMenu.d.ts +0 -5
- package/dist/navigationpanel/comparepanel/CompareActionsMenu.js +0 -68
- package/dist/navigationpanel/comparepanel/ComparePanel.d.ts +0 -2
- package/dist/navigationpanel/comparepanel/ComparePanel.js +0 -139
- package/dist/navigationpanel/comparepanel/ComparePanelControls.d.ts +0 -1
- package/dist/navigationpanel/comparepanel/ComparePanelControls.js +0 -54
- package/dist/navigationpanel/comparepanel/DriftsSummary.d.ts +0 -1
- package/dist/navigationpanel/comparepanel/DriftsSummary.js +0 -218
- package/dist/navigationpanel/comparepanel/LayoutTypeSwitcher.d.ts +0 -5
- package/dist/navigationpanel/comparepanel/LayoutTypeSwitcher.js +0 -35
- package/dist/navigationpanel/comparepanel/index.d.ts +0 -1
- package/dist/navigationpanel/controls/DetailsControls.d.ts +0 -2
- package/dist/navigationpanel/controls/DetailsControls.js +0 -224
- package/dist/navigationpanel/controls/LayoutWarning.d.ts +0 -2
- package/dist/navigationpanel/controls/LayoutWarning.js +0 -92
- package/dist/navigationpanel/controls/LogoButton.d.ts +0 -1
- package/dist/navigationpanel/controls/LogoButton.js +0 -48
- package/dist/navigationpanel/controls/NavigationButtons.d.ts +0 -1
- package/dist/navigationpanel/controls/NavigationButtons.js +0 -37
- package/dist/navigationpanel/controls/OpenSource.d.ts +0 -1
- package/dist/navigationpanel/controls/OpenSource.js +0 -29
- package/dist/navigationpanel/controls/SearchControl.d.ts +0 -1
- package/dist/navigationpanel/controls/SearchControl.js +0 -53
- package/dist/navigationpanel/controls/ToggleReadonly.d.ts +0 -1
- package/dist/navigationpanel/controls/ToggleReadonly.js +0 -89
- package/dist/navigationpanel/controls/index.d.ts +0 -7
- package/dist/navigationpanel/dropdown/ProjectsMenu.d.ts +0 -2
- package/dist/navigationpanel/dropdown/ProjectsMenu.js +0 -72
- package/dist/navigationpanel/editorpanel/ApplySemanticLayout.d.ts +0 -4
- package/dist/navigationpanel/editorpanel/ApplySemanticLayout.js +0 -37
- package/dist/navigationpanel/editorpanel/CenterCamera.d.ts +0 -1
- package/dist/navigationpanel/editorpanel/CenterCamera.js +0 -19
- package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.d.ts +0 -1
- package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.js +0 -187
- package/dist/navigationpanel/editorpanel/EditorPanel.d.ts +0 -1
- package/dist/navigationpanel/editorpanel/EditorPanel.js +0 -62
- package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.d.ts +0 -4
- package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.js +0 -133
- package/dist/navigationpanel/editorpanel/ToggleReadonly.d.ts +0 -1
- package/dist/navigationpanel/editorpanel/ToggleReadonly.js +0 -22
- package/dist/navigationpanel/editorpanel/_common.d.ts +0 -3
- package/dist/navigationpanel/editorpanel/_common.js +0 -14
- package/dist/navigationpanel/editorpanel/index.d.ts +0 -1
- package/dist/navigationpanel/editorpanel/styles.d.ts +0 -8
- package/dist/navigationpanel/editorpanel/styles.js +0 -62
- package/dist/navigationpanel/hooks.d.ts +0 -35
- package/dist/navigationpanel/hooks.js +0 -30
- package/dist/navigationpanel/index.d.ts +0 -1
- package/dist/navigationpanel/styles.css.d.ts +0 -16
- package/dist/navigationpanel/styles.css.js +0 -22
- package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.d.ts +0 -1
- package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +0 -112
- package/dist/navigationpanel/walkthrough/DynamicViewControls.d.ts +0 -292
- package/dist/navigationpanel/walkthrough/DynamicViewControls.js +0 -107
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.css.d.ts +0 -2
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.d.ts +0 -2
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +0 -79
- package/dist/navigationpanel/walkthrough/index.d.ts +0 -2
- package/dist/overlays/Overlays.d.ts +0 -6
- package/dist/overlays/Overlays.js +0 -99
- package/dist/overlays/element-details/ElementDetails.d.ts +0 -6
- package/dist/overlays/element-details/ElementDetails.js +0 -25
- package/dist/overlays/element-details/ElementDetailsCard.css.d.ts +0 -16
- package/dist/overlays/element-details/ElementDetailsCard.css.js +0 -226
- package/dist/overlays/element-details/ElementDetailsCard.d.ts +0 -11
- package/dist/overlays/element-details/ElementDetailsCard.js +0 -528
- package/dist/overlays/element-details/MetadataValue.d.ts +0 -10
- package/dist/overlays/element-details/MetadataValue.js +0 -218
- package/dist/overlays/element-details/TabPanelDeployments.css.d.ts +0 -4
- package/dist/overlays/element-details/TabPanelDeployments.css.js +0 -43
- package/dist/overlays/element-details/TabPanelDeployments.d.ts +0 -7
- package/dist/overlays/element-details/TabPanelDeployments.js +0 -188
- package/dist/overlays/element-details/TabPanelRelationships.css.d.ts +0 -5
- package/dist/overlays/element-details/TabPanelRelationships.css.js +0 -71
- package/dist/overlays/element-details/TabPanelRelationships.d.ts +0 -7
- package/dist/overlays/element-details/TabPanelRelationships.js +0 -159
- package/dist/overlays/element-details/TabPanelStructure.css.d.ts +0 -2
- package/dist/overlays/element-details/TabPanelStructure.css.js +0 -32
- package/dist/overlays/element-details/TabPanelStructure.d.ts +0 -25
- package/dist/overlays/element-details/TabPanelStructure.js +0 -94
- package/dist/overlays/element-details/actor.d.ts +0 -34
- package/dist/overlays/element-details/actor.js +0 -48
- package/dist/overlays/element-details/actorContext.d.ts +0 -7
- package/dist/overlays/element-details/actorContext.js +0 -15
- package/dist/overlays/hooks.d.ts +0 -28
- package/dist/overlays/hooks.js +0 -5
- package/dist/overlays/overlay/Overlay.d.ts +0 -51
- package/dist/overlays/overlay/Overlay.js +0 -114
- package/dist/overlays/overlaysActor.d.ts +0 -49
- package/dist/overlays/overlaysActor.js +0 -225
- package/dist/overlays/relationship-details/RelationshipDetails.d.ts +0 -5
- package/dist/overlays/relationship-details/RelationshipDetails.js +0 -282
- package/dist/overlays/relationship-details/SelectEdge.css.d.ts +0 -8
- package/dist/overlays/relationship-details/SelectEdge.css.js +0 -70
- package/dist/overlays/relationship-details/SelectEdge.d.ts +0 -5
- package/dist/overlays/relationship-details/SelectEdge.js +0 -148
- package/dist/overlays/relationship-details/_types.d.ts +0 -57
- package/dist/overlays/relationship-details/actor.d.ts +0 -109
- package/dist/overlays/relationship-details/actor.js +0 -248
- package/dist/overlays/relationship-details/compute.d.ts +0 -13
- package/dist/overlays/relationship-details/compute.js +0 -114
- package/dist/overlays/relationship-details/custom/ElementActions.d.ts +0 -2
- package/dist/overlays/relationship-details/custom/ElementActions.js +0 -45
- package/dist/overlays/relationship-details/custom/edgeTypes.d.ts +0 -3
- package/dist/overlays/relationship-details/custom/edgeTypes.js +0 -45
- package/dist/overlays/relationship-details/custom/index.d.ts +0 -2
- package/dist/overlays/relationship-details/custom/nodeTypes.d.ts +0 -9
- package/dist/overlays/relationship-details/custom/nodeTypes.js +0 -99
- package/dist/overlays/relationship-details/custom/styles.css.d.ts +0 -1
- package/dist/overlays/relationship-details/hooks.d.ts +0 -40
- package/dist/overlays/relationship-details/hooks.js +0 -52
- package/dist/overlays/relationship-details/layout-to-xyflow.d.ts +0 -12
- package/dist/overlays/relationship-details/layout-to-xyflow.js +0 -122
- package/dist/overlays/relationship-details/layout.d.ts +0 -25
- package/dist/overlays/relationship-details/layout.js +0 -285
- package/dist/overlays/relationships-browser/RelationshipsBrowser.d.ts +0 -5
- package/dist/overlays/relationships-browser/RelationshipsBrowser.js +0 -334
- package/dist/overlays/relationships-browser/SelectElement.css.d.ts +0 -3
- package/dist/overlays/relationships-browser/SelectElement.css.js +0 -19
- package/dist/overlays/relationships-browser/SelectElement.d.ts +0 -2
- package/dist/overlays/relationships-browser/SelectElement.js +0 -195
- package/dist/overlays/relationships-browser/_types.d.ts +0 -64
- package/dist/overlays/relationships-browser/actor.d.ts +0 -113
- package/dist/overlays/relationships-browser/actor.js +0 -376
- package/dist/overlays/relationships-browser/const.d.ts +0 -6
- package/dist/overlays/relationships-browser/const.js +0 -9
- package/dist/overlays/relationships-browser/custom/ElementActions.d.ts +0 -2
- package/dist/overlays/relationships-browser/custom/ElementActions.js +0 -63
- package/dist/overlays/relationships-browser/custom/EmptyNode.d.ts +0 -2
- package/dist/overlays/relationships-browser/custom/EmptyNode.js +0 -27
- package/dist/overlays/relationships-browser/custom/edgeTypes.d.ts +0 -3
- package/dist/overlays/relationships-browser/custom/edgeTypes.js +0 -68
- package/dist/overlays/relationships-browser/custom/index.d.ts +0 -3
- package/dist/overlays/relationships-browser/custom/nodeTypes.d.ts +0 -9
- package/dist/overlays/relationships-browser/custom/nodeTypes.js +0 -106
- package/dist/overlays/relationships-browser/hooks.d.ts +0 -18
- package/dist/overlays/relationships-browser/hooks.js +0 -56
- package/dist/overlays/relationships-browser/layout.d.ts +0 -29
- package/dist/overlays/relationships-browser/layout.js +0 -426
- package/dist/overlays/relationships-browser/useViewToNodesEdges.d.ts +0 -10
- package/dist/overlays/relationships-browser/useViewToNodesEdges.js +0 -144
- package/dist/overlays/types.d.ts +0 -28
- package/dist/projects-overview/ProjectsOverview.d.ts +0 -13
- package/dist/projects-overview/ProjectsOverview.js +0 -59
- package/dist/projects-overview/ProjectsOverviewXY.d.ts +0 -13
- package/dist/projects-overview/ProjectsOverviewXY.js +0 -109
- package/dist/projects-overview/_types.d.ts +0 -34
- package/dist/projects-overview/actor.d.ts +0 -115
- package/dist/projects-overview/actor.js +0 -266
- package/dist/projects-overview/context.d.ts +0 -4
- package/dist/projects-overview/context.js +0 -11
- package/dist/projects-overview/custom/edgeTypes.d.ts +0 -3
- package/dist/projects-overview/custom/edgeTypes.js +0 -24
- package/dist/projects-overview/custom/index.d.ts +0 -2
- package/dist/projects-overview/custom/nodeTypes.d.ts +0 -2
- package/dist/projects-overview/custom/nodeTypes.js +0 -41
- package/dist/projects-overview/custom/styles.css.d.ts +0 -1
- package/dist/projects-overview/hooks.d.ts +0 -5
- package/dist/projects-overview/hooks.js +0 -15
- package/dist/projects-overview/index.d.ts +0 -1
- package/dist/projects-overview/layouted-to-xyflow.d.ts +0 -6
- package/dist/projects-overview/layouted-to-xyflow.js +0 -53
- package/dist/projects-overview/panel/ProjectsOverviewPanel.d.ts +0 -1
- package/dist/projects-overview/panel/ProjectsOverviewPanel.js +0 -9
- package/dist/projects-overview/persistence.d.ts +0 -5
- package/dist/projects-overview/persistence.js +0 -24
- package/dist/search/Search.d.ts +0 -13
- package/dist/search/Search.js +0 -197
- package/dist/search/SearchContext.d.ts +0 -21
- package/dist/search/SearchContext.js +0 -21
- package/dist/search/XStateSearchAdapter.d.ts +0 -5
- package/dist/search/XStateSearchAdapter.js +0 -70
- package/dist/search/components/ElementsColumn.css.d.ts +0 -10
- package/dist/search/components/ElementsColumn.css.js +0 -51
- package/dist/search/components/ElementsColumn.d.ts +0 -2
- package/dist/search/components/ElementsColumn.js +0 -261
- package/dist/search/components/PickView.d.ts +0 -4
- package/dist/search/components/PickView.js +0 -118
- package/dist/search/components/SearchByTags.d.ts +0 -1
- package/dist/search/components/SearchByTags.js +0 -79
- package/dist/search/components/SearchInput.d.ts +0 -2
- package/dist/search/components/SearchInput.js +0 -191
- package/dist/search/components/ViewsColum.d.ts +0 -13
- package/dist/search/components/ViewsColum.js +0 -158
- package/dist/search/components/ViewsColumn.css.d.ts +0 -3
- package/dist/search/components/ViewsColumn.css.js +0 -15
- package/dist/search/components/_shared.css.d.ts +0 -4
- package/dist/search/components/_shared.css.js +0 -136
- package/dist/search/components/styles.css.d.ts +0 -6
- package/dist/search/components/styles.css.js +0 -54
- package/dist/search/components/utils.d.ts +0 -11
- package/dist/search/components/utils.js +0 -55
- package/dist/search/hooks.d.ts +0 -3
- package/dist/search/hooks.js +0 -16
- package/dist/search/searchActor.d.ts +0 -37
- package/dist/search/searchActor.js +0 -100
- package/dist/shadowroot/ShadowRoot.d.ts +0 -17
- package/dist/shadowroot/ShadowRoot.js +0 -198
- package/dist/shadowroot/index.d.ts +0 -1
- package/dist/styles-font2.js +0 -4
- package/dist/styles2.js +0 -4
- package/dist/utils/css.d.ts +0 -1
- package/dist/utils/defineActors.d.ts +0 -21
- package/dist/utils/defineActors.js +0 -13
- package/dist/utils/index.d.ts +0 -6
- package/dist/utils/index.js +0 -6
- package/dist/utils/readableText.d.ts +0 -11
- package/dist/utils/readableText.js +0 -18
- package/dist/utils/roundDpr.d.ts +0 -1
- package/dist/utils/roundDpr.js +0 -24
- package/dist/utils/view-bounds.d.ts +0 -9
- package/dist/utils/view-bounds.js +0 -55
- package/dist/utils/xyflow.d.ts +0 -88
- package/dist/utils/xyflow.js +0 -161
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { stopPropagation } from "../../utils/xyflow.js";
|
|
3
|
-
import { compoundActionBtn } from "./actionbtns.css.js";
|
|
4
|
-
import { cx } from "@likec4/styles/css";
|
|
5
|
-
import { IconZoomScan } from "@tabler/icons-react";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import { ActionIcon } from "@mantine/core";
|
|
8
|
-
import { useDebouncedValue } from "@mantine/hooks";
|
|
9
|
-
import * as m from "motion/react-m";
|
|
10
|
-
import { actionBtn } from "@likec4/styles/recipes";
|
|
11
|
-
//#region src/base-primitives/compound/CompoundActionButton.tsx
|
|
12
|
-
var variants = {
|
|
13
|
-
normal: {
|
|
14
|
-
scale: 1,
|
|
15
|
-
x: 0,
|
|
16
|
-
y: 0
|
|
17
|
-
},
|
|
18
|
-
hovered: {
|
|
19
|
-
scale: 1.2,
|
|
20
|
-
x: -1,
|
|
21
|
-
y: -1
|
|
22
|
-
},
|
|
23
|
-
whileHover: {
|
|
24
|
-
scale: 1.4,
|
|
25
|
-
x: -3,
|
|
26
|
-
y: -1
|
|
27
|
-
},
|
|
28
|
-
whileTap: { scale: 1 }
|
|
29
|
-
};
|
|
30
|
-
function CompoundActionButton({ selected = false, data: { hovered: isHovered = false }, icon, ariaLabel = "Navigate to view", onClick }) {
|
|
31
|
-
const isHoverDebounced = useDebouncedValue(isHovered, isHovered ? 130 : 0)[0] && isHovered;
|
|
32
|
-
const isActionVisible = selected || isHoverDebounced;
|
|
33
|
-
let variant = isHoverDebounced ? "hovered" : "normal";
|
|
34
|
-
return /* @__PURE__ */ jsx(m.div, {
|
|
35
|
-
initial: false,
|
|
36
|
-
variants,
|
|
37
|
-
animate: variant,
|
|
38
|
-
whileHover: "whileHover",
|
|
39
|
-
whileTap: "whileTap",
|
|
40
|
-
className: "likec4-compound-navigation compound-action",
|
|
41
|
-
onClick: stopPropagation,
|
|
42
|
-
tabIndex: -1,
|
|
43
|
-
children: /* @__PURE__ */ jsx(ActionIcon, {
|
|
44
|
-
className: cx("nodrag nopan", compoundActionBtn({ delay: isHovered && !isHoverDebounced }), actionBtn({ variant: "transparent" })),
|
|
45
|
-
tabIndex: isActionVisible ? 0 : -1,
|
|
46
|
-
inert: isActionVisible ? void 0 : true,
|
|
47
|
-
"aria-label": ariaLabel,
|
|
48
|
-
onClick,
|
|
49
|
-
onDoubleClick: stopPropagation,
|
|
50
|
-
children: icon ?? /* @__PURE__ */ jsx(IconZoomScan, { stroke: 2 })
|
|
51
|
-
})
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
//#endregion
|
|
55
|
-
export { CompoundActionButton };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MouseEvent as ReactMouseEvent, ReactNode } from 'react';
|
|
2
|
-
import { Simplify } from 'type-fest';
|
|
3
|
-
import { BaseNodeProps } from '../../base/types';
|
|
4
|
-
type CompoundDetailsButtonProps = Simplify<BaseNodeProps & {
|
|
5
|
-
icon?: ReactNode;
|
|
6
|
-
ariaLabel?: string;
|
|
7
|
-
onClick: (e: ReactMouseEvent) => void;
|
|
8
|
-
}>;
|
|
9
|
-
export declare function CompoundDetailsButton({ selected, data: { hovered: isHovered, }, icon, ariaLabel, onClick, }: CompoundDetailsButtonProps): import("react").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { stopPropagation } from "../../utils/xyflow.js";
|
|
3
|
-
import { compoundActionBtn } from "./actionbtns.css.js";
|
|
4
|
-
import { cx } from "@likec4/styles/css";
|
|
5
|
-
import { IconId } from "@tabler/icons-react";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import { ActionIcon } from "@mantine/core";
|
|
8
|
-
import { useDebouncedValue } from "@mantine/hooks";
|
|
9
|
-
import * as m from "motion/react-m";
|
|
10
|
-
import { actionBtn } from "@likec4/styles/recipes";
|
|
11
|
-
//#region src/base-primitives/compound/CompoundDetailsButton.tsx
|
|
12
|
-
var variants = {
|
|
13
|
-
normal: { scale: 1 },
|
|
14
|
-
hovered: { scale: 1.2 },
|
|
15
|
-
whileHover: { scale: 1.4 },
|
|
16
|
-
whileTap: { scale: 1 }
|
|
17
|
-
};
|
|
18
|
-
function CompoundDetailsButton({ selected = false, data: { hovered: isHovered = false }, icon, ariaLabel = "Open details", onClick }) {
|
|
19
|
-
const isHoverDebounced = useDebouncedValue(isHovered, isHovered ? 130 : 0)[0] && isHovered;
|
|
20
|
-
const isActionVisible = selected || isHoverDebounced;
|
|
21
|
-
const variant = isHoverDebounced ? "hovered" : "normal";
|
|
22
|
-
return /* @__PURE__ */ jsx(m.div, {
|
|
23
|
-
initial: false,
|
|
24
|
-
variants,
|
|
25
|
-
animate: variant,
|
|
26
|
-
whileHover: "whileHover",
|
|
27
|
-
whileTap: "whileTap",
|
|
28
|
-
className: "likec4-compound-details details-button",
|
|
29
|
-
tabIndex: -1,
|
|
30
|
-
children: /* @__PURE__ */ jsx(ActionIcon, {
|
|
31
|
-
className: cx("nodrag nopan", compoundActionBtn({ delay: isHovered && !isHoverDebounced }), actionBtn({ variant: "transparent" })),
|
|
32
|
-
tabIndex: isActionVisible ? 0 : -1,
|
|
33
|
-
inert: isActionVisible ? void 0 : true,
|
|
34
|
-
"aria-label": ariaLabel,
|
|
35
|
-
onClick,
|
|
36
|
-
onDoubleClick: stopPropagation,
|
|
37
|
-
children: icon ?? /* @__PURE__ */ jsx(IconId, {
|
|
38
|
-
stroke: 1.8,
|
|
39
|
-
style: { width: "75%" }
|
|
40
|
-
})
|
|
41
|
-
})
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
export { CompoundDetailsButton };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Color, ElementStyle } from '@likec4/core/types';
|
|
2
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
3
|
-
import { BaseNode, BaseNodeProps } from '../../base/types';
|
|
4
|
-
export type RequiredData = {
|
|
5
|
-
color: Color;
|
|
6
|
-
depth: number;
|
|
7
|
-
style: ElementStyle;
|
|
8
|
-
};
|
|
9
|
-
type CompoundNodeContainerProps = PropsWithChildren<HTMLAttributes<HTMLDivElement> & {
|
|
10
|
-
layout?: boolean | 'position' | 'size' | 'preserve-aspect';
|
|
11
|
-
layoutId?: string | undefined;
|
|
12
|
-
nodeProps: BaseNodeProps<BaseNode<RequiredData>>;
|
|
13
|
-
}>;
|
|
14
|
-
export declare function CompoundNodeContainer({ nodeProps: { data: { hovered: isHovered, dimmed: isDimmed, ...data }, }, className, children, style, ...rest }: CompoundNodeContainerProps): import("react").JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { useLikeC4Styles } from "../../hooks/useLikeC4Styles.js";
|
|
3
|
-
import { cx } from "@likec4/styles/css";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { clamp } from "remeda";
|
|
6
|
-
import * as m from "motion/react-m";
|
|
7
|
-
import { compoundNode } from "@likec4/styles/recipes";
|
|
8
|
-
//#region src/base-primitives/compound/CompoundNodeContainer.tsx
|
|
9
|
-
function CompoundNodeContainer({ nodeProps: { data: { hovered: isHovered = false, dimmed: isDimmed = false, ...data } }, className, children, style, ...rest }) {
|
|
10
|
-
const styles = useLikeC4Styles();
|
|
11
|
-
let opacity = clamp(data.style.opacity ?? 100, {
|
|
12
|
-
min: 0,
|
|
13
|
-
max: 100
|
|
14
|
-
});
|
|
15
|
-
const isTransparent = opacity < 98;
|
|
16
|
-
const borderOpacity = 50 + clamp(50 * (opacity / 100), {
|
|
17
|
-
min: 0,
|
|
18
|
-
max: 50
|
|
19
|
-
});
|
|
20
|
-
const compoundClass = compoundNode({
|
|
21
|
-
isTransparent,
|
|
22
|
-
inverseColor: opacity < 70,
|
|
23
|
-
borderStyle: data.style.border ?? (isTransparent ? styles.defaults.group.border : "none")
|
|
24
|
-
});
|
|
25
|
-
const depth = clamp(data.depth ?? 1, {
|
|
26
|
-
min: 1,
|
|
27
|
-
max: 5
|
|
28
|
-
});
|
|
29
|
-
return /* @__PURE__ */ jsx(m.div, {
|
|
30
|
-
className: cx(compoundClass, className),
|
|
31
|
-
initial: false,
|
|
32
|
-
"data-likec4-hovered": isHovered,
|
|
33
|
-
"data-likec4-color": data.color,
|
|
34
|
-
"data-compound-depth": depth,
|
|
35
|
-
...isDimmed !== false && { "data-likec4-dimmed": isDimmed },
|
|
36
|
-
tabIndex: -1,
|
|
37
|
-
animate: {
|
|
38
|
-
["--_border-transparency"]: `${borderOpacity}%`,
|
|
39
|
-
["--_compound-transparency"]: `${opacity}%`
|
|
40
|
-
},
|
|
41
|
-
style,
|
|
42
|
-
...rest,
|
|
43
|
-
children
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
//#endregion
|
|
47
|
-
export { CompoundNodeContainer };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Color, ComputedNodeStyle, NodeId } from '@likec4/core/types';
|
|
2
|
-
type RequiredData = {
|
|
3
|
-
id: NodeId;
|
|
4
|
-
title: string;
|
|
5
|
-
color: Color;
|
|
6
|
-
style: ComputedNodeStyle;
|
|
7
|
-
icon?: string | null;
|
|
8
|
-
};
|
|
9
|
-
type CompoundTitleProps = {
|
|
10
|
-
data: RequiredData;
|
|
11
|
-
/**
|
|
12
|
-
* Opt-in: hide the title from assistive technologies. The main diagram sets
|
|
13
|
-
* this because the compound node's accessible label already conveys the
|
|
14
|
-
* title, so re-exposing it here would cause a duplicate announcement.
|
|
15
|
-
*/
|
|
16
|
-
'aria-hidden'?: boolean | undefined;
|
|
17
|
-
};
|
|
18
|
-
export declare function CompoundTitle({ data, 'aria-hidden': ariaHidden }: CompoundTitleProps): import("react").JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { IconRenderer } from "../../context/IconRenderer.js";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
//#region src/base-primitives/compound/CompoundTitle.tsx
|
|
5
|
-
function CompoundTitle({ data, "aria-hidden": ariaHidden }) {
|
|
6
|
-
const elementIcon = IconRenderer({
|
|
7
|
-
element: data,
|
|
8
|
-
className: "likec4-compound-icon"
|
|
9
|
-
});
|
|
10
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
11
|
-
className: "likec4-compound-title-container",
|
|
12
|
-
"aria-hidden": ariaHidden,
|
|
13
|
-
children: [elementIcon, /* @__PURE__ */ jsx("div", {
|
|
14
|
-
className: "likec4-compound-title",
|
|
15
|
-
children: data.title
|
|
16
|
-
})]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
20
|
-
export { CompoundTitle };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { cva } from "@likec4/styles/css";
|
|
2
|
-
//#region src/base-primitives/compound/actionbtns.css.ts
|
|
3
|
-
var compoundActionBtn = cva({
|
|
4
|
-
base: { transitionDuration: "normal" },
|
|
5
|
-
variants: { delay: { true: { transitionDelay: {
|
|
6
|
-
base: "0.2s",
|
|
7
|
-
_hover: "0s"
|
|
8
|
-
} } } }
|
|
9
|
-
});
|
|
10
|
-
//#endregion
|
|
11
|
-
export { compoundActionBtn };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MouseEvent as ReactMouseEvent, ReactNode } from 'react';
|
|
2
|
-
type EdgeActionBtnProps = {
|
|
3
|
-
icon?: ReactNode;
|
|
4
|
-
ariaLabel?: string;
|
|
5
|
-
onClick: (e: ReactMouseEvent) => void;
|
|
6
|
-
};
|
|
7
|
-
export declare function EdgeActionButton({ icon, ariaLabel, onClick }: EdgeActionBtnProps): import("react").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { stopPropagation } from "../../utils/xyflow.js";
|
|
3
|
-
import { cx } from "@likec4/styles/css";
|
|
4
|
-
import { IconZoomScan } from "@tabler/icons-react";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { ActionIcon } from "@mantine/core";
|
|
7
|
-
import { edgeActionBtn } from "@likec4/styles/recipes";
|
|
8
|
-
//#region src/base-primitives/edge/EdgeActionButton.tsx
|
|
9
|
-
function EdgeActionButton({ icon, ariaLabel = "Navigate to view", onClick }) {
|
|
10
|
-
return /* @__PURE__ */ jsx(ActionIcon, {
|
|
11
|
-
className: cx("nodrag nopan", edgeActionBtn()),
|
|
12
|
-
onPointerDownCapture: stopPropagation,
|
|
13
|
-
onClick,
|
|
14
|
-
role: "button",
|
|
15
|
-
"aria-label": ariaLabel,
|
|
16
|
-
onDoubleClick: stopPropagation,
|
|
17
|
-
children: icon ?? /* @__PURE__ */ jsx(IconZoomScan, {})
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { EdgeActionButton };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DiagramEdge } from '@likec4/core/types';
|
|
2
|
-
import { PropsWithChildren } from 'react';
|
|
3
|
-
import { UndefinedOnPartialDeep } from 'type-fest';
|
|
4
|
-
import { BaseEdgePropsWithData } from '../../base/types';
|
|
5
|
-
type Data = UndefinedOnPartialDeep<Pick<DiagramEdge, 'dir' | 'color'>>;
|
|
6
|
-
type EdgeContainerProps = PropsWithChildren<BaseEdgePropsWithData<Data> & {
|
|
7
|
-
component?: 'g' | 'svg' | undefined;
|
|
8
|
-
className?: string | undefined;
|
|
9
|
-
}>;
|
|
10
|
-
export declare function EdgeContainer({ className, component, selectable, selected, data: { color, hovered: isHovered, active: isActive, dimmed: isDimmed, ...data }, animated, children, style, ...rest }: EdgeContainerProps): import("react").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { cx } from "@likec4/styles/css";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { pickBy } from "remeda";
|
|
5
|
-
import { invariant } from "@likec4/core";
|
|
6
|
-
//#region src/base-primitives/edge/EdgeContainer.tsx
|
|
7
|
-
function EdgeContainer({ className, component = "g", selectable = false, selected = false, data: { color = "gray", hovered: isHovered = false, active: isActive = false, dimmed: isDimmed = false, ...data }, animated = false, children, style, ...rest }) {
|
|
8
|
-
animated = animated || isActive;
|
|
9
|
-
const props = {
|
|
10
|
-
className: cx(className, "likec4-edge-container", selected && "selected", selectable && "selectable"),
|
|
11
|
-
"data-likec4-color": color,
|
|
12
|
-
"data-edge-dir": data.dir ?? "forward",
|
|
13
|
-
"data-edge-active": isActive,
|
|
14
|
-
"data-likec4-hovered": isHovered,
|
|
15
|
-
...animated && { "data-likec4-animated": animated },
|
|
16
|
-
...selected && { "data-likec4-selected": selected },
|
|
17
|
-
...isDimmed !== false && { "data-likec4-dimmed": isDimmed },
|
|
18
|
-
...pickBy(rest, (value, key) => value !== void 0 && key.startsWith("data-"))
|
|
19
|
-
};
|
|
20
|
-
if (component === "svg") return /* @__PURE__ */ jsx("svg", {
|
|
21
|
-
style,
|
|
22
|
-
...props,
|
|
23
|
-
children
|
|
24
|
-
});
|
|
25
|
-
invariant(component === "g", "EdgeContainer: component must be \"g\" or \"svg\"");
|
|
26
|
-
return /* @__PURE__ */ jsx("g", {
|
|
27
|
-
style,
|
|
28
|
-
...props,
|
|
29
|
-
children
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
export { EdgeContainer };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DiagramEdge } from '@likec4/core/types';
|
|
2
|
-
import { HTMLMotionProps } from 'motion/react';
|
|
3
|
-
import { ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
4
|
-
import { UndefinedOnPartialDeep } from 'type-fest';
|
|
5
|
-
import { BaseEdgePropsWithData } from '../../base/types';
|
|
6
|
-
type Data = UndefinedOnPartialDeep<Pick<DiagramEdge, 'label' | 'technology'>>;
|
|
7
|
-
type EdgeLabelProps = HTMLMotionProps<'div'> & {
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
edgeProps: BaseEdgePropsWithData<Data>;
|
|
10
|
-
isSequenceStep?: boolean;
|
|
11
|
-
stepNum?: number;
|
|
12
|
-
pointerEvents?: 'all' | 'none';
|
|
13
|
-
};
|
|
14
|
-
export declare const EdgeLabel: ForwardRefExoticComponent<Omit<EdgeLabelProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
15
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { cx } from "@likec4/styles/css";
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { isTruthy } from "remeda";
|
|
6
|
-
import { Box } from "@likec4/styles/jsx";
|
|
7
|
-
import * as m from "motion/react-m";
|
|
8
|
-
import { edgeLabel } from "@likec4/styles/recipes";
|
|
9
|
-
//#region src/base-primitives/edge/EdgeLabel.tsx
|
|
10
|
-
var EdgeLabel = forwardRef(({ edgeProps: { id, data: { label, technology, hovered: isHovered = false }, selected = false, selectable = false }, isSequenceStep: isStepEdge = false, stepNum, pointerEvents = "all", className, children, ...rest }, ref) => {
|
|
11
|
-
const hasLabel = isTruthy(label) || isTruthy(technology);
|
|
12
|
-
return /* @__PURE__ */ jsxs(m.div, {
|
|
13
|
-
ref,
|
|
14
|
-
className: cx("likec4-edge-label", edgeLabel({
|
|
15
|
-
pointerEvents,
|
|
16
|
-
isStepEdge,
|
|
17
|
-
cursor: selectable || isStepEdge ? "pointer" : "default"
|
|
18
|
-
}), className),
|
|
19
|
-
"data-edge-id": id,
|
|
20
|
-
animate: { scale: isHovered && !selected ? 1.06 : 1 },
|
|
21
|
-
...rest,
|
|
22
|
-
children: [isStepEdge && stepNum && /* @__PURE__ */ jsx(Box, {
|
|
23
|
-
className: "likec4-edge-label__step-number",
|
|
24
|
-
children: stepNum
|
|
25
|
-
}), hasLabel && /* @__PURE__ */ jsxs(Box, {
|
|
26
|
-
className: "likec4-edge-label__contents",
|
|
27
|
-
children: [
|
|
28
|
-
isTruthy(label) && /* @__PURE__ */ jsx(Box, {
|
|
29
|
-
lineClamp: 5,
|
|
30
|
-
className: "likec4-edge-label__text",
|
|
31
|
-
children: label
|
|
32
|
-
}),
|
|
33
|
-
isTruthy(technology) && /* @__PURE__ */ jsx(Box, {
|
|
34
|
-
className: "likec4-edge-label__technology",
|
|
35
|
-
children: "[ " + technology + " ]"
|
|
36
|
-
}),
|
|
37
|
-
children
|
|
38
|
-
]
|
|
39
|
-
})]
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
EdgeLabel.displayName = "EdgeLabel";
|
|
43
|
-
//#endregion
|
|
44
|
-
export { EdgeLabel };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { DiagramEdge } from '@likec4/core/types';
|
|
2
|
-
import { HTMLAttributes } from 'react';
|
|
3
|
-
import { UndefinedOnPartialDeep } from 'type-fest';
|
|
4
|
-
import { BaseEdgePropsWithData } from '../../base/types';
|
|
5
|
-
type Data = UndefinedOnPartialDeep<Pick<DiagramEdge, 'labelBBox' | 'color'>>;
|
|
6
|
-
type EdgeLabelContainerProps = HTMLAttributes<HTMLDivElement> & {
|
|
7
|
-
/**
|
|
8
|
-
* label position with optional translate
|
|
9
|
-
*/
|
|
10
|
-
labelPosition?: {
|
|
11
|
-
x?: number | undefined;
|
|
12
|
-
y?: number | undefined;
|
|
13
|
-
translate?: string | undefined;
|
|
14
|
-
} | undefined;
|
|
15
|
-
edgeProps: BaseEdgePropsWithData<Data>;
|
|
16
|
-
};
|
|
17
|
-
export declare function EdgeLabelContainer({ edgeProps: { id, selected, data: { hovered: isHovered, active: isActive, dimmed: isDimmed, labelBBox, color, }, animated, }, labelPosition: labelXY, className, style: contentStyle, // applied to inner content div, not the positioned container
|
|
18
|
-
children, ...rest }: EdgeLabelContainerProps): import("react").JSX.Element | null;
|
|
19
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { cx } from "@likec4/styles/css";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { EdgeLabelRenderer } from "@xyflow/react";
|
|
5
|
-
import { isNumber } from "remeda";
|
|
6
|
-
//#region src/base-primitives/edge/EdgeLabelContainer.tsx
|
|
7
|
-
var toCssVarValue = (value) => {
|
|
8
|
-
if (value === void 0) return "";
|
|
9
|
-
return isNumber(value) ? `${Math.trunc(value)}px` : value;
|
|
10
|
-
};
|
|
11
|
-
function EdgeLabelContainer({ edgeProps: { id, selected = false, data: { hovered: isHovered = false, active: isActive = false, dimmed: isDimmed = false, labelBBox, color = "gray" }, animated }, labelPosition: labelXY, className, style: contentStyle, children, ...rest }) {
|
|
12
|
-
let labelX = labelXY?.x ?? labelBBox?.x;
|
|
13
|
-
let labelY = labelXY?.y ?? labelBBox?.y;
|
|
14
|
-
if (labelX === void 0 || labelY === void 0) return null;
|
|
15
|
-
const translate = labelXY?.translate ?? "";
|
|
16
|
-
animated = animated || isActive;
|
|
17
|
-
return /* @__PURE__ */ jsx(EdgeLabelRenderer, { children: /* @__PURE__ */ jsx("div", {
|
|
18
|
-
...rest,
|
|
19
|
-
className: cx("nodrag nopan", "likec4-edge-label-container", className),
|
|
20
|
-
"data-likec4-hovered": isHovered,
|
|
21
|
-
"data-likec4-color": color,
|
|
22
|
-
"data-edge-active": isActive,
|
|
23
|
-
"data-edge-animated": animated || isActive,
|
|
24
|
-
...animated && { "data-likec4-animated": animated },
|
|
25
|
-
...selected !== false && { "data-likec4-selected": selected },
|
|
26
|
-
...isDimmed !== false && { "data-likec4-dimmed": isDimmed },
|
|
27
|
-
style: { transform: `translate(${toCssVarValue(labelX)}, ${toCssVarValue(labelY)}) ${translate}` },
|
|
28
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
29
|
-
style: {
|
|
30
|
-
...contentStyle,
|
|
31
|
-
...labelBBox && { maxWidth: labelBBox.width + 20 }
|
|
32
|
-
},
|
|
33
|
-
children
|
|
34
|
-
})
|
|
35
|
-
}, id) });
|
|
36
|
-
}
|
|
37
|
-
//#endregion
|
|
38
|
-
export { EdgeLabelContainer };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { RelationshipArrowType } from '@likec4/core/types';
|
|
2
|
-
import { SVGProps } from 'react';
|
|
3
|
-
export declare const EdgeMarkers: {
|
|
4
|
-
Arrow: (props: SVGProps<SVGMarkerElement>) => import("react").JSX.Element;
|
|
5
|
-
Crow: (props: SVGProps<SVGMarkerElement>) => import("react").JSX.Element;
|
|
6
|
-
OArrow: (props: SVGProps<SVGMarkerElement>) => import("react").JSX.Element;
|
|
7
|
-
Open: (props: SVGProps<SVGMarkerElement>) => import("react").JSX.Element;
|
|
8
|
-
Diamond: (props: SVGProps<SVGMarkerElement>) => import("react").JSX.Element;
|
|
9
|
-
ODiamond: (props: SVGProps<SVGMarkerElement>) => import("react").JSX.Element;
|
|
10
|
-
Dot: (props: SVGProps<SVGMarkerElement>) => import("react").JSX.Element;
|
|
11
|
-
ODot: (props: SVGProps<SVGMarkerElement>) => import("react").JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
export type EdgeMarkerType = keyof typeof EdgeMarkers;
|
|
14
|
-
export declare function arrowTypeToMarker(arrowType?: RelationshipArrowType): EdgeMarkerType | undefined;
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { nonexhaustive } from "@likec4/core";
|
|
4
|
-
//#region src/base-primitives/edge/EdgeMarkers.tsx
|
|
5
|
-
var Open = (props) => /* @__PURE__ */ jsx("marker", {
|
|
6
|
-
viewBox: "-4 -4 14 16",
|
|
7
|
-
refX: 5,
|
|
8
|
-
refY: 4,
|
|
9
|
-
markerWidth: "7",
|
|
10
|
-
markerHeight: "8",
|
|
11
|
-
preserveAspectRatio: "xMaxYMid meet",
|
|
12
|
-
orient: "auto-start-reverse",
|
|
13
|
-
...props,
|
|
14
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
15
|
-
d: "M0,0 L7,4 L0,8 L4,4 Z",
|
|
16
|
-
stroke: "context-stroke",
|
|
17
|
-
fill: "context-stroke",
|
|
18
|
-
strokeDasharray: 0,
|
|
19
|
-
strokeWidth: 1,
|
|
20
|
-
strokeLinecap: "round"
|
|
21
|
-
})
|
|
22
|
-
});
|
|
23
|
-
var Arrow = (props) => /* @__PURE__ */ jsx("marker", {
|
|
24
|
-
viewBox: "-1 -1 12 10",
|
|
25
|
-
refX: 4,
|
|
26
|
-
refY: 3,
|
|
27
|
-
markerWidth: "8",
|
|
28
|
-
markerHeight: "6",
|
|
29
|
-
preserveAspectRatio: "xMaxYMid meet",
|
|
30
|
-
orient: "auto-start-reverse",
|
|
31
|
-
...props,
|
|
32
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
33
|
-
d: "M 0 0 L 8 3 L 0 6 L 1 3 z",
|
|
34
|
-
fill: "context-stroke",
|
|
35
|
-
strokeWidth: 0
|
|
36
|
-
})
|
|
37
|
-
});
|
|
38
|
-
var Crow = (props) => /* @__PURE__ */ jsx("marker", {
|
|
39
|
-
viewBox: "-1 -1 12 12",
|
|
40
|
-
refX: 8,
|
|
41
|
-
refY: 4,
|
|
42
|
-
markerWidth: "8",
|
|
43
|
-
markerHeight: "8",
|
|
44
|
-
preserveAspectRatio: "xMaxYMid meet",
|
|
45
|
-
orient: "auto-start-reverse",
|
|
46
|
-
...props,
|
|
47
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
48
|
-
d: "M 8 0 L 0 4 L 8 8 M 8 4 L 0 4",
|
|
49
|
-
fill: "none",
|
|
50
|
-
strokeWidth: 1
|
|
51
|
-
})
|
|
52
|
-
});
|
|
53
|
-
var OArrow = (props) => /* @__PURE__ */ jsx("marker", {
|
|
54
|
-
viewBox: "-1 -1 12 10",
|
|
55
|
-
refX: 4,
|
|
56
|
-
refY: 3,
|
|
57
|
-
markerWidth: "8",
|
|
58
|
-
markerHeight: "6",
|
|
59
|
-
preserveAspectRatio: "xMaxYMid meet",
|
|
60
|
-
orient: "auto-start-reverse",
|
|
61
|
-
...props,
|
|
62
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
63
|
-
d: "M 0 0 L 8 3 L 0 6 L 1 3 z",
|
|
64
|
-
stroke: "context-stroke",
|
|
65
|
-
fill: "var(--likec4-background-color)",
|
|
66
|
-
strokeWidth: 1.25,
|
|
67
|
-
strokeLinejoin: "miter",
|
|
68
|
-
strokeLinecap: "square"
|
|
69
|
-
})
|
|
70
|
-
});
|
|
71
|
-
var Diamond = (props) => /* @__PURE__ */ jsx("marker", {
|
|
72
|
-
viewBox: "-4 -4 16 14",
|
|
73
|
-
refX: 5,
|
|
74
|
-
refY: 4,
|
|
75
|
-
markerWidth: "10",
|
|
76
|
-
markerHeight: "8",
|
|
77
|
-
preserveAspectRatio: "xMaxYMid meet",
|
|
78
|
-
orient: "auto-start-reverse",
|
|
79
|
-
...props,
|
|
80
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
81
|
-
d: "M5,0 L10,4 L5,8 L0,4 Z",
|
|
82
|
-
fill: "context-stroke",
|
|
83
|
-
strokeWidth: 0,
|
|
84
|
-
strokeLinecap: "round"
|
|
85
|
-
})
|
|
86
|
-
});
|
|
87
|
-
var ODiamond = (props) => /* @__PURE__ */ jsx("marker", {
|
|
88
|
-
viewBox: "-4 -4 16 14",
|
|
89
|
-
refX: 6,
|
|
90
|
-
refY: 4,
|
|
91
|
-
markerWidth: "10",
|
|
92
|
-
markerHeight: "8",
|
|
93
|
-
preserveAspectRatio: "xMaxYMid meet",
|
|
94
|
-
orient: "auto-start-reverse",
|
|
95
|
-
...props,
|
|
96
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
97
|
-
d: "M5,0 L10,4 L5,8 L0,4 Z",
|
|
98
|
-
stroke: "context-stroke",
|
|
99
|
-
fill: "var(--likec4-background-color)",
|
|
100
|
-
strokeWidth: 1.25,
|
|
101
|
-
strokeLinecap: "round"
|
|
102
|
-
})
|
|
103
|
-
});
|
|
104
|
-
var Dot = (props) => /* @__PURE__ */ jsx("marker", {
|
|
105
|
-
viewBox: "0 0 10 10",
|
|
106
|
-
refX: 4,
|
|
107
|
-
refY: 4,
|
|
108
|
-
markerWidth: "6",
|
|
109
|
-
markerHeight: "6",
|
|
110
|
-
...props,
|
|
111
|
-
children: /* @__PURE__ */ jsx("circle", {
|
|
112
|
-
strokeWidth: 0,
|
|
113
|
-
fill: "context-stroke",
|
|
114
|
-
cx: 4,
|
|
115
|
-
cy: 4,
|
|
116
|
-
r: 3
|
|
117
|
-
})
|
|
118
|
-
});
|
|
119
|
-
var ODot = (props) => /* @__PURE__ */ jsx("marker", {
|
|
120
|
-
viewBox: "0 0 10 10",
|
|
121
|
-
refX: 4,
|
|
122
|
-
refY: 4,
|
|
123
|
-
markerWidth: "6",
|
|
124
|
-
markerHeight: "6",
|
|
125
|
-
...props,
|
|
126
|
-
children: /* @__PURE__ */ jsx("circle", {
|
|
127
|
-
strokeWidth: 1.25,
|
|
128
|
-
stroke: "context-stroke",
|
|
129
|
-
fill: "var(--likec4-background-color)",
|
|
130
|
-
cx: 4,
|
|
131
|
-
cy: 4,
|
|
132
|
-
r: 3
|
|
133
|
-
})
|
|
134
|
-
});
|
|
135
|
-
var EdgeMarkers = {
|
|
136
|
-
Arrow,
|
|
137
|
-
Crow,
|
|
138
|
-
OArrow,
|
|
139
|
-
Open,
|
|
140
|
-
Diamond,
|
|
141
|
-
ODiamond,
|
|
142
|
-
Dot,
|
|
143
|
-
ODot
|
|
144
|
-
};
|
|
145
|
-
function arrowTypeToMarker(arrowType) {
|
|
146
|
-
if (!arrowType || arrowType === "none") return;
|
|
147
|
-
switch (arrowType) {
|
|
148
|
-
case "normal": return "Arrow";
|
|
149
|
-
case "crow": return "Crow";
|
|
150
|
-
case "onormal": return "OArrow";
|
|
151
|
-
case "diamond": return "Diamond";
|
|
152
|
-
case "odiamond": return "ODiamond";
|
|
153
|
-
case "open":
|
|
154
|
-
case "vee": return "Open";
|
|
155
|
-
case "dot": return "Dot";
|
|
156
|
-
case "odot": return `ODot`;
|
|
157
|
-
default: nonexhaustive(arrowType);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
//#endregion
|
|
161
|
-
export { EdgeMarkers, arrowTypeToMarker };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DiagramEdge } from '@likec4/core/types';
|
|
2
|
-
import { PointerEventHandler, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
|
-
import { UndefinedOnPartialDeep } from 'type-fest';
|
|
4
|
-
import { BaseEdgePropsWithData } from '../../base/types';
|
|
5
|
-
type Data = UndefinedOnPartialDeep<Pick<DiagramEdge, 'line' | 'dir' | 'tail' | 'head'>>;
|
|
6
|
-
type EdgePathProps = {
|
|
7
|
-
edgeProps: BaseEdgePropsWithData<Data>;
|
|
8
|
-
svgPath: string;
|
|
9
|
-
/**
|
|
10
|
-
* If true, the edge is being dragged (used to disable animations)
|
|
11
|
-
*/
|
|
12
|
-
isDragging?: boolean;
|
|
13
|
-
strokeWidth?: number;
|
|
14
|
-
onEdgePointerDown?: PointerEventHandler<SVGGElement> | undefined;
|
|
15
|
-
};
|
|
16
|
-
export declare const EdgePath: ForwardRefExoticComponent<EdgePathProps & RefAttributes<SVGPathElement>>;
|
|
17
|
-
export {};
|