@likec4/core 1.57.0 → 1.59.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/dist/builder/index.d.mts +2 -2
- package/dist/builder/index.mjs +2 -1
- package/dist/chunks/Builder.view-element.mjs +2 -0
- package/dist/{_chunks → chunks}/LikeC4Model.d.mts +25 -27
- package/dist/{_chunks → chunks}/_types.d.mts +302 -57
- package/dist/{_chunks → chunks}/_types2.d.mts +2 -2
- package/dist/chunks/assignTagColors.mjs +1 -0
- package/dist/chunks/calcDriftsFromSnapshot.mjs +1 -0
- package/dist/chunks/default-map.d.mts +29 -0
- package/dist/{_chunks → chunks}/index.d.mts +938 -194
- package/dist/{_chunks → chunks}/index2.d.mts +21 -19
- package/dist/{_chunks → chunks}/index3.d.mts +14 -3
- package/dist/{_chunks/index5.d.mts → chunks/index4.d.mts} +153 -4
- package/dist/{_chunks/index4.d.mts → chunks/index5.d.mts} +2 -2
- package/dist/chunks/libs/chroma-js.mjs +15 -0
- package/dist/chunks/libs/graphology-dag.mjs +1 -0
- package/dist/chunks/libs/graphology.mjs +1 -0
- package/dist/chunks/libs/hast-util-sanitize.mjs +1 -0
- package/dist/chunks/libs/hast-util-to-html.mjs +9 -0
- package/dist/chunks/libs/mdast.mjs +29 -0
- package/dist/chunks/libs/mnemonist.mjs +1 -0
- package/dist/chunks/libs/ohash.mjs +1 -0
- package/dist/chunks/libs/remark.mjs +3 -0
- package/dist/chunks/libs/remeda.mjs +1 -0
- package/dist/chunks/libs/unified.mjs +1 -0
- package/dist/chunks/model.mjs +4 -0
- package/dist/chunks/rolldown-runtime.mjs +1 -0
- package/dist/chunks/types.mjs +9 -0
- package/dist/compute-view/index.d.mts +56 -18
- package/dist/compute-view/index.mjs +2 -2
- package/dist/geometry/index.d.mts +2 -2
- package/dist/geometry/index.mjs +1 -1
- package/dist/index.d.mts +10 -10
- package/dist/index.mjs +1 -1
- package/dist/model/index.d.mts +3 -3
- package/dist/model/index.mjs +1 -1
- package/dist/styles/index.d.mts +3 -3
- package/dist/styles/index.mjs +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.mjs +1 -1
- package/dist/utils/graphology/index.d.mts +618 -1
- package/dist/utils/graphology/index.mjs +1 -1
- package/dist/utils/index.d.mts +4 -4
- package/dist/utils/index.mjs +1 -1
- package/package.json +17 -18
- package/dist/THIRD-PARTY-LICENSES.md +0 -1034
- package/dist/_chunks/Builder.view-element.mjs +0 -2
- package/dist/_chunks/assignTagColors.mjs +0 -1
- package/dist/_chunks/libs/@ungap/structured-clone.mjs +0 -1
- package/dist/_chunks/libs/bail.mjs +0 -1
- package/dist/_chunks/libs/ccount.mjs +0 -1
- package/dist/_chunks/libs/character-entities-html4.mjs +0 -1
- package/dist/_chunks/libs/character-entities-legacy.mjs +0 -1
- package/dist/_chunks/libs/character-entities.mjs +0 -2
- package/dist/_chunks/libs/chroma-js.mjs +0 -15
- package/dist/_chunks/libs/comma-separated-tokens.mjs +0 -1
- package/dist/_chunks/libs/decode-named-character-reference.mjs +0 -1
- package/dist/_chunks/libs/defu.mjs +0 -1
- package/dist/_chunks/libs/devlop.mjs +0 -1
- package/dist/_chunks/libs/escape-string-regexp.mjs +0 -1
- package/dist/_chunks/libs/extend.mjs +0 -1
- package/dist/_chunks/libs/graphology-dag.d.mts +0 -607
- package/dist/_chunks/libs/graphology-dag.mjs +0 -1
- package/dist/_chunks/libs/graphology.mjs +0 -1
- package/dist/_chunks/libs/hast-util-sanitize.mjs +0 -1
- package/dist/_chunks/libs/hast-util-to-html.mjs +0 -9
- package/dist/_chunks/libs/is-plain-obj.mjs +0 -1
- package/dist/_chunks/libs/longest-streak.mjs +0 -1
- package/dist/_chunks/libs/markdown-table.mjs +0 -2
- package/dist/_chunks/libs/mdast-util-find-and-replace.mjs +0 -1
- package/dist/_chunks/libs/mdast-util-from-markdown.mjs +0 -3
- package/dist/_chunks/libs/mdast-util-gfm.mjs +0 -15
- package/dist/_chunks/libs/mdast-util-to-hast.mjs +0 -11
- package/dist/_chunks/libs/micromark-extension-gfm.mjs +0 -1
- package/dist/_chunks/libs/mnemonist.d.mts +0 -164
- package/dist/_chunks/libs/mnemonist.mjs +0 -1
- package/dist/_chunks/libs/natural-compare-lite.mjs +0 -9
- package/dist/_chunks/libs/ohash.mjs +0 -1
- package/dist/_chunks/libs/rehype-sanitize.mjs +0 -1
- package/dist/_chunks/libs/rehype-stringify.mjs +0 -1
- package/dist/_chunks/libs/remark-gfm.mjs +0 -1
- package/dist/_chunks/libs/remark-github-blockquote-alert.mjs +0 -3
- package/dist/_chunks/libs/remark-parse.mjs +0 -1
- package/dist/_chunks/libs/remark-rehype.mjs +0 -1
- package/dist/_chunks/libs/remeda.mjs +0 -2
- package/dist/_chunks/libs/trough.mjs +0 -1
- package/dist/_chunks/libs/unified.mjs +0 -1
- package/dist/_chunks/manual-layout.mjs +0 -1
- package/dist/_chunks/mnemonist.d.mts +0 -1
- package/dist/_chunks/model.mjs +0 -4
- package/dist/_chunks/rolldown-runtime.mjs +0 -1
- package/dist/_chunks/types.mjs +0 -1
- /package/dist/{_chunks → chunks}/libs/@radix-ui/colors.mjs +0 -0
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
3
|
-
import { A as ancestorsFqn, B as parentFqn, C as iflatMap, D as ifilter, E as ifind, F as hierarchyLevel, G as compareNaturalHierarchically, H as sortNaturalByFqn, I as isAncestor, J as invariant, K as sortNatural, L as isDescendantOf, M as compareByFqnHierarchically, N as compareFqnHierarchically, O as isIterable, P as hierarchyDistance, R as isSameHierarchy, S as ihead, T as ifirst, U as sortParentsFirst, V as sortByFqnHierarchically, W as compareNatural, X as nonexhaustive, Y as nonNullable, _ as toArray, a as objectHash, b as ireduce, c as intersection, d as compareRelations, f as delay, g as iunique, h as memoizeProp, i as stringHash, j as commonAncestor, k as getOrCreate, l as symmetricDifference, m as promiseNextTick, n as markdownToText, o as difference, p as onNextTick, q as commonHead, r as markdownToHtml, s as equals, t as unsafePartial, u as union, v as toSet, w as iflat, x as imap, y as isome, z as nameFromFqn } from "../
|
|
4
|
-
export { DefaultMap, DefaultWeakMap, LinkedList, MultiMap, Queue, Stack, ancestorsFqn, commonAncestor, commonHead, compareByFqnHierarchically, compareFqnHierarchically, compareNatural, compareNaturalHierarchically, compareRelations, delay, difference, equals as equalsSet, getOrCreate, hierarchyDistance, hierarchyLevel, ifilter, ifind, ifirst, iflat, iflatMap, ihead, imap, intersection, invariant, ireduce, isAncestor, isDescendantOf, isIterable, isNonEmptyArray, isSameHierarchy, isString, isome, iunique, markdownToHtml, markdownToText, memoizeProp, nameFromFqn, nonNullable, nonexhaustive, objectHash, onNextTick, parentFqn, promiseNextTick, sortByFqnHierarchically, sortNatural, sortNaturalByFqn, sortParentsFirst, stringHash, symmetricDifference, toArray, toSet, union, unsafePartial };
|
|
1
|
+
import { a as isAnyOf, i as hasProp, o as isNonEmptyArray, r as hasChildren, s as isString } from "../chunks/index.mjs";
|
|
2
|
+
import { t as DefaultMap } from "../chunks/default-map.mjs";
|
|
3
|
+
import { $ as MultiMap, A as ancestorsFqn, B as parentFqn, C as iflatMap, D as ifilter, E as ifind, F as hierarchyLevel, G as compareNaturalHierarchically, H as sortNaturalByFqn, I as isAncestor, J as invariant, K as sortNatural, L as isDescendantOf, M as compareByFqnHierarchically, N as compareFqnHierarchically, O as isIterable, P as hierarchyDistance, Q as Queue, R as isSameHierarchy, S as ihead, T as ifirst, U as sortParentsFirst, V as sortByFqnHierarchically, W as compareNatural, X as nonexhaustive, Y as nonNullable, Z as Stack, _ as toArray, a as objectHash, b as ireduce, c as intersection, d as compareRelations, et as LinkedList, f as delay, g as iunique, h as memoizeProp, i as stringHash, j as commonAncestor, k as getOrCreate, l as symmetricDifference, m as promiseNextTick, n as markdownToText, o as difference, p as onNextTick, q as commonHead, r as markdownToHtml, s as equals, t as unsafePartial, tt as DefaultWeakMap, u as union, v as toSet, w as iflat, x as imap, y as isome, z as nameFromFqn } from "../chunks/index4.mjs";
|
|
4
|
+
export { DefaultMap, DefaultWeakMap, LinkedList, MultiMap, Queue, Stack, ancestorsFqn, commonAncestor, commonHead, compareByFqnHierarchically, compareFqnHierarchically, compareNatural, compareNaturalHierarchically, compareRelations, delay, difference, equals as equalsSet, getOrCreate, hasChildren, hasProp, hierarchyDistance, hierarchyLevel, ifilter, ifind, ifirst, iflat, iflatMap, ihead, imap, intersection, invariant, ireduce, isAncestor, isAnyOf, isDescendantOf, isIterable, isNonEmptyArray, isSameHierarchy, isString, isome, iunique, markdownToHtml, markdownToText, memoizeProp, nameFromFqn, nonNullable, nonexhaustive, objectHash, onNextTick, parentFqn, promiseNextTick, sortByFqnHierarchically, sortNatural, sortNaturalByFqn, sortParentsFirst, stringHash, symmetricDifference, toArray, toSet, union, unsafePartial };
|
package/dist/utils/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$t as e,
|
|
1
|
+
import{$t as e,An as t,At as n,Bt as r,Cn as i,Dn as a,En as o,Ft as s,Gt as c,Ht as l,Jt as u,Kt as d,Lt as f,Mn as p,Mt as m,Nt as h,Pt as g,Qt as _,Rt as v,Sn as y,Tn as b,Ut as x,Vt as S,Wt as C,Xt as w,Yt as T,Zt as E,_n as D,an as O,bn as k,cn as A,dn as j,en as M,fn as N,gn as P,hn as F,in as I,jn as L,jt as R,kt as z,ln as B,mn as V,nn as H,on as U,pn as W,qt as G,rn as K,sn as q,tn as J,un as Y,vn as X,wn as Z,xn as Q,yn as $,zt as ee}from"../chunks/types.mjs";import{a as te,c as ne,n as re,o as ie,r as ae,t as oe}from"../chunks/libs/mnemonist.mjs";var se=oe.default,ce=re.default,le=ae.default,ue=te.default,de=ie.default,fe=ne.default;export{se as DefaultMap,ce as DefaultWeakMap,le as LinkedList,ue as MultiMap,de as Queue,fe as Stack,Y as ancestorsFqn,j as commonAncestor,a as commonHead,N as compareByFqnHierarchically,W as compareFqnHierarchically,Z as compareNatural,b as compareNaturalHierarchically,r as compareRelations,S as delay,g as difference,s as equalsSet,B as getOrCreate,I as hasChildren,O as hasProp,V as hierarchyDistance,F as hierarchyLevel,H as ifilter,J as ifind,M as ifirst,e as iflat,_ as iflatMap,E as ihead,w as imap,f as intersection,t as invariant,T as ireduce,P as isAncestor,U as isAnyOf,D as isDescendantOf,K as isIterable,q as isNonEmptyArray,X as isSameHierarchy,A as isString,u as isome,c as iunique,R as markdownToHtml,n as markdownToText,C as memoizeProp,$ as nameFromFqn,L as nonNullable,p as nonexhaustive,h as objectHash,l as onNextTick,k as parentFqn,x as promiseNextTick,Q as sortByFqnHierarchically,o as sortNatural,y as sortNaturalByFqn,i as sortParentsFirst,m as stringHash,v as symmetricDifference,d as toArray,G as toSet,ee as union,z as unsafePartial};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.59.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://likec4.dev",
|
|
6
6
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -102,13 +102,13 @@
|
|
|
102
102
|
"access": "public"
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"immer": "^11.1.
|
|
105
|
+
"immer": "^11.1.9",
|
|
106
106
|
"type-fest": "^4.41.0",
|
|
107
|
-
"zod": "^4.3
|
|
107
|
+
"zod": "^4.4.3"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@dagrejs/dagre": "1.1.8",
|
|
111
|
-
"@mantine/colors-generator": "9.
|
|
111
|
+
"@mantine/colors-generator": "9.4.1",
|
|
112
112
|
"@rolldown/plugin-node-polyfills": "^1.0.3",
|
|
113
113
|
"@types/chroma-js": "^3.1.2",
|
|
114
114
|
"@types/extend": "3.0.4",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"@types/natural-compare-lite": "^1.4.2",
|
|
118
118
|
"@types/node": "~22.19.19",
|
|
119
119
|
"@types/unist": "3.0.3",
|
|
120
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
120
|
+
"@typescript/native-preview": "7.0.0-dev.20260702.3",
|
|
121
121
|
"chroma-js": "3.2.0",
|
|
122
122
|
"defu": "^6.1.7",
|
|
123
123
|
"fdir": "6.4.0",
|
|
@@ -127,12 +127,12 @@
|
|
|
127
127
|
"mdast-util-from-markdown": "^2.0.3",
|
|
128
128
|
"mdast-util-to-hast": "^13.2.1",
|
|
129
129
|
"mdast-util-to-string": "^4.0.0",
|
|
130
|
-
"mnemonist": "0.40.
|
|
130
|
+
"mnemonist": "0.40.4",
|
|
131
131
|
"natural-compare-lite": "^1.4.0",
|
|
132
132
|
"obliterator": "^2.0.5",
|
|
133
|
-
"
|
|
133
|
+
"tsdown": "^0.22.9",
|
|
134
134
|
"ohash": "^2.0.11",
|
|
135
|
-
"oxlint": "1.
|
|
135
|
+
"oxlint": "1.72.0",
|
|
136
136
|
"rehype-format": "5.0.1",
|
|
137
137
|
"rehype-sanitize": "^6.0.0",
|
|
138
138
|
"rehype-stringify": "10.0.1",
|
|
@@ -140,23 +140,22 @@
|
|
|
140
140
|
"remark-github-blockquote-alert": "^2.0.1",
|
|
141
141
|
"remark-parse": "11.0.0",
|
|
142
142
|
"remark-rehype": "11.1.2",
|
|
143
|
-
"remeda": "^2.
|
|
144
|
-
"turbo": "2.
|
|
145
|
-
"typescript": "
|
|
143
|
+
"remeda": "^2.37.0",
|
|
144
|
+
"turbo": "2.10.5",
|
|
145
|
+
"typescript": "6.0.3",
|
|
146
146
|
"unified": "11.0.5",
|
|
147
|
-
"vitest": "4.1.
|
|
148
|
-
"@likec4/devops": "1.
|
|
149
|
-
"@likec4/
|
|
150
|
-
"@likec4/
|
|
151
|
-
"@likec4/tsconfig": "1.57.0"
|
|
147
|
+
"vitest": "4.1.9",
|
|
148
|
+
"@likec4/devops": "1.59.0",
|
|
149
|
+
"@likec4/tsconfig": "1.59.0",
|
|
150
|
+
"@likec4/style-preset": "1.59.0"
|
|
152
151
|
},
|
|
153
152
|
"scripts": {
|
|
154
153
|
"typecheck": "tsc -b --verbose",
|
|
155
|
-
"build": "
|
|
154
|
+
"build": "tsdown",
|
|
156
155
|
"lint": "oxlint --type-aware",
|
|
157
156
|
"lint:package": "pnpx publint ./package.tgz",
|
|
158
157
|
"test": "vitest run --no-isolate",
|
|
159
|
-
"test:watch": "vitest",
|
|
158
|
+
"test:watch": "vitest --no-isolate",
|
|
160
159
|
"clean": "likec4ops clean",
|
|
161
160
|
"pack": "pnpm pack"
|
|
162
161
|
},
|