likec4 1.26.1 → 1.26.2

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.
@@ -8,7 +8,7 @@ import { ComponentName, withOverviewGraph, isDevelopment, krokiD2SvgUrl, useHash
8
8
  import { projects, isSingleProject } from "likec4:projects";
9
9
  import { createLikeC4Model } from "likec4/model";
10
10
  import { nano } from "likec4/react";
11
- import { invariant as invariant$2, hasAtLeast, nonexhaustive, isStepEdgeId, extractStep, DefaultShapeSize, DefaultTextSize, DefaultPaddingSize, compareNatural, DiagramNode, nameFromFqn, nonNullable, defaultTheme, ElementShapes, computeRelationshipsView, toArray, sortParentsFirst, DefaultMap, isDescendantOf, isAncestor, ancestorsFqn, isScopedElementView, isDeploymentView, Queue, ElementKind, delay as delay$1, compareRelations, compareFqnHierarchically, ifilter, whereOperatorAsPredicate, getBBoxCenter, getParallelStepsPrefix } from "@likec4/core";
11
+ import { invariant as invariant$2, hasAtLeast, nonexhaustive, isStepEdgeId, extractStep, DefaultShapeSize, DefaultTextSize, DefaultPaddingSize, compareNatural, DiagramNode, nameFromFqn, nonNullable, defaultTheme, ElementShapes, computeRelationshipsView, toArray, sortParentsFirst, DefaultMap, isDescendantOf, isAncestor, ancestorsFqn, isScopedElementView, isDeploymentView, Queue, ElementKind, delay as delay$1, compareRelations, compareFqnHierarchically, ifilter, whereOperatorAsPredicate, getBBoxCenter, getParallelStepsPrefix, ComputedView } from "@likec4/core";
12
12
  import { ProjectIcons } from "likec4:icons";
13
13
  import { loadModel } from "likec4:model";
14
14
  import { loadMmdSources } from "likec4:mmd";
@@ -1336,17 +1336,17 @@ function getRefProp(element) {
1336
1336
  const version2 = React__default.version;
1337
1337
  return typeof React__default.version != "string" || version2.startsWith("18.") ? element?.ref : element?.props?.ref;
1338
1338
  }
1339
- function r$6(e2) {
1339
+ function r$7(e2) {
1340
1340
  var t2, f2, n2 = "";
1341
1341
  if (typeof e2 == "string" || typeof e2 == "number") n2 += e2;
1342
1342
  else if (typeof e2 == "object") if (Array.isArray(e2)) {
1343
1343
  var o2 = e2.length;
1344
- for (t2 = 0; t2 < o2; t2++) e2[t2] && (f2 = r$6(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
1344
+ for (t2 = 0; t2 < o2; t2++) e2[t2] && (f2 = r$7(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
1345
1345
  } else for (f2 in e2) e2[f2] && (n2 && (n2 += " "), n2 += f2);
1346
1346
  return n2;
1347
1347
  }
1348
1348
  function clsx() {
1349
- for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++) (e2 = arguments[f2]) && (t2 = r$6(e2)) && (n2 && (n2 += " "), n2 += t2);
1349
+ for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++) (e2 = arguments[f2]) && (t2 = r$7(e2)) && (n2 && (n2 += " "), n2 += t2);
1350
1350
  return n2;
1351
1351
  }
1352
1352
  const EMPTY_CLASS_NAMES = {};
@@ -28176,6 +28176,9 @@ function u$8(r2, n2, o2) {
28176
28176
  if (a2 === 1) return u$9(r2, n2, o2);
28177
28177
  throw new Error("Wrong number of arguments");
28178
28178
  }
28179
+ function r$6(...t2) {
28180
+ return u$8(Object.values, t2);
28181
+ }
28179
28182
  function i$a(...e2) {
28180
28183
  return y$4(a$6, e2);
28181
28184
  }
@@ -45819,7 +45822,8 @@ function DiagramPreview$1({ diagram }) {
45819
45822
  background: "transparent",
45820
45823
  view: diagram,
45821
45824
  fitView: !0,
45822
- fitViewPadding: 0.1
45825
+ fitViewPadding: 0.1,
45826
+ reduceGraphics: !0
45823
45827
  }
45824
45828
  ) });
45825
45829
  }
@@ -45902,18 +45906,111 @@ function WebcomponentPage() {
45902
45906
  }
45903
45907
  ) }) });
45904
45908
  }
