likec4 1.42.0 → 1.43.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.
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { useEffect, lazy, Suspense, createContext, useContext, useState, useMemo, memo, useRef, StrictMode } from "react";
3
3
  import { createRoot } from "react-dom/client";
4
- import { cL as useRouter, cM as isNotFound, cN as Container, bk as Alert, at as Text, ab as Code, ad as Button, ac as Group, a$ as rem, b_ as Title, cO as Link, cP as useNavigate, d as useCallbackRef, cQ as createRootRouteWithContext, cR as stripSearchParams, aJ as e, cS as Outlet, O as useMantineColorScheme, cT as createFileRoute, cU as useDocumentTitle, aZ as Stack, cV as Loader, cW as useStore, a8 as ErrorBoundary, cX as Navigate, cY as t, s as shallowEqual, cZ as useParams, S as useIsomorphicLayoutEffect, c_ as SimpleGrid, c$ as useInViewport, j as e$1, ch as Card, ar as Box, d0 as notFound, bv as r, bj as useTree, d1 as useComputedColorScheme, bl as Tree, aB as HoverCard, aC as HoverCardTarget, aD as HoverCardDropdown, ak as ThemeIcon, d2 as onMount, Q as atom, cg as useLocalStorage, d3 as Drawer, bT as ScrollArea, aS as SegmentedControl, ai as ActionIcon, b3 as Menu, b4 as MenuTarget, b5 as MenuDropdown, b6 as MenuItem, aR as CopyButton$1, d4 as Select, d5 as ModalRoot, d6 as ModalOverlay, d7 as ModalContent, d8 as ModalBody, bP as Tabs, bQ as TabsList, bR as TabsTab, bS as TabsPanel, d9 as useMatches, da as useMantineTheme, db as useMediaQuery, dc as useDisclosure, b2 as Paper, aY as Divider, aX as Space, dd as useParentMatches, de as MenuLabel, a3 as t$1, bo as t$2, br as t$3, bq as e$2, bp as t$4, bs as t$5, V as t$6, bt as n, k as t$7, by as dagre, bn as DefaultMap, bz as t$8, bA as t$9, df as useSearch, aw as useDebouncedCallback, dg as LoadingOverlay, dh as toBlob, al as Tooltip, di as useAsync, dj as PanelGroup, dk as Panel, dl as PanelResizeHandle, dm as Burger, dn as RouterProvider, dp as createRouter$1, dq as createHashHistory, dr as createBrowserHistory, ds as createTheme, aU as Portal, X as MantineProvider } from "./vendors.js";
4
+ import { cN as useRouter, cO as isNotFound, cP as Container, bk as Alert, as as Text, aa as Code, ac as Button, ab as Group, a_ as rem, b_ as Title, cQ as Link, cR as useNavigate, d as useCallbackRef, cS as createRootRouteWithContext, cT as stripSearchParams, aI as e, cU as Outlet, O as useMantineColorScheme, cV as createFileRoute, cW as useDocumentTitle, aY as Stack, cX as Loader, cY as useStore, a7 as ErrorBoundary, cZ as Navigate, c_ as t, s as shallowEqual, c$ as useParams, S as useIsomorphicLayoutEffect, d0 as SimpleGrid, d1 as useInViewport, j as e$1, ch as Card, aq as Box, d2 as notFound, bv as r, bj as useTree, d3 as useComputedColorScheme, bl as Tree, aA as HoverCard, aB as HoverCardTarget, aC as HoverCardDropdown, aj as ThemeIcon, d4 as onMount, R as atom, cg as useLocalStorage, d5 as Drawer, bT as ScrollArea, aR as SegmentedControl, ah as ActionIcon, b2 as Menu, b3 as MenuTarget, b4 as MenuDropdown, b5 as MenuItem, aQ as CopyButton$1, d6 as Select, d7 as ModalRoot, d8 as ModalOverlay, d9 as ModalContent, da as ModalBody, bP as Tabs, bQ as TabsList, bR as TabsTab, bS as TabsPanel, db as useMatches, dc as useMantineTheme, dd as useMediaQuery, de as useDisclosure, b1 as Paper, aX as Divider, aW as Space, df as useParentMatches, dg as MenuLabel, a2 as t$1, bo as t$2, br as t$3, bq as e$2, bp as t$4, bs as t$5, V as t$6, bt as n, k as t$7, by as dagre, bn as DefaultMap, bz as t$8, bA as t$9, dh as useSearch, av as useDebouncedCallback, di as LoadingOverlay, dj as toBlob, ak as Tooltip, dk as useAsync, dl as PanelGroup, dm as Panel, dn as PanelResizeHandle, dp as Burger, dq as RouterProvider, dr as createRouter$1, ds as createHashHistory, dt as createBrowserHistory, du as createTheme, aT as Portal, X as MantineProvider } from "./vendors.js";
5
5
  import { projects } from "likec4:projects";
6
6
  import { c as css, L as LikeC4ProjectsProvider, u as useLikeC4Projects, I as IconRendererProvider, a as LikeC4ModelProvider, S as StaticLikeC4Diagram, M as Markdown, R as RichText, B as Box$1, b as useLikeC4Model$1, n as nonexhaustive, d as compareNatural, e as useUpdateEffect, f as IconStarFilled, g as IconStack2, h as IconLayoutDashboard, i as IconFileCode, j as IconFolderOpen, k as IconFolderFilled, l as IconArrowLeft, m as IconMoonStars, o as IconSun, p as IconChevronDown, q as IconAlertTriangle, r as IconCheck, s as IconCopy, t as IconExternalLink, v as IconShare, w as computeRelationshipsView, x as toArray, y as sortParentsFirst, z as exact, A as invariant, C as isDescendantOf, D as isAncestor, E as nonNullable, F as getViewBounds, G as LikeC4Diagram, H as useDiagramContext } from "./likec4.js";
7
7
  import { pageTitle, ComponentName, useHashHistory, withOverviewGraph, krokiPumlSvgUrl, isDevelopment, krokiD2SvgUrl, basepath } from "./const.js";
@@ -1569,7 +1569,7 @@ function ExportPage() {
1569
1569
  pannable: !1,
1570
1570
  zoomable: !1,
1571
1571
  controls: !1,
1572
- showNotations: !1,
1572
+ enableNotations: !1,
1573
1573
  enableElementDetails: !1,
1574
1574
  enableRelationshipDetails: !1,
1575
1575
  enableRelationshipBrowser: !1,
@@ -1690,7 +1690,7 @@ function ViewReact() {
1690
1690
  enableRelationshipBrowser: !0,
1691
1691
  enableElementTags: !0,
1692
1692
  experimentalEdgeEditing: !1,
1693
- showNotations: hasNotations,
1693
+ enableNotations: hasNotations,
1694
1694
  nodesDraggable: !1,
1695
1695
  nodesSelectable: !0,
1696
1696
  onNavigateTo,
@@ -1951,7 +1951,7 @@ function ViewEditor() {
1951
1951
  right: "32px"
1952
1952
  },
1953
1953
  showNavigationButtons: !0,
1954
- showNotations: isDevelopment || hasNotations,
1954
+ enableNotations: isDevelopment || hasNotations,
1955
1955
  enableSearch: !0,
1956
1956
  enableDynamicViewWalkthrough: !0,
1957
1957
  enableFocusMode: !0,