@likec4/core 1.52.0 → 1.53.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 +10 -1
- package/dist/_chunks/_types.d.mts +14 -6
- package/dist/_chunks/_types2.d.mts +1 -1
- package/dist/_chunks/assignTagColors.mjs +1 -1
- package/dist/_chunks/index.d.mts +23 -7
- package/dist/_chunks/index3.d.mts +4 -3
- package/dist/_chunks/index4.d.mts +1 -1
- package/dist/_chunks/index5.d.mts +1 -1
- package/dist/_chunks/manual-layout.mjs +1 -1
- package/dist/_chunks/model.mjs +3 -3
- package/dist/_chunks/types.mjs +1 -1
- package/dist/_chunks/utils.mjs +1 -1
- package/dist/builder/index.mjs +1 -1
- package/dist/compute-view/index.d.mts +1 -1
- package/dist/compute-view/index.mjs +2 -2
- package/dist/index.d.mts +11 -2
- package/dist/index.mjs +1 -1
- package/dist/styles/index.d.mts +1 -1
- package/dist/styles/index.mjs +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +1 -1
- package/package.json +11 -11
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./_chunks/libs/defu.mjs";import"./_chunks/libs/remeda.mjs";import{$ as e,A as t,
|
|
1
|
+
import"./_chunks/libs/defu.mjs";import"./_chunks/libs/remeda.mjs";import{$ as e,A as t,C as n,D as r,E as i,G as a,H as o,J as s,K as c,O as l,Q as u,S as d,St as f,T as p,U as m,V as h,W as g,X as _,Y as v,Z as y,_ as b,_t as x,a as S,at as C,b as w,bt as T,c as E,ct as D,d as O,dt as k,et as A,f as j,ft as M,g as N,gt as P,h as F,ht as I,i as L,it as R,j as z,k as B,l as V,lt as H,m as U,mt as W,n as G,nt as K,o as q,ot as J,p as Y,pt as X,q as Z,r as Q,rt as $,s as ee,st as te,t as ne,tt as re,u as ie,ut as ae,v as oe,vt as se,w as ce,x as le,xt as ue,y as de,yt as fe}from"./_chunks/types.mjs";import{i as pe,r as me}from"./_chunks/geometry.mjs";import{$ as he,A as ge,B as _e,G as ve,H as ye,I as be,K as xe,L as Se,O as Ce,Q as we,R as Te,U as Ee,W as De,et as Oe,h as ke,q as Ae,z as je}from"./_chunks/utils.mjs";import"./_chunks/libs/graphology-dag.mjs";import{a as Me,n as Ne,o as Pe,r as Fe,t as Ie}from"./_chunks/libs/mnemonist.mjs";import"./_chunks/libs/natural-compare-lite.mjs";import"./_chunks/libs/ohash.mjs";import"./_chunks/libs/@ungap/structured-clone.mjs";import"./_chunks/libs/hast-util-sanitize.mjs";import"./_chunks/libs/rehype-sanitize.mjs";import"./_chunks/libs/hast-util-to-html.mjs";import"./_chunks/libs/character-entities-legacy.mjs";import"./_chunks/libs/character-entities-html4.mjs";import"./_chunks/libs/ccount.mjs";import"./_chunks/libs/comma-separated-tokens.mjs";import"./_chunks/libs/rehype-stringify.mjs";import"./_chunks/libs/devlop.mjs";import"./_chunks/libs/mdast-util-from-markdown.mjs";import"./_chunks/libs/escape-string-regexp.mjs";import"./_chunks/libs/mdast-util-find-and-replace.mjs";import"./_chunks/libs/mdast-util-gfm.mjs";import"./_chunks/libs/markdown-table.mjs";import"./_chunks/libs/longest-streak.mjs";import"./_chunks/libs/character-entities.mjs";import"./_chunks/libs/decode-named-character-reference.mjs";import"./_chunks/libs/micromark-extension-gfm.mjs";import"./_chunks/libs/remark-gfm.mjs";import"./_chunks/libs/remark-github-blockquote-alert.mjs";import"./_chunks/libs/remark-parse.mjs";import"./_chunks/libs/mdast-util-to-hast.mjs";import"./_chunks/libs/remark-rehype.mjs";import"./_chunks/libs/bail.mjs";import"./_chunks/libs/extend.mjs";import"./_chunks/libs/is-plain-obj.mjs";import"./_chunks/libs/trough.mjs";import"./_chunks/libs/unified.mjs";import"./_chunks/libs/@radix-ui/colors.mjs";import"./_chunks/libs/@mantine/colors-generator.mjs";import{i as Le,n as Re,t as ze}from"./_chunks/manual-layout.mjs";import"./_chunks/assignTagColors.mjs";import"./styles/index.mjs";var Be=Ie.default,Ve=Ne.default,He=Fe.default,Ue=Me.default,We=Pe.default;export{me as BBox,Be as DefaultMap,Ve as DefaultWeakMap,_ as DeploymentFqn,y as EdgeId,c as Expression,u as Fqn,Z as FqnExpr,v as FqnRef,e as GlobalFqn,A as GroupElementKind,z as LikeC4Styles,He as LinkedList,re as MarkdownOrString,m as ModelExpression,g as ModelFqnExpr,a as ModelRelationExpr,Ue as MultiMap,K as NodeId,$ as NoneIcon,R as ProjectId,We as Queue,pe as RectBox,s as RelationExpr,C as RelationId,ne as RichText,J as StepEdgeKind,te as ViewId,P as _layout,x as _stage,se as _type,ge as ancestorsFqn,Le as applyCachedLayout,Re as applyManualLayout,ze as calcDriftsFromSnapshot,t as ensureSizes,f as exact,D as extractStep,H as flattenMarkdownOrString,L as getParallelStepsPrefix,De as hasProp,we as invariant,be as isAncestor,le as isAndOperator,ve as isAnyOf,E as isAutoLayoutDirection,j as isComputedView,h as isDeployedInstance,o as isDeploymentNode,Y as isDeploymentView,Se as isDescendantOf,U as isDiagramView,U as isLayoutedView,S as isDynamicStep,q as isDynamicStepsParallel,ee as isDynamicStepsSeries,F as isDynamicView,N as isElementView,b as isExtendsElementView,ae as isGlobalFqn,k as isGroupElementKind,Ce as isIterable,d as isKindEqual,n as isMetadataEqual,xe as isNonEmptyArray,ce as isNotOperator,fe as isOnStage,p as isOrOperator,i as isParticipantOperator,Te as isSameHierarchy,oe as isScopedElementView,M as isStepEdgeId,Ae as isString,B as isTagColorSpecified,r as isTagEqual,V as isViewRuleAutoLayout,ie as isViewRuleGlobalPredicateRef,O as isViewRuleGlobalStyle,G as isViewRuleGroup,de as isViewRulePredicate,Q as isViewRuleRank,w as isViewRuleStyle,ke as memoizeProp,je as nameFromFqn,he as nonNullable,Oe as nonexhaustive,_e as parentFqn,T as preferDescription,ue as preferSummary,X as scalar,ye as sortNaturalByFqn,Ee as sortParentsFirst,W as splitGlobalFqn,I as stepEdgeId,l as whereOperatorAsPredicate};
|
package/dist/styles/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ar as Sizes, Cr as ThemeColorValues, Dr as DefaultTagColors, Er as BorderStyles, Or as ElementShapes, Sr as ThemeColor, Tr as isThemeColor, _r as RelationshipLineType, ar as CustomColorDefinitions, br as SpacingSize, cr as HexColor, dr as LikeC4StyleDefaults, fr as LikeC4StylesConfig, gr as RelationshipColorValues, hr as RelationshipArrowTypes, ir as CustomColor, jr as ThemeColors, kr as IconPositions, lr as IconPosition, mr as RelationshipArrowType, nr as Color, or as ElementColorValues, pr as LikeC4Theme, rr as ColorLiteral, sr as ElementShape, tr as BorderStyle, ur as IconSize, vr as ShapeSize, wr as isCustomColor, xr as TextSize, yr as Size } from "../_chunks/index.mjs";
|
|
2
2
|
import "../_chunks/index2.mjs";
|
|
3
3
|
import { a as assignTagColors, i as LikeC4Styles, n as styleDefaults, r as computeColorValues, t as defaultTheme } from "../_chunks/index3.mjs";
|
|
4
4
|
export { BorderStyle, BorderStyles, Color, ColorLiteral, CustomColor, CustomColorDefinitions, DefaultTagColors, ElementColorValues, ElementShape, ElementShapes, HexColor, IconPosition, IconPositions, IconSize, LikeC4StyleDefaults, LikeC4Styles, LikeC4StylesConfig, LikeC4Theme, RelationshipArrowType, RelationshipArrowTypes, RelationshipColorValues, RelationshipLineType, ShapeSize, Size, Sizes, SpacingSize, TextSize, ThemeColor, ThemeColorValues, ThemeColors, assignTagColors, computeColorValues, defaultTheme, isCustomColor, isThemeColor, styleDefaults };
|
package/dist/styles/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../_chunks/libs/defu.mjs";import"../_chunks/libs/remeda.mjs";import{
|
|
1
|
+
import"../_chunks/libs/defu.mjs";import"../_chunks/libs/remeda.mjs";import{B as e,F as t,I as n,L as r,M as i,N as a,P as o,R as s,j as c,z as l}from"../_chunks/types.mjs";import"../_chunks/geometry.mjs";import"../_chunks/utils.mjs";import"../_chunks/libs/graphology-dag.mjs";import"../_chunks/libs/mnemonist.mjs";import"../_chunks/libs/natural-compare-lite.mjs";import"../_chunks/libs/ohash.mjs";import"../_chunks/libs/@ungap/structured-clone.mjs";import"../_chunks/libs/hast-util-sanitize.mjs";import"../_chunks/libs/rehype-sanitize.mjs";import"../_chunks/libs/hast-util-to-html.mjs";import"../_chunks/libs/character-entities-legacy.mjs";import"../_chunks/libs/character-entities-html4.mjs";import"../_chunks/libs/ccount.mjs";import"../_chunks/libs/comma-separated-tokens.mjs";import"../_chunks/libs/rehype-stringify.mjs";import"../_chunks/libs/devlop.mjs";import"../_chunks/libs/mdast-util-from-markdown.mjs";import"../_chunks/libs/escape-string-regexp.mjs";import"../_chunks/libs/mdast-util-find-and-replace.mjs";import"../_chunks/libs/mdast-util-gfm.mjs";import"../_chunks/libs/markdown-table.mjs";import"../_chunks/libs/longest-streak.mjs";import"../_chunks/libs/character-entities.mjs";import"../_chunks/libs/decode-named-character-reference.mjs";import"../_chunks/libs/micromark-extension-gfm.mjs";import"../_chunks/libs/remark-gfm.mjs";import"../_chunks/libs/remark-github-blockquote-alert.mjs";import"../_chunks/libs/remark-parse.mjs";import"../_chunks/libs/mdast-util-to-hast.mjs";import"../_chunks/libs/remark-rehype.mjs";import"../_chunks/libs/bail.mjs";import"../_chunks/libs/extend.mjs";import"../_chunks/libs/is-plain-obj.mjs";import"../_chunks/libs/trough.mjs";import"../_chunks/libs/unified.mjs";import"../_chunks/libs/@radix-ui/colors.mjs";import"../_chunks/libs/@mantine/colors-generator.mjs";import{t as u}from"../_chunks/assignTagColors.mjs";const d=[`none`,`normal`,`onormal`,`dot`,`odot`,`diamond`,`odiamond`,`crow`,`open`,`vee`];function f(t){return e.includes(t)}function p(e){return!f(e)}export{t as BorderStyles,n as DefaultTagColors,r as ElementShapes,s as IconPositions,c as LikeC4Styles,d as RelationshipArrowTypes,l as Sizes,e as ThemeColors,u as assignTagColors,o as computeColorValues,i as defaultTheme,p as isCustomColor,f as isThemeColor,a as styleDefaults};
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as LayoutedViewDriftReason, $i as
|
|
1
|
+
import { $ as LayoutedViewDriftReason, $i as ExclusiveUnion, $n as whereOperatorAsPredicate, $t as ElementViewPredicate, A as isComputedView, Ai as RelationId, An as Expression, Ar as Sizes, At as ModelRelation, B as DeploymentViewIncludePredicate, Bi as isGlobalFqn, Bn as OperatorPredicate, Bt as DynamicStepsParallel, C as LayoutedView, Ci as GroupElementKind, Cn as isAutoLayoutDirection, Cr as ThemeColorValues, Ct as DeploymentRelation, D as ViewRule, Di as NodeId, Dn as ModelExpression, Dt as AbstractRelationship, E as ViewOnStage, Ei as MarkdownOrString, En as isViewRuleGlobalStyle, Er as BorderStyles, Et as isDeploymentNode, F as isExtendsElementView, Fi as StepEdgeKind, Fn as EqualOperator, Fr as AnyParsed, Ft as GlobalPredicates, G as DiagramEdge, Gi as stepEdgeId, Gn as WhereOperator, Gt as DynamicViewStep, H as DeploymentViewRule, Hi as isStepEdgeId, Hn as Participant, Ht as DynamicViewDisplayVariant, I as isScopedElementView, Ii as Tag, In as Filterable, Ir as Aux, It as GlobalStyleID, J as LayoutedDeploymentView, Ji as _layout, Jn as isMetadataEqual, Jt as isDynamicStep, K as DiagramNode, Ki as ExtractOnStage, Kn as isAndOperator, Kr as LooseLiteral, Kt as ParsedDynamicView, L as isViewRulePredicate, Li as ViewId, Ln as KindEqual, Lt as GlobalStyles, M as isDiagramView, Mi as RelationshipKind, Mn as PredicateSelector, Mr as Any, Mt as ensureSizes, N as isDynamicView, Ni as StepEdgeId, Nn as RelationExpr, Nr as AnyComputed, Nt as GlobalDynamicPredicates, O as ViewRulePredicate, Oi as NoneIcon, On as ModelFqnExpr, Or as ElementShapes, Ot as Element, P as isElementView, Pi as StepEdgeIdLiteral, Pn as AndOperator, Pr as AnyLayouted, Pt as GlobalPredicateId, Q as DiagramNodeDriftReason, Qi as Coalesce, Qn as isTagEqual, Qt as ElementViewIncludePredicate, R as isViewRuleStyle, Ri as extractStep, Rn as MetadataEqual, Rt as ModelGlobals, S as ComputedView, Si as GlobalFqn, Sn as ViewWithNotation, Sr as ThemeColor, St as DeploymentNode, T as ProcessedView, Ti as IconUrl, Tn as isViewRuleGlobalPredicateRef, Tr as isThemeColor, Tt as isDeployedInstance, U as DeploymentViewRuleStyle, Ui as scalar_d_exports, Un as ParticipantOperator, Ut as DynamicViewIncludeRule, V as DeploymentViewPredicate, Vi as isGroupElementKind, Vn as OrOperator, Vt as DynamicStepsSeries, W as ParsedDeploymentView, Wi as splitGlobalFqn, Wn as TagEqual, Wt as DynamicViewRule, X as LayoutedElementView, Xi as _type, Xn as isOrOperator, Xt as isDynamicStepsSeries, Y as LayoutedDynamicView, Yi as _stage, Yn as isNotOperator, Yt as isDynamicStepsParallel, Z as DiagramEdgeDriftReason, Zi as isOnStage, Zn as isParticipantOperator, Zt as ElementViewExcludePredicate, _ as ComputedLikeC4ModelData, _i as DeploymentFqn, _n as ViewRuleGlobalPredicateRef, _r as RelationshipLineType, _t as TagSpecification, a as isNonEmptyArray, aa as NonEmptyArray, ai as Unknown, an as isViewRuleGroup, ar as CustomColorDefinitions, at as ComputedNode, b as ParsedLikeC4ModelData, bi as ElementKind, bn as ViewType, br as SpacingSize, bt as DeploymentElement, c as RichTextEmpty, ca as ReorderedArray, ci as UnknownParsed, cn as AnyIncludePredicate, cr as HexColor, ct as LikeC4Project, d as AuxFromDump, di as preferDescription, dn as BaseParsedViewProperties, dr as LikeC4StyleDefaults, dt as LikeC4ProjectStylesConfig, ea as IterableContainer, ei as SpecAux, en as ElementViewRule, er as FqnRef, et as ViewManualLayoutSnapshot, f as LikeC4ModelDump, fi as preferSummary, fn as BaseViewProperties, fr as LikeC4StylesConfig, ft as LikeC4ProjectStylesCustomStylesheets, g as AuxFromLikeC4ModelData, gi as BuiltInIcon, gn as ViewRuleAutoLayout, gr as RelationshipColorValues, gt as Specification, h as SpecificationDump, hi as AnyFqn, hn as ViewAutoLayout, hr as RelationshipArrowTypes, ht as RelationshipSpecification, i as isAnyOf, ia as NTuple, in as ParsedElementView, ir as CustomColor, it as ComputedElementView, j as isDeploymentView, ji as RelationKind, jn as FqnExpr, jr as ThemeColors, jt as Relationship, k as ViewWithType, ki as ProjectId, kn as ModelRelationExpr, kr as IconPositions, kt as ElementStyle, l as RichTextOrEmpty, la as exact, ln as AnyViewRuleStyle, lr as IconPosition, lt as LikeC4ProjectManualLayoutsConfig, m as SpecTypesFromDump, mn as RankValue, mr as RelationshipArrowType, mt as ElementSpecification, n as GuardedBy, na as KeysOf, nn as ElementViewRuleRank, nr as Color, nt as ComputedDynamicView, o as isString, oa as NonEmptyReadonlyArray, oi as UnknownComputed, on as isViewRuleRank, or as ElementColorValues, ot as ComputedNodeStyle, p as ProjectDump, pn as NodeNotation, pr as LikeC4Theme, pt as LikeC4ProjectTheme, q as LayoutType, qi as ModelStage, qn as isKindEqual, qt as getParallelStepsPrefix, r as hasProp, ra as Link, rn as ElementViewRuleStyle, rr as ColorLiteral, rt as ComputedEdge, s as RichText, sa as Predicate, si as UnknownLayouted, sn as AnyExcludePredicate, sr as ElementShape, st as ComputedRankConstraint, t as Guard, ta as IteratorLike, tn as ElementViewRuleGroup, tr as BorderStyle, tt as ComputedDeploymentView, u as ViewChange, ui as _aux_d_exports, un as AutoLayoutDirection, ur as IconSize, ut as LikeC4ProjectStyleDefaults, v as LayoutedLikeC4ModelData, vi as DeploymentKind, vn as ViewRuleGlobalStyle, vr as ShapeSize, vt as isTagColorSpecified, w as ParsedView, wi as Icon, wn as isViewRuleAutoLayout, wr as isCustomColor, wt as DeploymentRelationship, x as AnyView, xi as Fqn, xn as ViewWithHash, xr as TextSize, xt as DeploymentElementRef, y as LikeC4ModelData, yi as EdgeId, yn as ViewRuleRank, yr as Size, yt as DeployedInstance, z as DeploymentViewExcludePredicate, zi as flattenMarkdownOrString, zn as NotOperator, zt as DynamicStep } 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, 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, 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, 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"../_chunks/libs/defu.mjs";import"../_chunks/libs/remeda.mjs";import{$ as e,
|
|
1
|
+
import"../_chunks/libs/defu.mjs";import"../_chunks/libs/remeda.mjs";import{$ as e,A as t,C as n,D as r,E as i,G as a,H as o,J as s,K as c,O as l,Q as u,S as d,St as f,T as p,U as m,V as h,W as g,X as _,Y as v,Z as y,_ as b,_t as x,a as S,at as C,b as w,bt as T,c as E,ct as D,d as O,dt as k,et as A,f as j,ft as M,g as N,gt as P,h as F,ht as I,i as L,it as ee,k as R,l as z,lt as B,m as V,mt as H,n as U,nt as W,o as G,ot as K,p as q,pt as J,q as Y,r as X,rt as Z,s as Q,st as $,t as te,tt as ne,u as re,ut as ie,v as ae,vt as oe,w as se,x as ce,xt as le,y as ue,yt as de}from"../_chunks/types.mjs";import{i as fe,r as pe}from"../_chunks/geometry.mjs";import{G as me,K as he,W as ge,q as _e}from"../_chunks/utils.mjs";import"../_chunks/libs/graphology-dag.mjs";import"../_chunks/libs/mnemonist.mjs";import"../_chunks/libs/natural-compare-lite.mjs";import"../_chunks/libs/ohash.mjs";import"../_chunks/libs/@ungap/structured-clone.mjs";import"../_chunks/libs/hast-util-sanitize.mjs";import"../_chunks/libs/rehype-sanitize.mjs";import"../_chunks/libs/hast-util-to-html.mjs";import"../_chunks/libs/character-entities-legacy.mjs";import"../_chunks/libs/character-entities-html4.mjs";import"../_chunks/libs/ccount.mjs";import"../_chunks/libs/comma-separated-tokens.mjs";import"../_chunks/libs/rehype-stringify.mjs";import"../_chunks/libs/devlop.mjs";import"../_chunks/libs/mdast-util-from-markdown.mjs";import"../_chunks/libs/escape-string-regexp.mjs";import"../_chunks/libs/mdast-util-find-and-replace.mjs";import"../_chunks/libs/mdast-util-gfm.mjs";import"../_chunks/libs/markdown-table.mjs";import"../_chunks/libs/longest-streak.mjs";import"../_chunks/libs/character-entities.mjs";import"../_chunks/libs/decode-named-character-reference.mjs";import"../_chunks/libs/micromark-extension-gfm.mjs";import"../_chunks/libs/remark-gfm.mjs";import"../_chunks/libs/remark-github-blockquote-alert.mjs";import"../_chunks/libs/remark-parse.mjs";import"../_chunks/libs/mdast-util-to-hast.mjs";import"../_chunks/libs/remark-rehype.mjs";import"../_chunks/libs/bail.mjs";import"../_chunks/libs/extend.mjs";import"../_chunks/libs/is-plain-obj.mjs";import"../_chunks/libs/trough.mjs";import"../_chunks/libs/unified.mjs";import"../_chunks/libs/@radix-ui/colors.mjs";import"../_chunks/libs/@mantine/colors-generator.mjs";export{pe as BBox,_ as DeploymentFqn,y as EdgeId,c as Expression,u as Fqn,Y as FqnExpr,v as FqnRef,e as GlobalFqn,A as GroupElementKind,ne as MarkdownOrString,m as ModelExpression,g as ModelFqnExpr,a as ModelRelationExpr,W as NodeId,Z as NoneIcon,ee as ProjectId,fe as RectBox,s as RelationExpr,C as RelationId,te as RichText,K as StepEdgeKind,$ as ViewId,P as _layout,x as _stage,oe as _type,t as ensureSizes,f as exact,D as extractStep,B as flattenMarkdownOrString,L as getParallelStepsPrefix,ge as hasProp,ce as isAndOperator,me as isAnyOf,E as isAutoLayoutDirection,j as isComputedView,h as isDeployedInstance,o as isDeploymentNode,q as isDeploymentView,V as isDiagramView,V as isLayoutedView,S as isDynamicStep,G as isDynamicStepsParallel,Q as isDynamicStepsSeries,F as isDynamicView,N as isElementView,b as isExtendsElementView,ie as isGlobalFqn,k as isGroupElementKind,d as isKindEqual,n as isMetadataEqual,he as isNonEmptyArray,se as isNotOperator,de as isOnStage,p as isOrOperator,i as isParticipantOperator,ae as isScopedElementView,M as isStepEdgeId,_e as isString,R as isTagColorSpecified,r as isTagEqual,z as isViewRuleAutoLayout,re as isViewRuleGlobalPredicateRef,O as isViewRuleGlobalStyle,U as isViewRuleGroup,ue as isViewRulePredicate,X as isViewRuleRank,w as isViewRuleStyle,T as preferDescription,le as preferSummary,J as scalar,H as splitGlobalFqn,I as stepEdgeId,l as whereOperatorAsPredicate};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.53.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://likec4.dev",
|
|
6
6
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -108,16 +108,16 @@
|
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@dagrejs/dagre": "1.1.8",
|
|
111
|
-
"@mantine/colors-generator": "8.3.
|
|
111
|
+
"@mantine/colors-generator": "8.3.17",
|
|
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.15",
|
|
119
119
|
"@types/unist": "3.0.3",
|
|
120
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
120
|
+
"@typescript/native-preview": "7.0.0-dev.20260316.1",
|
|
121
121
|
"chroma-js": "^3.2.0",
|
|
122
122
|
"defu": "^6.1.4",
|
|
123
123
|
"fdir": "6.4.0",
|
|
@@ -130,9 +130,9 @@
|
|
|
130
130
|
"mnemonist": "0.40.3",
|
|
131
131
|
"natural-compare-lite": "^1.4.0",
|
|
132
132
|
"obliterator": "^2.0.5",
|
|
133
|
-
"obuild": "
|
|
133
|
+
"obuild": "0.4.31",
|
|
134
134
|
"ohash": "^2.0.11",
|
|
135
|
-
"oxlint": "1.
|
|
135
|
+
"oxlint": "1.55.0",
|
|
136
136
|
"rehype-format": "5.0.1",
|
|
137
137
|
"rehype-sanitize": "^6.0.0",
|
|
138
138
|
"rehype-stringify": "10.0.1",
|
|
@@ -141,14 +141,14 @@
|
|
|
141
141
|
"remark-parse": "11.0.0",
|
|
142
142
|
"remark-rehype": "11.1.2",
|
|
143
143
|
"remeda": "^2.33.6",
|
|
144
|
-
"turbo": "2.8.
|
|
144
|
+
"turbo": "2.8.17",
|
|
145
145
|
"typescript": "5.9.3",
|
|
146
146
|
"unified": "11.0.5",
|
|
147
|
-
"vitest": "4.0
|
|
147
|
+
"vitest": "4.1.0",
|
|
148
148
|
"@likec4/devops": "1.42.0",
|
|
149
|
-
"@likec4/styles": "1.
|
|
150
|
-
"@likec4/
|
|
151
|
-
"@likec4/
|
|
149
|
+
"@likec4/styles": "1.53.0",
|
|
150
|
+
"@likec4/style-preset": "1.53.0",
|
|
151
|
+
"@likec4/tsconfig": "1.53.0"
|
|
152
152
|
},
|
|
153
153
|
"scripts": {
|
|
154
154
|
"typecheck": "tsc -b --verbose",
|