45909
+ function useTransparentBackground(enabled = !0) {
45910
+ useIsomorphicLayoutEffect(() => {
45911
+ const htmlEl = document.body.parentElement;
45912
+ if (!htmlEl || enabled !== !0) return;
45913
+ const classname = "transparent-bg";
45914
+ return htmlEl.classList.add(classname), () => {
45915
+ htmlEl.classList.remove(classname);
45916
+ };
45917
+ }, [enabled]);
45918
+ }
45919
+ function useLikeC4Views() {
45920
+ const $likec4data = useLikeC4ModelDataContext(), $viewsAtom = useMemo(() => nano.computed($likec4data, (model) => r$6(model.views)), [$likec4data]);
45921
+ return nano.useStore($viewsAtom);
45922
+ }
45923
+ function useCurrentDiagram() {
45924
+ const viewId = useParams({
45925
+ select: (params) => params.viewId ?? "index",
45926
+ strict: !1
45927
+ }), $likec4data = useLikeC4ModelDataContext(), $viewAtom = useMemo(() => nano.computed($likec4data, (model) => model.views[viewId] ?? null), [viewId, $likec4data]);
45928
+ return nano.useStore($viewAtom);
45929
+ }
45930
+ function useCurrentProjectd() {
45931
+ return useParams({
45932
+ select: (params) => params.projectId,
45933
+ strict: !1
45934
+ }) ?? projects[0];
45935
+ }
45905
45936
  const isTreeNodeData = (node2) => "type" in node2 && ["file", "folder", "view", "deployment-view"].includes(node2.type);
45937
+ function dropFilename(relativePath) {
45938
+ return relativePath === "" ? "" : relativePath.split("/").slice(0, -1).join("/");
45939
+ }
45940
+ function compareTreeNodes(a2, b) {
45941
+ return a2.children.length === 0 && b.children.length > 0 ? 1 : a2.children.length > 0 && b.children.length === 0 ? -1 : compareNatural(a2.label, b.label);
45942
+ }
45943
+ function buildDiagramTreeData(views, groupBy) {
45944
+ const root2 = {
45945
+ value: "",
45946
+ label: "Diagrams",
45947
+ type: "folder",
45948
+ children: []
45949
+ }, findParent = (path) => {
45950
+ let parent = root2;
45951
+ if (path === "")
45952
+ return parent;
45953
+ const segments = path.split("/"), traversed = ["@fs"];
45954
+ for (; segments.length; ) {
45955
+ const label2 = segments.shift();
45956
+ traversed.push(label2);
45957
+ const value = traversed.join("/");
45958
+ let node2 = f(parent.children, (n2) => n2.value === value);
45959
+ node2 || (node2 = { label: label2, value, type: "folder", children: [] }, parent.children.push(node2)), parent = node2;
45960
+ }
45961
+ return parent;
45962
+ };
45963
+ for (const view of views) {
45964
+ let relativePath;
45965
+ switch (groupBy) {
45966
+ case "by-files":
45967
+ relativePath = view.relativePath ?? "";
45968
+ break;
45969
+ case "by-folders":
45970
+ relativePath = dropFilename(view.relativePath ?? "");
45971
+ break;
45972
+ case "none":
45973
+ relativePath = "";
45974
+ break;
45975
+ default:
45976
+ nonexhaustive(groupBy);
45977
+ }
45978
+ const parent = findParent(relativePath);
45979
+ parent.children.push({
45980
+ value: view.id,
45981
+ label: view.title ?? view.id,
45982
+ type: ComputedView.isDeployment(view) ? "deployment-view" : "view",
45983
+ children: []
45984
+ }), parent !== root2 && (parent.children.sort(compareTreeNodes), groupBy === "by-files" && parent.type !== "file" && (parent.type = "file"));
45985
+ }
45986
+ return root2.children.sort(compareTreeNodes);
45987
+ }
45906
45988
  function useDiagramsTreeData(groupBy = "by-files") {
45907
- return [];
45989
+ const views = useLikeC4Views();
45990
+ return useMemo(() => buildDiagramTreeData(views, groupBy), [views, groupBy]);
45908
45991
  }
