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.
- package/__app__/src/likec4.js +436 -178
- package/__app__/src/main.js +4 -4
- package/__app__/src/style.css +1 -1
- package/__app__/src/vendors.js +627 -518
- package/__app__/src/webcomponent.js +1 -1
- package/config/schema.json +149 -105
- package/dist/cli/index.mjs +372 -370
- package/dist/config/index.d.mts +1 -1
- package/dist/config/index.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/shared/{likec4.BCSBNe4z.d.mts → likec4.CQWzqezS.d.mts} +144 -144
- package/dist/shared/{likec4.CJVbsoPD.mjs → likec4.CWfMOOnG.mjs} +1 -1
- package/dist/shared/{likec4.B5Q51Z1F.mjs → likec4.DtL27jG4.mjs} +85 -80
- package/dist/shared/{likec4.DdxVkEIS.mjs → likec4.DvPKV9S-.mjs} +2390 -2385
- package/dist/shared/{likec4.CaOUU1HJ.d.mts → likec4.VWjIqhhl.d.mts} +36 -19
- package/dist/vite-plugin/index.d.mts +2 -2
- package/dist/vite-plugin/index.mjs +1 -1
- package/package.json +29 -29
- package/react/index.d.ts +37 -31
- package/react/index.js +4170 -3773
package/__app__/src/main.js
CHANGED
|
@@ -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 {
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1954
|
+
enableNotations: isDevelopment || hasNotations,
|
|
1955
1955
|
enableSearch: !0,
|
|
1956
1956
|
enableDynamicViewWalkthrough: !0,
|
|
1957
1957
|
enableFocusMode: !0,
|