@likec4/diagram 1.38.1 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/{chunk-BZV0K82k.js → chunk-Bg7UjtMS.js} +332 -326
- package/bundle/custom.js +59 -59
- package/bundle/index.js +244 -170
- package/dist/LikeC4Diagram.props.d.ts +15 -8
- package/dist/base/BaseXYFlow.js +5 -5
- package/dist/base/index.d.ts +1 -2
- package/dist/base/primitives/MarkdownBlock.js +2 -1
- package/dist/base/primitives/customEdge.d.ts +3 -3
- package/dist/base/primitives/element/ElementTitle.js +2 -10
- package/dist/base/types.d.ts +62 -5
- package/dist/base/types.js +54 -0
- package/dist/bundle/LikeC4View.d.ts +2 -2
- package/dist/bundle/LikeC4View.props.d.ts +4 -3
- package/dist/bundle/ReactLikeC4.d.ts +4 -4
- package/dist/custom/customNodes.d.ts +2 -1
- package/dist/hooks/useXYFlow.d.ts +28 -29
- package/dist/likec4diagram/custom/edges/RelationshipEdge.d.ts +4 -5
- package/dist/likec4diagram/custom/nodes/ElementActions.js +1 -1
- package/dist/likec4diagram/types.d.ts +2 -1
- package/dist/likec4diagram/useViewToNodesEdges.js +1 -1
- package/dist/likec4model/LikeC4ModelContext.d.ts +5 -2
- package/dist/likec4model/useLikeC4ElementsTree.js +1 -1
- package/dist/likec4model/useLikeC4Model.d.ts +7 -20
- package/dist/navigationpanel/NavigationPanel.js +3 -1
- package/dist/navigationpanel/NavigationPanelDropdown.js +1 -1
- package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +6 -4
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.d.ts +1 -0
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +83 -0
- package/dist/overlays/element-details/actor.d.ts +556 -557
- package/dist/overlays/relationship-details/RelationshipDetails.d.ts +2 -3
- package/dist/overlays/relationship-details/actor.d.ts +1 -1
- package/dist/overlays/relationship-details/actor.js +7 -7
- package/dist/overlays/relationship-details/compute.js +2 -1
- package/dist/overlays/relationship-details/custom/edgeTypes.d.ts +2 -3
- package/dist/overlays/relationship-details/hooks.d.ts +18 -19
- package/dist/overlays/relationship-details/layout.js +2 -1
- package/dist/overlays/relationships-browser/RelationshipsBrowser.d.ts +2 -3
- package/dist/overlays/relationships-browser/actor.d.ts +12 -12
- package/dist/overlays/relationships-browser/actor.js +8 -8
- package/dist/overlays/relationships-browser/custom/edgeTypes.d.ts +2 -3
- package/dist/overlays/relationships-browser/layout.js +2 -1
- package/dist/search/components/ElementsColumn.js +1 -1
- package/dist/state/DiagramActorProvider.js +2 -2
- package/dist/state/assign.js +6 -6
- package/dist/state/diagram-machine.js +14 -14
- package/dist/styles-min.css +1 -1
- package/dist/styles-xyflow.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css2.js +1 -1
- package/dist/utils/xyflow.js +2 -2
- package/package.json +16 -16
- package/panda.buildinfo.json +14 -11
- package/src/LikeC4Diagram.props.ts +16 -16
- package/src/base/index.ts +1 -2
- package/src/base/primitives/MarkdownBlock.tsx +1 -0
- package/src/base/primitives/customEdge.ts +5 -5
- package/src/base/primitives/element/ElementTitle.tsx +10 -22
- package/src/base/types.ts +122 -13
- package/src/bundle/LikeC4View.props.ts +4 -3
- package/src/bundle/LikeC4View.tsx +6 -6
- package/src/bundle/ReactLikeC4.tsx +7 -6
- package/src/custom/customNodes.ts +3 -1
- package/src/hooks/useSetState.ts +2 -2
- package/src/likec4diagram/custom/nodes/ElementActions.tsx +2 -1
- package/src/likec4diagram/types.ts +1 -1
- package/src/likec4diagram/useViewToNodesEdges.ts +1 -1
- package/src/likec4model/LikeC4ModelContext.tsx +5 -2
- package/src/likec4model/useLikeC4ElementsTree.ts +3 -3
- package/src/likec4model/useLikeC4Model.ts +8 -5
- package/src/navigationpanel/NavigationPanel.tsx +2 -0
- package/src/navigationpanel/NavigationPanelDropdown.tsx +1 -1
- package/src/navigationpanel/walkthrough/ActiveWalkthroughControls.tsx +3 -1
- package/src/navigationpanel/walkthrough/WalkthroughPanel.tsx +88 -0
- package/src/overlays/relationship-details/compute.ts +3 -12
- package/src/overlays/relationship-details/layout.ts +3 -3
- package/src/overlays/relationships-browser/actor.ts +2 -1
- package/src/overlays/relationships-browser/layout.ts +3 -3
- package/src/search/components/ElementsColumn.tsx +3 -3
- package/src/utils/xyflow.ts +2 -2
- package/dist/base/types.Base.d.ts +0 -54
- package/dist/base/types.Base.js +0 -48
- package/dist/likec4diagram/custom/edges/NotePopover.d.ts +0 -4
- package/src/base/types.Base.ts +0 -104
- package/src/likec4diagram/custom/edges/NotePopover.tsx +0 -95
- /package/dist/{likec4diagram/custom/edges/NotePopover.css.d.ts → navigationpanel/walkthrough/WalkthroughPanel.css.d.ts} +0 -0
- /package/src/{likec4diagram/custom/edges/NotePopover.css.ts → navigationpanel/walkthrough/WalkthroughPanel.css.ts} +0 -0
package/bundle/custom.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { du as customNode, ei as useLikeC4ViewModel } from "./chunk-Bg7UjtMS.js";
|
|
2
|
+
import { em, eo, cd, ep, d2, eq, ce, er, d0, d1, en, es, et, cf, c_, eu, d9, ev, cg, d3, d4, cF, d6, d5, ew, dB, dm, ea, dr, ey, ez, eA, cG, dx, ex, cc, cz, cV, c6, cU, cm, cl, c7, ej, cR, cM, ek, cL, dV, cu, dE, el, bf, c5, c8, dv, b9 } from "./chunk-Bg7UjtMS.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
function customDiagramNode(Node) {
|
|
5
5
|
return customNode((props) => {
|
|
@@ -15,67 +15,67 @@ function customDiagramNode(Node) {
|
|
|
15
15
|
}
|
|
16
16
|
const elementNode = customDiagramNode, deploymentNode = customDiagramNode, compoundElementNode = customDiagramNode, compoundDeploymentNode = customDiagramNode, viewGroupNode = customDiagramNode;
|
|
17
17
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
18
|
+
em as CompoundActionButton,
|
|
19
|
+
eo as CompoundActions,
|
|
20
|
+
cd as CompoundDeploymentNode,
|
|
21
|
+
ep as CompoundDeploymentToolbar,
|
|
22
|
+
d2 as CompoundDetailsButton,
|
|
23
|
+
eq as CompoundDetailsButtonWithHandler,
|
|
24
|
+
ce as CompoundElementNode,
|
|
25
|
+
er as CompoundElementToolbar,
|
|
26
|
+
d0 as CompoundNodeContainer,
|
|
27
|
+
d1 as CompoundTitle,
|
|
28
|
+
en as DefaultHandles,
|
|
29
|
+
es as DeploymentElementActions,
|
|
30
|
+
et as DeploymentElementToolbar,
|
|
31
|
+
cf as DeploymentNode,
|
|
32
|
+
c_ as ElementActionButtons,
|
|
33
|
+
eu as ElementActions,
|
|
34
|
+
d9 as ElementDetailsButton,
|
|
35
|
+
ev as ElementDetailsButtonWithHandler,
|
|
36
|
+
cg as ElementNode,
|
|
37
|
+
d3 as ElementNodeContainer,
|
|
38
|
+
d4 as ElementShape,
|
|
39
|
+
cF as ElementTag,
|
|
40
|
+
d6 as ElementTags,
|
|
41
|
+
d5 as ElementTitle,
|
|
42
|
+
ew as ElementToolbar,
|
|
43
|
+
dB as IconOrShapeRenderer,
|
|
44
|
+
dm as IconRenderer,
|
|
45
|
+
ea as IconRendererProvider,
|
|
46
|
+
dr as IfEnabled,
|
|
47
|
+
ey as IfNotEnabled,
|
|
48
|
+
ez as IfNotReadOnly,
|
|
49
|
+
eA as IfReadOnly,
|
|
50
|
+
cG as MarkdownBlock,
|
|
51
|
+
dx as Overlay,
|
|
52
|
+
ex as Toolbar,
|
|
53
|
+
cc as ViewGroupNode,
|
|
54
54
|
compoundDeploymentNode,
|
|
55
55
|
compoundElementNode,
|
|
56
56
|
deploymentNode,
|
|
57
57
|
elementNode,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
58
|
+
cz as useCurrentViewId,
|
|
59
|
+
cV as useCurrentViewModel,
|
|
60
|
+
c6 as useDiagram,
|
|
61
|
+
cU as useDiagramActorRef,
|
|
62
|
+
cm as useDiagramContext,
|
|
63
|
+
cl as useDiagramEventHandlers,
|
|
64
|
+
c7 as useEnabledFeatures,
|
|
65
|
+
ej as useHasProjects,
|
|
66
|
+
cR as useLikeC4Model,
|
|
67
|
+
cM as useLikeC4ProjectId,
|
|
68
|
+
ek as useLikeC4Projects,
|
|
69
|
+
cL as useLikeC4ProjectsContext,
|
|
70
|
+
dV as useLikeC4Specification,
|
|
71
71
|
useLikeC4ViewModel,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
72
|
+
cu as useMantinePortalProps,
|
|
73
|
+
dE as useOnDiagramEvent,
|
|
74
|
+
el as useSetState,
|
|
75
|
+
bf as useUpdateEffect,
|
|
76
|
+
c5 as useXYFlow,
|
|
77
|
+
c8 as useXYInternalNode,
|
|
78
|
+
dv as useXYStore,
|
|
79
|
+
b9 as useXYStoreApi,
|
|
80
80
|
viewGroupNode
|
|
81
81
|
};
|