45909
- const isFile = (node2) => isTreeNodeData(node2) && node2.type === "file", FolderIcon = ({ node: node2, expanded }) => isFile(node2) ? /* @__PURE__ */ jsx(ThemeIcon, { size: "sm", variant: "transparent", color: "indigo", children: /* @__PURE__ */ jsx(IconFileCode, { size: 16 }) }) : /* @__PURE__ */ jsx(ThemeIcon, { size: "sm", variant: "transparent", color: "violet", children: expanded ? /* @__PURE__ */ jsx(IconFolderOpen, { size: 16 }) : /* @__PURE__ */ jsx(IconFolderFilled, { size: 16 }) }), DiagramsTree = ({ groupBy, viewId }) => {
45910
- const data = useDiagramsTreeData(groupBy);
45911
- useRouter();
45992
+ const isFile = (node2) => isTreeNodeData(node2) && node2.type === "file", FolderIcon = ({ node: node2, expanded }) => isFile(node2) ? /* @__PURE__ */ jsx(ThemeIcon, { size: "sm", variant: "transparent", color: "indigo", children: /* @__PURE__ */ jsx(IconFileCode, { size: 16 }) }) : /* @__PURE__ */ jsx(ThemeIcon, { size: "sm", variant: "transparent", color: "violet", children: expanded ? /* @__PURE__ */ jsx(IconFolderOpen, { size: 16 }) : /* @__PURE__ */ jsx(IconFolderFilled, { size: 16 }) }), DiagramsTree = /* @__PURE__ */ memo$1(({ groupBy }) => {
45993
+ const data = useDiagramsTreeData(groupBy), router = useRouter(), diagram = useCurrentDiagram(), viewId = diagram?.id ?? null, tree = useTree({
45994
+ multiple: !1
45995
+ }), relativePath = diagram?.relativePath ?? null;
45996
+ useUpdateEffect(() => {
45997
+ tree.collapseAllNodes();
45998
+ }, [groupBy]), useEffect(() => {
45999
+ if (relativePath) {
46000
+ const segments = relativePath.split("/");
46001
+ let path = "@fs";
46002
+ for (const segment of segments)
46003
+ path += `/${segment}`, tree.expand(path);
46004
+ }
46005
+ }, [relativePath, groupBy]), useEffect(() => {
46006
+ viewId && tree.select(viewId);
46007
+ }, [viewId]);
45912
46008
  const theme2 = useComputedColorScheme();
45913
46009
  return /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
45914
46010
  Tree,
45915
46011
  {
45916
46012
  allowRangeSelection: !1,
46013
+ tree,
45917
46014
  data,
45918
46015
  styles: {
45919
46016
  node: {
@@ -45947,7 +46044,15 @@ const isFile = (node2) => isTreeNodeData(node2) && node2.type === "file", Folder
45947
46044
  ] }),
45948
46045
  ...!hasChildren && {
45949
46046
  onClick: (e2) => {
45950
- e2.stopPropagation();
46047
+ e2.stopPropagation(), router.commitLocation(
46048
+ router.buildLocation({
46049
+ to: ".",
46050
+ params: (p2) => ({
46051
+ ...p2,
46052
+ viewId: node2.value
46053
+ })
46054
+ })
46055
+ );
45951
46056
  }
45952
46057
  },
45953
46058
  children: node2.label
@@ -45955,7 +46060,7 @@ const isFile = (node2) => isTreeNodeData(node2) && node2.type === "file", Folder
45955
46060
  ) })
45956
46061
  }
45957
46062
  ) });
