@likec4/core 1.56.0 → 1.58.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/_chunks/Builder.view-element.mjs +2 -2
- package/dist/_chunks/LikeC4Model.d.mts +2 -2
- package/dist/_chunks/_types.d.mts +7 -3
- package/dist/_chunks/_types2.d.mts +1 -1
- package/dist/_chunks/assignTagColors.mjs +1 -1
- package/dist/_chunks/index.d.mts +69 -2
- package/dist/_chunks/index3.d.mts +13 -2
- package/dist/_chunks/index4.d.mts +1 -1
- package/dist/_chunks/index5.d.mts +9 -2
- package/dist/_chunks/libs/chroma-js.mjs +2 -2
- package/dist/_chunks/libs/graphology-dag.mjs +1 -1
- package/dist/_chunks/libs/mdast-util-find-and-replace.mjs +1 -1
- package/dist/_chunks/libs/mnemonist.d.mts +33 -33
- package/dist/_chunks/libs/mnemonist.mjs +1 -1
- package/dist/_chunks/libs/remeda.mjs +2 -2
- package/dist/_chunks/manual-layout.mjs +1 -1
- package/dist/_chunks/model.mjs +4 -4
- package/dist/_chunks/types.mjs +1 -1
- package/dist/builder/index.d.mts +2 -2
- package/dist/builder/index.mjs +1 -1
- package/dist/compute-view/index.d.mts +2 -2
- package/dist/compute-view/index.mjs +2 -2
- package/dist/geometry/index.mjs +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/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 +2 -2
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.mjs +1 -1
- package/package.json +16 -16
package/dist/styles/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e,F as t,
|
|
1
|
+
import{B as e,F as t,H as n,I as r,L as i,M as a,N as o,P as s,R as c,V as l,j as u,z as d}from"../_chunks/types.mjs";import{t as f}from"../_chunks/assignTagColors.mjs";const p=[`none`,`normal`,`onormal`,`dot`,`odot`,`diamond`,`odiamond`,`crow`,`open`,`vee`];function m(e){return n.includes(e)}function h(e){return!m(e)}export{i as BorderStyles,c as DefaultTagColors,d as ElementShapes,e as IconPositions,u as LikeC4Styles,p as RelationshipArrowTypes,l as Sizes,n as ThemeColors,f as assignTagColors,s as computeColorValues,a as defaultTheme,t as getContrastedColorsAPCA,h as isCustomColor,m as isThemeColor,r as isValidColor,o as styleDefaults};
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as DiagramNodeDriftReason, $i as Coalesce, $n as isTagEqual, $t as ElementViewIncludePredicate, A as isComputedView, Ai as ProjectId, An as ModelRelationExpr, Ar as IconPositions, At as ElementStyle, B as DeploymentViewIncludePredicate, Bi as flattenMarkdownOrString, Bn as NotOperator, Bt as DynamicStep, C as LayoutedView, Ci as GlobalFqn, Cn as ViewWithNotation, Cr as ThemeColor, Ct as DeploymentNode, D as ViewRule, Di as MarkdownOrString, Dn as isViewRuleGlobalStyle, Dr as BorderStyles, Dt as isDeploymentNode, E as ViewOnStage, Ei as IconUrl, En as isViewRuleGlobalPredicateRef, Er as isThemeColor, Et as isDeployedInstance, F as isExtendsElementView, Fi as StepEdgeIdLiteral, Fn as AndOperator, Fr as AnyLayouted, Ft as GlobalPredicateId, G as ParsedViewRuleAncestors, Gi as splitGlobalFqn, Gn as TagEqual, Gt as DynamicViewRule, H as DeploymentViewRule, Hi as isGroupElementKind, Hn as OrOperator, Ht as DynamicStepsSeries, I as isScopedElementView, Ii as StepEdgeKind, In as EqualOperator, Ir as AnyParsed, It as GlobalPredicates, J as LayoutType, Ji as ModelStage, Jn as isKindEqual, Jt as getParallelStepsPrefix, K as DiagramEdge, Ki as stepEdgeId, Kn as WhereOperator, Kt as DynamicViewStep, L as isViewRulePredicate, Li as Tag, Ln as Filterable, Lr as Aux, Lt as GlobalStyleID, M as isDiagramView, Mi as RelationKind, Mn as FqnExpr, Mr as ThemeColors, Mt as Relationship, N as isDynamicView, Ni as RelationshipKind, Nn as PredicateSelector, Nr as Any, Nt as ensureSizes, O as ViewRulePredicate, Oi as NodeId, On as ModelExpression, Ot as AbstractRelationship, P as isElementView, Pi as StepEdgeId, Pn as RelationExpr, Pr as AnyComputed, Pt as GlobalDynamicPredicates, Q as DiagramEdgeDriftReason, Qi as isOnStage, Qn as isParticipantOperator, Qt as ElementViewExcludePredicate, R as isViewRuleStyle, Ri as ViewId, Rn as KindEqual, Rt as GlobalStyles, S as ComputedView, Si as Fqn, Sn as ViewWithHash, Sr as TextSize, St as DeploymentElementRef, T as ProcessedView, Ti as Icon, Tn as isViewRuleAutoLayout, Tr as isCustomColor, Tt as DeploymentRelationship, U as DeploymentViewRuleStyle, Ui as isStepEdgeId, Un as Participant, Ut as DynamicViewDisplayVariant, V as DeploymentViewPredicate, Vi as isGlobalFqn, Vn as OperatorPredicate, Vt as DynamicStepsParallel, W as ParsedDeploymentView, Wi as scalar_d_exports, Wn as ParticipantOperator, Wt as DynamicViewIncludeRule, X as LayoutedDynamicView, Xi as _stage, Xn as isNotOperator, Xt as isDynamicStepsParallel, Y as LayoutedDeploymentView, Yi as _layout, Yn as isMetadataEqual, Yt as isDynamicStep, Z as LayoutedElementView, Zi as _type, Zn as isOrOperator, Zt as isDynamicStepsSeries, _ as ComputedLikeC4ModelData, _i as BuiltInIcon, _n as ViewRuleAutoLayout, _r as RelationshipColorValues, _t as Specification, a as isNonEmptyArray, aa as NTuple, an as ParsedElementView, ar as CustomColor, at as ComputedElementView, b as ParsedLikeC4ModelData, bi as EdgeId, bn as ViewRuleRank, br as Size, bt as DeployedInstance, c as RichTextEmpty, ca as Predicate, ci as UnknownLayouted, cn as AnyExcludePredicate, cr as ElementShape, ct as ComputedRankConstraint, d as AuxFromDump, di as _aux_d_exports, dn as AutoLayoutDirection, dr as IconSize, dt as LikeC4ProjectStyleDefaults, ea as ExclusiveUnion, en as ElementViewPredicate, er as whereOperatorAsPredicate, et as LayoutedViewDriftReason, f as LikeC4ModelDump, fi as preferDescription, fn as BaseParsedViewProperties, fr as LikeC4StyleDefaults, ft as LikeC4ProjectStylesConfig, g as AuxFromLikeC4ModelData, gi as AnyFqn, gn as ViewAutoLayout, gr as RelationshipArrowTypes, gt as RelationshipSpecification, h as SpecificationDump, hn as RankValue, hr as RelationshipArrowType, ht as ElementSpecification, i as isAnyOf, ia as Link, in as ElementViewRuleStyle, ir as ColorLiteral, it as ComputedEdge, j as isDeploymentView, ji as RelationId, jn as Expression, jr as Sizes, jt as ModelRelation, k as ViewWithType, ki as NoneIcon, kn as ModelFqnExpr, kr as ElementShapes, kt as Element, l as RichTextOrEmpty, la as ReorderedArray, li as UnknownParsed, ln as AnyIncludePredicate, lr as HexColor, lt as LikeC4Project, m as SpecTypesFromDump, mn as NodeNotation, mr as LikeC4Theme, mt as LikeC4ProjectTheme, n as GuardedBy, na as IteratorLike, nn as ElementViewRuleGroup, nr as BorderStyle, nt as ComputedDeploymentView, o as isString, oa as NonEmptyArray, oi as Unknown, on as isViewRuleGroup, or as CustomColorDefinitions, ot as ComputedNode, p as ProjectDump, pi as preferSummary, pn as BaseViewProperties, pr as LikeC4StylesConfig, pt as LikeC4ProjectStylesCustomStylesheets, q as DiagramNode, qi as ExtractOnStage, qn as isAndOperator, qr as LooseLiteral, qt as ParsedDynamicView, r as hasProp, ra as KeysOf, rn as ElementViewRuleRank, rr as Color, rt as ComputedDynamicView, s as RichText, sa as NonEmptyReadonlyArray, si as UnknownComputed, sn as isViewRuleRank, sr as ElementColorValues, st as ComputedNodeStyle, t as Guard, ta as IterableContainer, ti as SpecAux, tn as ElementViewRule, tr as FqnRef, tt as ViewManualLayoutSnapshot, u as ViewChange, ua as exact, un as AnyViewRuleStyle, ur as IconPosition, ut as LikeC4ProjectManualLayoutsConfig, v as LayoutedLikeC4ModelData, vi as DeploymentFqn, vn as ViewRuleGlobalPredicateRef, vr as RelationshipLineType, vt as TagSpecification, w as ParsedView, wi as GroupElementKind, wn as isAutoLayoutDirection, wr as ThemeColorValues, wt as DeploymentRelation, x as AnyView, xi as ElementKind, xn as ViewType, xr as SpacingSize, xt as DeploymentElement, y as LikeC4ModelData, yi as DeploymentKind, yn as ViewRuleGlobalStyle, yr as ShapeSize, yt as isTagColorSpecified, z as DeploymentViewExcludePredicate, zi as extractStep, zn as MetadataEqual, zt as ModelGlobals } from "../_chunks/index.mjs";
|
|
2
2
|
import { a as RectBox, c as XYPoint, i as BBox, l as convertPoint, n as VectorValue, o as Dimensions, r as vector, s as Point, t as Vector, u as isPoint } from "../_chunks/index2.mjs";
|
|
3
|
-
export { AbstractRelationship, AndOperator, Any, Any as AnyAux, AnyComputed, AnyExcludePredicate, AnyFqn, AnyIncludePredicate, AnyLayouted, AnyParsed, AnyView, AnyViewRuleStyle, AutoLayoutDirection, Aux, AuxFromDump, AuxFromLikeC4ModelData, BBox, BaseParsedViewProperties, BaseViewProperties, BorderStyle, BorderStyles, BuiltInIcon, Coalesce, Color, ColorLiteral, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4ModelData, ComputedNode, ComputedNodeStyle, ComputedRankConstraint, ComputedView, CustomColor, CustomColorDefinitions, DeployedInstance, DeploymentElement, DeploymentElementRef, DeploymentFqn, DeploymentKind, DeploymentNode, DeploymentRelation, DeploymentRelationship, DeploymentViewExcludePredicate, DeploymentViewIncludePredicate, DeploymentViewPredicate, DeploymentViewRule, DeploymentViewRuleStyle, DiagramEdge, DiagramEdgeDriftReason, DiagramNode, DiagramNodeDriftReason, LayoutedView as DiagramView, LayoutedView, Dimensions, DynamicStep, DynamicStepsParallel, DynamicStepsSeries, DynamicViewDisplayVariant, DynamicViewIncludeRule, DynamicViewRule, DynamicViewStep, EdgeId, Element, ElementColorValues, ElementKind, ElementShape, ElementShapes, ElementSpecification, ElementStyle, ElementViewExcludePredicate, ElementViewIncludePredicate, ElementViewPredicate, ElementViewRule, ElementViewRuleGroup, ElementViewRuleRank, ElementViewRuleStyle, EqualOperator, ExclusiveUnion, Expression, ExtractOnStage, Filterable, Fqn, FqnExpr, FqnRef, GlobalDynamicPredicates, GlobalFqn, GlobalPredicateId, GlobalPredicates, GlobalStyleID, GlobalStyles, GroupElementKind, Guard, GuardedBy, HexColor, Icon, IconPosition, IconPositions, IconSize, IconUrl, IterableContainer, IteratorLike, KeysOf, KindEqual, LayoutType, LayoutedDeploymentView, LayoutedDynamicView, LayoutedElementView, LayoutedLikeC4ModelData, LayoutedViewDriftReason, LikeC4ModelData, LikeC4ModelDump, LikeC4Project, LikeC4ProjectManualLayoutsConfig, LikeC4ProjectStyleDefaults, LikeC4ProjectStylesConfig, LikeC4ProjectStylesCustomStylesheets, LikeC4ProjectTheme, LikeC4StyleDefaults, LikeC4StylesConfig, LikeC4Theme, ParsedView as LikeC4View, ParsedView, Link, LooseLiteral, MarkdownOrString, MetadataEqual, ModelExpression, ModelFqnExpr, ModelGlobals, ModelRelation, ModelRelationExpr, ModelStage, NTuple, NodeId, NodeNotation, NonEmptyArray, NonEmptyReadonlyArray, NoneIcon, NotOperator, OperatorPredicate, OrOperator, ParsedDeploymentView, ParsedDynamicView, ParsedElementView, ParsedLikeC4ModelData, Participant, ParticipantOperator, Point, Predicate, PredicateSelector, ProcessedView, ProjectDump, ProjectId, RankValue, RectBox, RelationExpr, RelationId, RelationKind, Relationship, RelationshipArrowType, RelationshipArrowTypes, RelationshipColorValues, RelationshipKind, RelationshipLineType, RelationshipSpecification, ReorderedArray, RichText, RichTextEmpty, RichTextOrEmpty, ShapeSize, Size, Sizes, SpacingSize, SpecAux, SpecTypesFromDump, Specification, SpecificationDump, StepEdgeId, StepEdgeIdLiteral, StepEdgeKind, Tag, TagEqual, TagSpecification, TextSize, ThemeColor, ThemeColorValues, ThemeColors, Unknown, UnknownComputed, UnknownLayouted, UnknownParsed, Vector, VectorValue, ViewAutoLayout, ViewChange, ViewId, ViewManualLayoutSnapshot, ViewOnStage, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRulePredicate, ViewRuleRank, ViewType, ViewWithHash, ViewWithNotation, ViewWithType, WhereOperator, XYPoint, _layout, _stage, _type, _aux_d_exports as aux, convertPoint, ensureSizes, exact, extractStep, flattenMarkdownOrString, getParallelStepsPrefix, hasProp, isAndOperator, isAnyOf, isAutoLayoutDirection, isComputedView, isCustomColor, isDeployedInstance, isDeploymentNode, isDeploymentView, isDiagramView, isDiagramView as isLayoutedView, isDynamicStep, isDynamicStepsParallel, isDynamicStepsSeries, isDynamicView, isElementView, isExtendsElementView, isGlobalFqn, isGroupElementKind, isKindEqual, isMetadataEqual, isNonEmptyArray, isNotOperator, isOnStage, isOrOperator, isParticipantOperator, isPoint, isScopedElementView, isStepEdgeId, isString, isTagColorSpecified, isTagEqual, isThemeColor, isViewRuleAutoLayout, isViewRuleGlobalPredicateRef, isViewRuleGlobalStyle, isViewRuleGroup, isViewRulePredicate, isViewRuleRank, isViewRuleStyle, preferDescription, preferSummary, scalar_d_exports as scalar, splitGlobalFqn, stepEdgeId, vector, whereOperatorAsPredicate };
|
|
3
|
+
export { AbstractRelationship, AndOperator, Any, Any as AnyAux, AnyComputed, AnyExcludePredicate, AnyFqn, AnyIncludePredicate, AnyLayouted, AnyParsed, AnyView, AnyViewRuleStyle, AutoLayoutDirection, Aux, AuxFromDump, AuxFromLikeC4ModelData, BBox, BaseParsedViewProperties, BaseViewProperties, BorderStyle, BorderStyles, BuiltInIcon, Coalesce, Color, ColorLiteral, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4ModelData, ComputedNode, ComputedNodeStyle, ComputedRankConstraint, ComputedView, CustomColor, CustomColorDefinitions, DeployedInstance, DeploymentElement, DeploymentElementRef, DeploymentFqn, DeploymentKind, DeploymentNode, DeploymentRelation, DeploymentRelationship, DeploymentViewExcludePredicate, DeploymentViewIncludePredicate, DeploymentViewPredicate, DeploymentViewRule, DeploymentViewRuleStyle, DiagramEdge, DiagramEdgeDriftReason, DiagramNode, DiagramNodeDriftReason, LayoutedView as DiagramView, LayoutedView, Dimensions, DynamicStep, DynamicStepsParallel, DynamicStepsSeries, DynamicViewDisplayVariant, DynamicViewIncludeRule, DynamicViewRule, DynamicViewStep, EdgeId, Element, ElementColorValues, ElementKind, ElementShape, ElementShapes, ElementSpecification, ElementStyle, ElementViewExcludePredicate, ElementViewIncludePredicate, ElementViewPredicate, ElementViewRule, ElementViewRuleGroup, ElementViewRuleRank, ElementViewRuleStyle, EqualOperator, ExclusiveUnion, Expression, ExtractOnStage, Filterable, Fqn, FqnExpr, FqnRef, GlobalDynamicPredicates, GlobalFqn, GlobalPredicateId, GlobalPredicates, GlobalStyleID, GlobalStyles, GroupElementKind, Guard, GuardedBy, HexColor, Icon, IconPosition, IconPositions, IconSize, IconUrl, IterableContainer, IteratorLike, KeysOf, KindEqual, LayoutType, LayoutedDeploymentView, LayoutedDynamicView, LayoutedElementView, LayoutedLikeC4ModelData, LayoutedViewDriftReason, LikeC4ModelData, LikeC4ModelDump, LikeC4Project, LikeC4ProjectManualLayoutsConfig, LikeC4ProjectStyleDefaults, LikeC4ProjectStylesConfig, LikeC4ProjectStylesCustomStylesheets, LikeC4ProjectTheme, LikeC4StyleDefaults, LikeC4StylesConfig, LikeC4Theme, ParsedView as LikeC4View, ParsedView, Link, LooseLiteral, MarkdownOrString, MetadataEqual, ModelExpression, ModelFqnExpr, ModelGlobals, ModelRelation, ModelRelationExpr, ModelStage, NTuple, NodeId, NodeNotation, NonEmptyArray, NonEmptyReadonlyArray, NoneIcon, NotOperator, OperatorPredicate, OrOperator, ParsedDeploymentView, ParsedDynamicView, ParsedElementView, ParsedLikeC4ModelData, ParsedViewRuleAncestors, Participant, ParticipantOperator, Point, Predicate, PredicateSelector, ProcessedView, ProjectDump, ProjectId, RankValue, RectBox, RelationExpr, RelationId, RelationKind, Relationship, RelationshipArrowType, RelationshipArrowTypes, RelationshipColorValues, RelationshipKind, RelationshipLineType, RelationshipSpecification, ReorderedArray, RichText, RichTextEmpty, RichTextOrEmpty, ShapeSize, Size, Sizes, SpacingSize, SpecAux, SpecTypesFromDump, Specification, SpecificationDump, StepEdgeId, StepEdgeIdLiteral, StepEdgeKind, Tag, TagEqual, TagSpecification, TextSize, ThemeColor, ThemeColorValues, ThemeColors, Unknown, UnknownComputed, UnknownLayouted, UnknownParsed, Vector, VectorValue, ViewAutoLayout, ViewChange, ViewId, ViewManualLayoutSnapshot, ViewOnStage, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRulePredicate, ViewRuleRank, ViewType, ViewWithHash, ViewWithNotation, ViewWithType, WhereOperator, XYPoint, _layout, _stage, _type, _aux_d_exports as aux, convertPoint, ensureSizes, exact, extractStep, flattenMarkdownOrString, getParallelStepsPrefix, hasProp, isAndOperator, isAnyOf, isAutoLayoutDirection, isComputedView, isCustomColor, isDeployedInstance, isDeploymentNode, isDeploymentView, isDiagramView, isDiagramView as isLayoutedView, isDynamicStep, isDynamicStepsParallel, isDynamicStepsSeries, isDynamicView, isElementView, isExtendsElementView, isGlobalFqn, isGroupElementKind, isKindEqual, isMetadataEqual, isNonEmptyArray, isNotOperator, isOnStage, isOrOperator, isParticipantOperator, isPoint, isScopedElementView, isStepEdgeId, isString, isTagColorSpecified, isTagEqual, isThemeColor, isViewRuleAutoLayout, isViewRuleGlobalPredicateRef, isViewRuleGlobalStyle, isViewRuleGroup, isViewRulePredicate, isViewRuleRank, isViewRuleStyle, preferDescription, preferSummary, scalar_d_exports as scalar, splitGlobalFqn, stepEdgeId, vector, whereOperatorAsPredicate };
|
package/dist/types/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as e,$t as t,A as n,
|
|
1
|
+
import{$ as e,$t as t,A as n,An as r,C as i,Cn as a,D as o,E as s,G as c,J as l,K as u,O as d,Q as f,S as p,Sn as m,T as h,U as g,W as _,X as v,Y as y,Z as b,_ as x,_t as S,a as C,at as w,b as T,bt as E,c as D,ct as O,d as k,dt as A,en as j,et as M,f as N,ft as P,g as F,gt as I,h as L,ht as ee,i as R,it as z,jn as B,k as V,kn as H,l as U,lt as W,m as G,mt as K,n as q,nn as J,nt as Y,o as X,ot as Z,p as Q,pt as $,q as te,r as ne,rt as re,s as ie,st as ae,t as oe,tn as se,tt as ce,u as le,ut as ue,v as de,vt as fe,w as pe,x as me,xt as he,y as ge,yt as _e}from"../_chunks/types.mjs";export{m as BBox,f as DeploymentFqn,e as EdgeId,l as Expression,M as Fqn,y as FqnExpr,b as FqnRef,ce as GlobalFqn,Y as GroupElementKind,re as MarkdownOrString,c as ModelExpression,u as ModelFqnExpr,te as ModelRelationExpr,z as NodeId,w as NoneIcon,Z as ProjectId,a as RectBox,v as RelationExpr,ae as RelationId,oe as RichText,O as StepEdgeKind,W as ViewId,fe as _layout,_e as _stage,E as _type,n as ensureSizes,B as exact,ue as extractStep,A as flattenMarkdownOrString,R as getParallelStepsPrefix,t as hasProp,me as isAndOperator,j as isAnyOf,D as isAutoLayoutDirection,N as isComputedView,g as isDeployedInstance,_ as isDeploymentNode,Q as isDeploymentView,G as isDiagramView,G as isLayoutedView,C as isDynamicStep,X as isDynamicStepsParallel,ie as isDynamicStepsSeries,L as isDynamicView,F as isElementView,x as isExtendsElementView,P as isGlobalFqn,$ as isGroupElementKind,p as isKindEqual,i as isMetadataEqual,se as isNonEmptyArray,pe as isNotOperator,he as isOnStage,h as isOrOperator,s as isParticipantOperator,de as isScopedElementView,K as isStepEdgeId,J as isString,V as isTagColorSpecified,o as isTagEqual,U as isViewRuleAutoLayout,le as isViewRuleGlobalPredicateRef,k as isViewRuleGlobalStyle,q as isViewRuleGroup,ge as isViewRulePredicate,ne as isViewRuleRank,T as isViewRuleStyle,H as preferDescription,r as preferSummary,ee as scalar,I as splitGlobalFqn,S as stepEdgeId,d as whereOperatorAsPredicate};
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as isNonEmptyArray, o as isString } from "../_chunks/index.mjs";
|
|
2
|
-
import { a as DefaultWeakMap, i as LinkedList, n as
|
|
3
|
-
import { A as
|
|
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 };
|
|
2
|
+
import { a as DefaultWeakMap, i as LinkedList, n as Queue, o as DefaultMap, r as MultiMap, t as Stack } from "../_chunks/libs/mnemonist.mjs";
|
|
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 "../_chunks/index5.mjs";
|
|
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 };
|
package/dist/utils/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{At as e,Bt as t,Dt as n,En as r,Et as i,Ft as a,Gt as o,Ht as s,It as c,Jt as l,Kt as u,Lt as d,Mt as f,Nt as p,Ot as m,Pt as h,Qt as g,Rt as _,Tn as v,Tt as y,Ut as b,Vt as x,Wt as S,Xt as C,Yt as w,Zt as T,_n as E,an as D,bn as O,cn as k,dn as A,fn as j,gn as M,hn as N,in as P,kt as F,ln as I,mn as L,nn as R,on as z,pn as B,qt as V,rn as H,sn as U,tn as W,un as G,vn as K,wn as q,wt as J,xn as Y,yn as X,zt as Z}from"../_chunks/types.mjs";import{a as Q,c as $,n as ee,o as te,r as ne,t as re}from"../_chunks/libs/mnemonist.mjs";var ie=re.default,ae=ee.default,oe=ne.default,se=Q.default,ce=te.default,le=$.default;export{ie as DefaultMap,ae as DefaultWeakMap,oe as LinkedList,se as MultiMap,ce as Queue,le as Stack,P as ancestorsFqn,D as commonAncestor,Y as commonHead,z as compareByFqnHierarchically,U as compareFqnHierarchically,K as compareNatural,X as compareNaturalHierarchically,a as compareRelations,c as delay,F as difference,e as equalsSet,H as getOrCreate,k as hierarchyDistance,I as hierarchyLevel,T as ifilter,C as ifind,w as ifirst,l as iflat,V as iflatMap,u as ihead,o as imap,f as intersection,q as invariant,S as ireduce,G as isAncestor,A as isDescendantOf,g as isIterable,W as isNonEmptyArray,j as isSameHierarchy,R as isString,b as isome,t as iunique,i as markdownToHtml,y as markdownToText,Z as memoizeProp,B as nameFromFqn,v as nonNullable,r as nonexhaustive,m as objectHash,d as onNextTick,L as parentFqn,_ as promiseNextTick,N as sortByFqnHierarchically,O as sortNatural,M as sortNaturalByFqn,E as sortParentsFirst,n as stringHash,p as symmetricDifference,x as toArray,s as toSet,h as union,J as unsafePartial};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.58.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://likec4.dev",
|
|
6
6
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -102,22 +102,22 @@
|
|
|
102
102
|
"access": "public"
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"immer": "^11.1.
|
|
105
|
+
"immer": "^11.1.8",
|
|
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.2.2",
|
|
112
112
|
"@rolldown/plugin-node-polyfills": "^1.0.3",
|
|
113
113
|
"@types/chroma-js": "^3.1.2",
|
|
114
114
|
"@types/extend": "3.0.4",
|
|
115
115
|
"@types/hast": "3.0.4",
|
|
116
116
|
"@types/mdast": "4.0.4",
|
|
117
117
|
"@types/natural-compare-lite": "^1.4.2",
|
|
118
|
-
"@types/node": "~22.19.
|
|
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.20260602.1",
|
|
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
|
"obuild": "0.4.31",
|
|
134
134
|
"ohash": "^2.0.11",
|
|
135
|
-
"oxlint": "1.
|
|
135
|
+
"oxlint": "1.68.0",
|
|
136
136
|
"rehype-format": "5.0.1",
|
|
137
137
|
"rehype-sanitize": "^6.0.0",
|
|
138
138
|
"rehype-stringify": "10.0.1",
|
|
@@ -140,15 +140,15 @@
|
|
|
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.9.
|
|
145
|
-
"typescript": "
|
|
143
|
+
"remeda": "^2.37.0",
|
|
144
|
+
"turbo": "2.9.16",
|
|
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/
|
|
147
|
+
"vitest": "4.1.8",
|
|
148
|
+
"@likec4/devops": "1.58.0",
|
|
149
|
+
"@likec4/style-preset": "1.58.0",
|
|
150
|
+
"@likec4/tsconfig": "1.58.0",
|
|
151
|
+
"@likec4/styles": "1.58.0"
|
|
152
152
|
},
|
|
153
153
|
"scripts": {
|
|
154
154
|
"typecheck": "tsc -b --verbose",
|