45958
- };
46063
+ });
45959
46064
  function DiagramPreviewHoverCard({
45960
46065
  viewId,
45961
46066
  children: children2,
@@ -45974,7 +46079,18 @@ function DiagramPreview({
45974
46079
  const ratio = Math.max(diagram.bounds.width / 400, diagram.bounds.height / 300), width = Math.round(diagram.bounds.width / ratio), height = Math.round(diagram.bounds.height / ratio);
45975
46080
  return /* @__PURE__ */ jsxs(HoverCard, { position: "right-start", openDelay: 400, closeDelay: 100, keepMounted: !1, shadow: "lg", children: [
45976
46081
  /* @__PURE__ */ jsx(HoverCardTarget, { children: children2 }),
45977
- /* @__PURE__ */ jsx(HoverCardDropdown, { style: { width, height }, p: "xs", onClick })
46082
+ /* @__PURE__ */ jsx(HoverCardDropdown, { style: { width, height }, p: "xs", onClick, children: /* @__PURE__ */ jsx(
46083
+ StaticLikeC4Diagram,
46084
+ {
46085
+ view: diagram,
46086
+ fitView: !0,
46087
+ fitViewPadding: 0,
46088
+ enableElementDetails: !1,
46089
+ reduceGraphics: !0,
46090
+ initialWidth: width,
46091
+ initialHeight: height
46092
+ }
46093
+ ) })
45978
46094
  ] });
45979
46095
  }
45980
46096
  const drawerOpenedAtom = atom(!1);
@@ -45985,7 +46101,7 @@ const useDrawerOpened = () => useStore(drawerOpenedAtom), SidebarDrawerOps = {
45985
46101
  open: () => drawerOpenedAtom.set(!0),
45986
46102
  close: () => drawerOpenedAtom.set(!1)
45987
46103
  };
45988
- function SidebarDrawer({ viewId }) {
46104
+ function SidebarDrawer() {
45989
46105
  const opened = useDrawerOpened(), [grouping, setGrouping] = useLocalStorage({
45990
46106
  key: "sidebar-drawer-grouping",
45991
46107
  defaultValue: "by-files"
@@ -46061,7 +46177,7 @@ function SidebarDrawer({ viewId }) {
46061
46177
  ] }),
46062
46178
  /* @__PURE__ */ jsx(Drawer.CloseButton, {})
46063
46179
  ] }),
46064
- /* @__PURE__ */ jsx(Drawer.Body, { children: /* @__PURE__ */ jsx(DiagramsTree, { groupBy: grouping, viewId }) })
46180
+ /* @__PURE__ */ jsx(Drawer.Body, { children: /* @__PURE__ */ jsx(DiagramsTree, { groupBy: grouping }) })
46065
46181
  ] })
46066
46182
  ]
46067
46183
  }
@@ -46083,29 +46199,6 @@ function ColorSchemeToggle() {
46083
46199
  );
46084
46200
  }
46085
46201
  var cssHeader = "yr9aef0";
46086
- function useTransparentBackground(enabled = !0) {
46087
- useIsomorphicLayoutEffect(() => {
46088
- const htmlEl = document.body.parentElement;
46089
- if (!htmlEl || enabled !== !0) return;
46090
- const classname = "transparent-bg";
46091
- return htmlEl.classList.add(classname), () => {
46092
- htmlEl.classList.remove(classname);
46093
- };
46094
- }, [enabled]);
46095
- }
46096
- function useCurrentDiagram() {
46097
- const viewId = useParams({
46098
- select: (params) => params.viewId ?? "index",
46099
- strict: !1
46100
- }), $likec4data = useLikeC4ModelDataContext(), $viewAtom = useMemo(() => nano.computed($likec4data, (model) => model.views[viewId] ?? null), [viewId, $likec4data]);
46101
- return nano.useStore($viewAtom);
46102
- }
46103
- function useCurrentProjectd() {
46104
- return useParams({
46105
- select: (params) => params.projectId,
46106
- strict: !1
46107
- }) ?? projects[0];
46108
- }
46109
46202
  function SelectProject() {
46110
46203
  const projectId2 = useCurrentProjectd();
46111
46204
  return projects.length < 2 ? null : /* @__PURE__ */ jsxs(Menu, { shadow: "md", width: 200, trigger: "click-hover", openDelay: 200, children: [
@@ -46450,11 +46543,10 @@ const Route$d = createFileRoute("/_single/view/$viewId")({
46450
46543
  component: ViewLayout$2
46451
46544
  });
46452
46545
  function ViewLayout$2() {
46453
- const { viewId } = Route$d.useParams();
46454
46546
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
46455
46547
  /* @__PURE__ */ jsx(Outlet, {}),
46456
46548
  /* @__PURE__ */ jsx(ViewHeader$1, {}),
46457
- !withOverviewGraph && /* @__PURE__ */ jsx(SidebarDrawer, { viewId })
46549
+ !withOverviewGraph && /* @__PURE__ */ jsx(SidebarDrawer, {})
46458
46550
  ] });
46459
46551
  }
46460
46552
  function ViewHeader$1() {
@@ -46925,11 +47017,10 @@ const Route$9 = createFileRoute("/_single/view/$viewId/")({
46925
47017
  component: ViewLayout
46926
47018
  });
46927
47019
  function ViewLayout() {
46928
- const { viewId } = Route$8.useParams();
46929
47020
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
46930
47021
  /* @__PURE__ */ jsx(Outlet, {}),
46931
47022
  /* @__PURE__ */ jsx(ViewHeader, {}),
46932
- !withOverviewGraph && /* @__PURE__ */ jsx(SidebarDrawer, { viewId })
47023
+ !withOverviewGraph && /* @__PURE__ */ jsx(SidebarDrawer, {})
46933
47024
  ] });
46934
47025
  }
46935
47026
  function ViewHeader() {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import{h as tt,k as uh,o as at,q as _s,u as ee,w as lh,r as fh,s as dh,v as St,t as hh,e as Yo,x as Xo,d as ph,L as rt,y as mh,z as nt,l as Jo,A as gh,B as yh,n as _h,D as $h,E as Vt,F as Qo,G as vh,H as sr,I as $s,J as Zo,K as bh,Q as wh}from"../shared/likec4.BCmwBuM_.mjs";import Re,{hrtime as Eh,cwd as vs,exit as ea,stdout as Sh,argv as Rh}from"node:process";import{strictEqual as Ah,notStrictEqual as Oh}from"assert";import bs,{resolve as Ue,dirname as ws,normalize as Ch,relative as Ph,extname as Ih,
2
+ import{h as tt,k as uh,o as at,q as _s,u as ee,w as lh,r as fh,s as dh,v as St,t as hh,e as Yo,x as Xo,d as ph,L as rt,y as mh,z as nt,l as Jo,A as gh,B as yh,n as _h,D as $h,E as Vt,F as Qo,G as vh,H as sr,I as $s,J as Zo,K as bh,Q as wh}from"../shared/likec4.CdjXfSGc.mjs";import Re,{hrtime as Eh,cwd as vs,exit as ea,stdout as Sh,argv as Rh}from"node:process";import{strictEqual as Ah,notStrictEqual as Oh}from"assert";import bs,{resolve as Ue,dirname as ws,normalize as Ch,relative as Ph,extname as Ih,
3
3
  basename as Nh}from"path";import{statSync as ta,readdirSync as Th,readFileSync as Es,writeFile as jh}from"fs";import ra,{format as na,inspect as Lh}from"util";import{fileURLToPath as Dh}from"url";import $e,{resolve as ge,dirname as Rt,join as ir,relative as At,extname as or,isAbsolute as Ss,basename as Nr}from"node:path";import pe,{existsSync as Ot,copyFileSync as sa,readdirSync as xh,rmSync as Rs}from"node:fs";import{mkdtemp as Tr,writeFile as Ct,mkdir as ct,stat as As,copyFile as Mh,rm as kh}from"node:fs/promises";
4
- import ar,{tmpdir as jr}from"node:os";import{fileURLToPath as ia}from"node:url";import oa from"@vitejs/plugin-react";import{L as Os,J as qh,S as Hh,P as Uh,q as Fh,Y as zh}from"../shared/likec4.D3T36QRo.mjs";import{build as cr,createServer as Vh,preview as Gh}from"vite";import{hasAtLeast as Bh,invariant as Cs,nonexhaustive as aa,delay as ca}from"@likec4/core";import{chromium as ua}from"playwright";import Wh from"node:net";import{setTimeout as Kh}from"node:timers/promises";import{promisify as Ie,
4
+ import ar,{tmpdir as jr}from"node:os";import{fileURLToPath as ia}from"node:url";import oa from"@vitejs/plugin-react";import{L as Os,J as qh,S as Hh,P as Uh,q as Fh,Y as zh}from"../shared/likec4.DQwwl5M9.mjs";import{build as cr,createServer as Vh,preview as Gh}from"vite";import{hasAtLeast as Bh,invariant as Cs,nonexhaustive as aa,delay as ca}from"@likec4/core";import{chromium as ua}from"playwright";import Wh from"node:net";import{setTimeout as Kh}from"node:timers/promises";import{promisify as Ie,
5
5
  isDeepStrictEqual as Yh}from"node:util";import ur from"node:crypto";import Xh from"node:assert";import"tty";import"os";import"crypto";import"net";import"child_process";import"@likec4/core/types";import"events";import"buffer";import"@hpcc-js/wasm-graphviz";import"@likec4/core/compute-view";import"@likec4/core/utils";import"boxen";import"node:child_process";import"node:events";import"node:stream/promises";import"fs/promises";import"@likec4/core/model";const Jh={right:np,center:sp},Qh=0,Lr=1,Zh=2,Dr=3;
6
6
  class ep{constructor(e){var r;this.width=e.width,this.wrap=(r=e.wrap)!==null&&r!==void 0?r:!0,this.rows=[]}span(...e){const r=this.div(...e);r.span=!0}resetOutput(){this.rows=[]}div(...e){if(e.length===0&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...e)&&typeof e[0]=="string")return this.applyLayoutDSL(e[0]);const r=e.map(n=>typeof n=="string"?this.colFromString(n):n);return this.rows.push(r),r}shouldApplyLayoutDSL(...e){return e.length===1&&typeof e[0]=="string"&&/[\t\n]/.test(e[0])}applyLayoutDSL(e){
7
7
  const r=e.split(`
package/dist/index.d.mts CHANGED
@@ -2,7 +2,7 @@ import { DiagramView, ProjectId, NonEmptyArray } from '@likec4/core';
2
2
  export { AbstractRelation, AutoLayoutDirection, BBox, Color, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4ModelData, ComputedNode, ComputedView, DeployedInstance, DeploymentElement, DeploymentNode, DeploymentNodeKind, DeploymentRelation, DeploymentView, DiagramEdge, DiagramNode, DiagramView, DynamicView, EdgeId, Element, ElementKind, ElementView, Fqn, HexColorLiteral, LayoutedLikeC4ModelData, LikeC4View, NodeId, ParsedLikeC4ModelData, Point, RelationExpr, RelationId, StepEdgeId, Tag, ThemeColor, ViewId, XYPoint } from '@likec4/core';
3
3
  import { LikeC4Model } from '@likec4/core/model';
4
4
  export { AnyAux, Aux, LikeC4DeploymentModel, LikeC4Model, LikeC4ViewModel } from '@likec4/core/model';
5
- import { L as LikeC4LanguageServices, a as LikeC4Views, R as Range } from './shared/likec4.Y_4a6gTW.mjs';
5
+ import { L as LikeC4LanguageServices, a as LikeC4Views, R as Range } from './shared/likec4.DGrST4wG.mjs';
6
6
  import 'type-fest';
7
7
 
8
8
  type Logger = {
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { DiagramView, ProjectId, NonEmptyArray } from '@likec4/core';
2
2
  export { AbstractRelation, AutoLayoutDirection, BBox, Color, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4ModelData, ComputedNode, ComputedView, DeployedInstance, DeploymentElement, DeploymentNode, DeploymentNodeKind, DeploymentRelation, DeploymentView, DiagramEdge, DiagramNode, DiagramView, DynamicView, EdgeId, Element, ElementKind, ElementView, Fqn, HexColorLiteral, LayoutedLikeC4ModelData, LikeC4View, NodeId, ParsedLikeC4ModelData, Point, RelationExpr, RelationId, StepEdgeId, Tag, ThemeColor, ViewId, XYPoint } from '@likec4/core';
3
3
  import { LikeC4Model } from '@likec4/core/model';
4
4
  export { AnyAux, Aux, LikeC4DeploymentModel, LikeC4Model, LikeC4ViewModel } from '@likec4/core/model';
5
- import { L as LikeC4LanguageServices, a as LikeC4Views, R as Range } from './shared/likec4.Y_4a6gTW.js';
5
+ import { L as LikeC4LanguageServices, a as LikeC4Views, R as Range } from './shared/likec4.DGrST4wG.js';
6
6
  import 'type-fest';
7
7
 
8
8
  type Logger = {
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import"@likec4/core";export{LikeC4DeploymentModel,LikeC4Model,LikeC4ViewModel}from"@likec4/core/model";export{L as LikeC4}from"./shared/likec4.BCmwBuM_.mjs";import"node:fs";import"node:path";import"node:url";import"tty";import"node:util";import"util";import"path";import"os";import"crypto";import"net";import"url";import"fs";import"child_process";import"@likec4/core/types";import"events";import"buffer";import"@hpcc-js/wasm-graphviz";import"@likec4/core/compute-view";import"@likec4/core/utils";import"node:process";
1
+ import"@likec4/core";export{LikeC4DeploymentModel,LikeC4Model,LikeC4ViewModel}from"@likec4/core/model";export{L as LikeC4}from"./shared/likec4.CdjXfSGc.mjs";import"node:fs";import"node:path";import"node:url";import"tty";import"node:util";import"util";import"path";import"os";import"crypto";import"net";import"url";import"fs";import"child_process";import"@likec4/core/types";import"events";import"buffer";import"@hpcc-js/wasm-graphviz";import"@likec4/core/compute-view";import"@likec4/core/utils";import"node:process";
2
2
  import"boxen";import"node:child_process";import"node:events";import"node:fs/promises";import"node:stream/promises";import"node:os";import"fs/promises";