@likec4/core 1.24.1 → 1.25.1
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.d.ts +2 -2
- package/dist/builder/index.mjs +3 -3
- package/dist/compute-view/index.d.mts +3 -3
- package/dist/compute-view/index.d.ts +3 -3
- package/dist/compute-view/index.mjs +5 -5
- package/dist/index.d.mts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.mjs +5 -5
- package/dist/model/index.d.mts +3 -3
- package/dist/model/index.d.ts +3 -3
- package/dist/model/index.mjs +1 -1
- package/dist/shared/{core.k4jahJ8j.d.ts → core.B4fHpdUJ.d.ts} +1 -1
- package/dist/shared/{core.BreLKHbT.d.mts → core.B4wY1NqR.d.mts} +2 -1
- package/dist/shared/{core.3L0y_SNW.d.mts → core.C4dHhcrI.d.mts} +1 -1
- package/dist/shared/{core.Mz23ea8u.mjs → core.CVZbbLy6.mjs} +5 -5
- package/dist/shared/{core.C9UbC1nX.d.ts → core.CWZqfEHX.d.ts} +2 -1
- package/dist/shared/{core.DbfQeUKm.d.mts → core.D1_bU4dO.d.mts} +1 -1
- package/dist/shared/{core.BNaXALvz.mjs → core.DCetokL7.mjs} +1 -1
- package/dist/shared/{core.CHsHWcLq.mjs → core.DQMSDiu8.mjs} +4 -1047
- package/dist/shared/{core.DT2JT2Cd.mjs → core.DmBjVt1u.mjs} +1 -1
- package/dist/shared/{core.DBToPQ3n.d.ts → core.Dw2eQBtz.d.ts} +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.d.mts +33 -56
- package/dist/utils/index.d.ts +33 -56
- package/dist/utils/index.mjs +1046 -3
- package/package.json +7 -7
- package/src/types/index.ts +4 -0
- package/src/types/operators.ts +1 -1
package/dist/builder/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LastArrayElement, Split, Simplify, Writable, IfNever, TupleToUnion, Tagged, IsStringLiteral as IsStringLiteral$1, IsLiteral } from 'type-fest';
|
|
2
|
-
import { L as LikeC4Model } from '../shared/core.
|
|
3
|
-
import { D as DeploymentElement, i as DeploymentRelation,
|
|
2
|
+
import { L as LikeC4Model } from '../shared/core.D1_bU4dO.mjs';
|
|
3
|
+
import { D as DeploymentElement, i as DeploymentRelation, ax as ModelRelation, ap as Participant, A as CustomElementExpr, B as CustomRelationExpr, bw as ViewRuleStyle, aX as AutoLayoutDirection, X as ExpressionV2, N as Expression, L as LikeC4View, b4 as DeploymentView, bh as ElementView, az as RelationshipArrowType, aC as RelationshipLineType, aB as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, a9 as ParsedLikeC4Model } from '../shared/core.B4wY1NqR.mjs';
|
|
4
4
|
import { F as Fqn, l as Element, N as NonEmptyArray, o as ElementShape, w as Color, k as BorderStyle, S as ShapeSize, J as SpacingSize, M as TextSize, m as ElementKindSpecification, K as KeysOf } from '../shared/core.Bhx0OGK8.mjs';
|
|
5
5
|
import { IsStringLiteral } from 'type-fest/source/is-literal';
|
|
6
6
|
|
package/dist/builder/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LastArrayElement, Split, Simplify, Writable, IfNever, TupleToUnion, Tagged, IsStringLiteral as IsStringLiteral$1, IsLiteral } from 'type-fest';
|
|
2
|
-
import { L as LikeC4Model } from '../shared/core.
|
|
3
|
-
import { D as DeploymentElement, i as DeploymentRelation,
|
|
2
|
+
import { L as LikeC4Model } from '../shared/core.B4fHpdUJ.js';
|
|
3
|
+
import { D as DeploymentElement, i as DeploymentRelation, ax as ModelRelation, ap as Participant, A as CustomElementExpr, B as CustomRelationExpr, bw as ViewRuleStyle, aX as AutoLayoutDirection, X as ExpressionV2, N as Expression, L as LikeC4View, b4 as DeploymentView, bh as ElementView, az as RelationshipArrowType, aC as RelationshipLineType, aB as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, a9 as ParsedLikeC4Model } from '../shared/core.CWZqfEHX.js';
|
|
4
4
|
import { F as Fqn, l as Element, N as NonEmptyArray, o as ElementShape, w as Color, k as BorderStyle, S as ShapeSize, J as SpacingSize, M as TextSize, m as ElementKindSpecification, K as KeysOf } from '../shared/core.Bhx0OGK8.js';
|
|
5
5
|
import { IsStringLiteral } from 'type-fest/source/is-literal';
|
|
6
6
|
|
package/dist/builder/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i, l, d, L as LikeC4Model } from '../shared/core.
|
|
2
|
-
import { b as t, m, n as nameFromFqn, l as l$1, c as isSameHierarchy, p as parentFqn, a as i$1, d as t$1 } from '../shared/core.
|
|
3
|
-
import { o, b as isElementPredicateExpr, D as DefaultElementShape, c as DefaultThemeColor, n as n$1, d as DeploymentElement, e as isScopedElementView } from '../shared/core.
|
|
1
|
+
import { i, l, d, L as LikeC4Model } from '../shared/core.CVZbbLy6.mjs';
|
|
2
|
+
import { b as t, m, n as nameFromFqn, l as l$1, c as isSameHierarchy, p as parentFqn, a as i$1, d as t$1 } from '../shared/core.DQMSDiu8.mjs';
|
|
3
|
+
import { o, b as isElementPredicateExpr, D as DefaultElementShape, c as DefaultThemeColor, n as n$1, d as DeploymentElement, e as isScopedElementView } from '../shared/core.DCetokL7.mjs';
|
|
4
4
|
import { u, i as invariant } from '../shared/core.Btj1m6H6.mjs';
|
|
5
5
|
|
|
6
6
|
function n(...r){return u(Object.fromEntries,r)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.
|
|
2
|
-
export { c as computeRelationshipsView } from '../shared/core.
|
|
3
|
-
import { L as LikeC4View, C as ComputedLikeC4Model, a as ComputedView } from '../shared/core.
|
|
1
|
+
export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.D1_bU4dO.mjs';
|
|
2
|
+
export { c as computeRelationshipsView } from '../shared/core.C4dHhcrI.mjs';
|
|
3
|
+
import { L as LikeC4View, C as ComputedLikeC4Model, a as ComputedView } from '../shared/core.B4wY1NqR.mjs';
|
|
4
4
|
import 'type-fest';
|
|
5
5
|
import '../shared/core.Bhx0OGK8.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.
|
|
2
|
-
export { c as computeRelationshipsView } from '../shared/core.
|
|
3
|
-
import { L as LikeC4View, C as ComputedLikeC4Model, a as ComputedView } from '../shared/core.
|
|
1
|
+
export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.B4fHpdUJ.js';
|
|
2
|
+
export { c as computeRelationshipsView } from '../shared/core.Dw2eQBtz.js';
|
|
3
|
+
import { L as LikeC4View, C as ComputedLikeC4Model, a as ComputedView } from '../shared/core.CWZqfEHX.js';
|
|
4
4
|
import 'type-fest';
|
|
5
5
|
import '../shared/core.Bhx0OGK8.js';
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { G as Graph, r, w as willCreateCycle, t as topologicalSortExports, i as i$1, l } from '../shared/core.
|
|
2
|
-
export { c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.
|
|
3
|
-
export { c as computeRelationshipsView } from '../shared/core.
|
|
4
|
-
import { i as isExtendsElementView, a as isElementView } from '../shared/core.
|
|
5
|
-
import { a as i, m } from '../shared/core.
|
|
1
|
+
import { G as Graph, r, w as willCreateCycle, t as topologicalSortExports, i as i$1, l } from '../shared/core.CVZbbLy6.mjs';
|
|
2
|
+
export { c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.CVZbbLy6.mjs';
|
|
3
|
+
export { c as computeRelationshipsView } from '../shared/core.DmBjVt1u.mjs';
|
|
4
|
+
import { i as isExtendsElementView, a as isElementView } from '../shared/core.DCetokL7.mjs';
|
|
5
|
+
import { a as i, m } from '../shared/core.DQMSDiu8.mjs';
|
|
6
6
|
import { u } from '../shared/core.Btj1m6H6.mjs';
|
|
7
7
|
|
|
8
8
|
function y(...t){return u(f,t)}function f(t,e){if(!i(e,1))return {...t};if(!i(e,2)){let{[e[0]]:r,...m}=t;return m}let o={...t};for(let r of e)delete o[r];return o}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { H as HexColorLiteral, T as ThemeColorValues, L as LikeC4Theme } from './shared/core.Bhx0OGK8.mjs';
|
|
2
2
|
export { A as AsFqn, k as BorderStyle, B as BorderStyles, w as Color, x as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultPaddingSize, f as DefaultShapeSize, g as DefaultTextSize, h as DefaultThemeColor, l as Element, i as ElementKind, m as ElementKindSpecification, n as ElementKindSpecificationStyle, o as ElementShape, j as ElementShapes, p as ElementStyle, z as ElementThemeColorValues, y as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, q as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, G as RelationshipThemeColorValues, R as RelationshipThemeColors, S as ShapeSize, J as SpacingSize, r as Tag, s as TagSpec, M as TextSize, O as ThemeColor, v as ThemeColors, t as TypedElement, X as XYPoint, u as isThemeColor } from './shared/core.Bhx0OGK8.mjs';
|
|
3
|
-
export {
|
|
4
|
-
export { DefaultMap, DefaultWeakMap, LinkedList, MultiMap, Queue, Stack, commonHead, compareNatural, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, ifilter, ifind, iflat, imap, intersection, ireduce, isIterable, isNonEmptyArray, isString, isome, iunique,
|
|
5
|
-
export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.
|
|
6
|
-
export { c as computeRelationshipsView } from './shared/core.
|
|
3
|
+
export { aw as AbstractRelation, ah as AllNever, ai as AndOperator, a5 as AnyParsedLikeC4Model, aX as AutoLayoutDirection, a_ as BBox, aY as BasicElementView, aZ as BasicView, a$ as ComputedDeploymentView, b0 as ComputedDynamicView, b1 as ComputedEdge, b2 as ComputedElementView, C as ComputedLikeC4Model, aD as ComputedNode, a as ComputedView, b3 as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, at as DefaultArrowType, au as DefaultLineStyle, av as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b4 as DeploymentView, b5 as DeploymentViewRule, b6 as DeploymentViewRulePredicate, b7 as DeploymentViewRuleStyle, b8 as DiagramEdge, aE as DiagramNode, b9 as DiagramView, E as DirectRelationExpr, ba as DynamicView, bb as DynamicViewIncludeRule, bc as DynamicViewParallelSteps, bd as DynamicViewRule, be as DynamicViewStep, bf as DynamicViewStepOrParallel, bg as EdgeId, F as ElementExpression, G as ElementKindExpr, bA as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bh as ElementView, K as ElementWhereExpr, aj as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, bi as ExtendsElementView, ak as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, al as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, ax as ModelRelation, bj as NodeId, R as NonWilcard, am as NotOperator, an as OperatorPredicate, ao as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, ap as Participant, aq as ParticipantOperator, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, ay as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, az as RelationshipArrowType, aA as RelationshipKind, aB as RelationshipKindSpecification, aC as RelationshipLineType, bk as ScopedElementView, bl as StepEdgeId, bm as StepEdgeIdLiteral, ar as TagEqual, bn as ViewAutoLayout, bo as ViewId, bp as ViewManualLayout, bq as ViewRule, br as ViewRuleAutoLayout, bs as ViewRuleGlobalPredicateRef, bt as ViewRuleGlobalStyle, bu as ViewRuleGroup, bv as ViewRulePredicate, bw as ViewRuleStyle, bx as ViewRuleStyleOrGlobalRef, by as ViewWithHash, bz as ViewWithNotation, as as WhereOperator, W as WildcardExpr, aF as extractStep, aG as getBBoxCenter, aH as getParallelStepsPrefix, aa as isAndOperator, aI as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aJ as isDeploymentView, aK as isDynamicView, aL as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aM as isElementView, q as isElementWhere, r as isExpandedElementExpr, aN as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, ae as isParticipantOperator, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aO as isScopedElementView, aP as isStepEdgeId, af as isTagEqual, aQ as isViewRuleAutoLayout, aR as isViewRuleGlobalPredicateRef, aS as isViewRuleGlobalStyle, aT as isViewRuleGroup, aU as isViewRulePredicate, aV as isViewRuleStyle, z as isWildcard, aW as stepEdgeId, ag as whereOperatorAsPredicate } from './shared/core.B4wY1NqR.mjs';
|
|
4
|
+
export { DefaultMap, DefaultWeakMap, LinkedList, MultiMap, Queue, Stack, commonHead, compareNatural, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, ifilter, ifind, iflat, imap, intersection, ireduce, isIterable, isNonEmptyArray, isString, isome, iunique, stringHash, symmetricDifference, toArray, toSet, union } from './utils/index.mjs';
|
|
5
|
+
export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.D1_bU4dO.mjs';
|
|
6
|
+
export { c as computeRelationshipsView } from './shared/core.C4dHhcrI.mjs';
|
|
7
7
|
export { OverviewGraph, ViewChange } from './types/index.mjs';
|
|
8
8
|
export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.RiWsY3jz.mjs';
|
|
9
|
+
export { default as objectHash } from '/home/runner/work/likec4/likec4/node_modules/.pnpm/@types+object-hash@3.0.6/node_modules/@types/object-hash/index.d.ts';
|
|
9
10
|
import 'type-fest';
|
|
10
11
|
|
|
11
12
|
declare const ElementColors: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { H as HexColorLiteral, T as ThemeColorValues, L as LikeC4Theme } from './shared/core.Bhx0OGK8.js';
|
|
2
2
|
export { A as AsFqn, k as BorderStyle, B as BorderStyles, w as Color, x as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultPaddingSize, f as DefaultShapeSize, g as DefaultTextSize, h as DefaultThemeColor, l as Element, i as ElementKind, m as ElementKindSpecification, n as ElementKindSpecificationStyle, o as ElementShape, j as ElementShapes, p as ElementStyle, z as ElementThemeColorValues, y as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, q as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, G as RelationshipThemeColorValues, R as RelationshipThemeColors, S as ShapeSize, J as SpacingSize, r as Tag, s as TagSpec, M as TextSize, O as ThemeColor, v as ThemeColors, t as TypedElement, X as XYPoint, u as isThemeColor } from './shared/core.Bhx0OGK8.js';
|
|
3
|
-
export {
|
|
4
|
-
export { DefaultMap, DefaultWeakMap, LinkedList, MultiMap, Queue, Stack, commonHead, compareNatural, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, ifilter, ifind, iflat, imap, intersection, ireduce, isIterable, isNonEmptyArray, isString, isome, iunique,
|
|
5
|
-
export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.
|
|
6
|
-
export { c as computeRelationshipsView } from './shared/core.
|
|
3
|
+
export { aw as AbstractRelation, ah as AllNever, ai as AndOperator, a5 as AnyParsedLikeC4Model, aX as AutoLayoutDirection, a_ as BBox, aY as BasicElementView, aZ as BasicView, a$ as ComputedDeploymentView, b0 as ComputedDynamicView, b1 as ComputedEdge, b2 as ComputedElementView, C as ComputedLikeC4Model, aD as ComputedNode, a as ComputedView, b3 as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, at as DefaultArrowType, au as DefaultLineStyle, av as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b4 as DeploymentView, b5 as DeploymentViewRule, b6 as DeploymentViewRulePredicate, b7 as DeploymentViewRuleStyle, b8 as DiagramEdge, aE as DiagramNode, b9 as DiagramView, E as DirectRelationExpr, ba as DynamicView, bb as DynamicViewIncludeRule, bc as DynamicViewParallelSteps, bd as DynamicViewRule, be as DynamicViewStep, bf as DynamicViewStepOrParallel, bg as EdgeId, F as ElementExpression, G as ElementKindExpr, bA as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bh as ElementView, K as ElementWhereExpr, aj as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, bi as ExtendsElementView, ak as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, al as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, ax as ModelRelation, bj as NodeId, R as NonWilcard, am as NotOperator, an as OperatorPredicate, ao as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, ap as Participant, aq as ParticipantOperator, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, ay as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, az as RelationshipArrowType, aA as RelationshipKind, aB as RelationshipKindSpecification, aC as RelationshipLineType, bk as ScopedElementView, bl as StepEdgeId, bm as StepEdgeIdLiteral, ar as TagEqual, bn as ViewAutoLayout, bo as ViewId, bp as ViewManualLayout, bq as ViewRule, br as ViewRuleAutoLayout, bs as ViewRuleGlobalPredicateRef, bt as ViewRuleGlobalStyle, bu as ViewRuleGroup, bv as ViewRulePredicate, bw as ViewRuleStyle, bx as ViewRuleStyleOrGlobalRef, by as ViewWithHash, bz as ViewWithNotation, as as WhereOperator, W as WildcardExpr, aF as extractStep, aG as getBBoxCenter, aH as getParallelStepsPrefix, aa as isAndOperator, aI as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aJ as isDeploymentView, aK as isDynamicView, aL as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aM as isElementView, q as isElementWhere, r as isExpandedElementExpr, aN as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, ae as isParticipantOperator, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aO as isScopedElementView, aP as isStepEdgeId, af as isTagEqual, aQ as isViewRuleAutoLayout, aR as isViewRuleGlobalPredicateRef, aS as isViewRuleGlobalStyle, aT as isViewRuleGroup, aU as isViewRulePredicate, aV as isViewRuleStyle, z as isWildcard, aW as stepEdgeId, ag as whereOperatorAsPredicate } from './shared/core.CWZqfEHX.js';
|
|
4
|
+
export { DefaultMap, DefaultWeakMap, LinkedList, MultiMap, Queue, Stack, commonHead, compareNatural, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, ifilter, ifind, iflat, imap, intersection, ireduce, isIterable, isNonEmptyArray, isString, isome, iunique, stringHash, symmetricDifference, toArray, toSet, union } from './utils/index.js';
|
|
5
|
+
export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.B4fHpdUJ.js';
|
|
6
|
+
export { c as computeRelationshipsView } from './shared/core.Dw2eQBtz.js';
|
|
7
7
|
export { OverviewGraph, ViewChange } from './types/index.js';
|
|
8
8
|
export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.BsAIrb_r.js';
|
|
9
|
+
export { default as objectHash } from '/home/runner/work/likec4/likec4/node_modules/.pnpm/@types+object-hash@3.0.6/node_modules/@types/object-hash/index.d.ts';
|
|
9
10
|
import 'type-fest';
|
|
10
11
|
|
|
11
12
|
declare const ElementColors: {
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { i as invariant, a as nonNullable, n as nonexhaustive } from './shared/core.Btj1m6H6.mjs';
|
|
2
|
-
export { A as AsFqn, B as BorderStyles,
|
|
3
|
-
export { b as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.
|
|
4
|
-
export { c as computeRelationshipsView } from './shared/core.
|
|
2
|
+
export { A as AsFqn, B as BorderStyles, V as ComputedNode, W as ComputedView, S as DefaultArrowType, D as DefaultElementShape, T as DefaultLineStyle, g as DefaultPaddingSize, U as DefaultRelationshipColor, h as DefaultShapeSize, j as DefaultTextSize, c as DefaultThemeColor, d as DeploymentElement, X as DiagramNode, E as ElementKind, k as ElementShapes, f as Expr, H as ExpressionV2, I as FqnExpr, J as FqnRef, R as RelationExpr, Y as extractStep, Z as getBBoxCenter, _ as getParallelStepsPrefix, K as isAndOperator, $ as isAutoLayoutDirection, l as isCustomElement, m as isCustomRelationExpr, a0 as isDeploymentView, a1 as isDynamicView, a2 as isDynamicViewParallelSteps, p as isElement, q as isElementKindExpr, b as isElementPredicateExpr, r as isElementRef, s as isElementTagExpr, a as isElementView, t as isElementWhere, u as isExpandedElementExpr, i as isExtendsElementView, w as isInOut, v as isIncoming, L as isKindEqual, M as isNotOperator, N as isOrOperator, x as isOutgoing, O as isParticipantOperator, y as isRelation, z as isRelationExpression, C as isRelationPredicateExpr, F as isRelationWhere, e as isScopedElementView, a3 as isStepEdgeId, P as isTagEqual, a4 as isViewRuleAutoLayout, a5 as isViewRuleGlobalPredicateRef, a6 as isViewRuleGlobalStyle, a7 as isViewRuleGroup, a8 as isViewRulePredicate, a9 as isViewRuleStyle, G as isWildcard, aa as stepEdgeId, Q as whereOperatorAsPredicate } from './shared/core.DCetokL7.mjs';
|
|
3
|
+
export { b as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.CVZbbLy6.mjs';
|
|
4
|
+
export { c as computeRelationshipsView } from './shared/core.DmBjVt1u.mjs';
|
|
5
5
|
export { ThemeColors, isThemeColor } from './types/index.mjs';
|
|
6
|
-
export { D as DefaultMap,
|
|
7
|
-
export { compareRelations, delay, ireduce } from './utils/index.mjs';
|
|
6
|
+
export { D as DefaultMap, S as Stack, g as ancestorsFqn, h as commonAncestor, e as commonHead, j as compareByFqnHierarchically, k as compareFqnHierarchically, f as compareNatural, I as difference, J as equalsSet, x as getOrCreate, a as hasAtLeast, o as hierarchyDistance, q as hierarchyLevel, A as ifilter, i as ifind, B as iflat, C as imap, K as intersection, r as isAncestor, s as isDescendantOf, E as isIterable, y as isNonEmptyArray, c as isSameHierarchy, z as isString, F as isome, G as iunique, n as nameFromFqn, O as objectHash, p as parentFqn, u as sortByFqnHierarchically, v as sortNaturalByFqn, w as sortParentsFirst, N as stringHash, L as symmetricDifference, H as toArray, t as toSet, M as union } from './shared/core.DQMSDiu8.mjs';
|
|
7
|
+
export { DefaultWeakMap, LinkedList, MultiMap, Queue, compareRelations, delay, ireduce } from './utils/index.mjs';
|
|
8
8
|
|
|
9
9
|
const { min: min$4, max: max$4 } = Math;
|
|
10
10
|
|
package/dist/model/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as ElementModel, D as DeploymentElementModel, A as AnyAux, f as DeploymentNodeModel, g as DeployedInstanceModel, h as RelationshipsAccum, R as RelationshipModel, i as DeploymentRelationModel } from '../shared/core.
|
|
2
|
-
export { b as Aux, j as EdgeModel, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel } from '../shared/core.
|
|
1
|
+
import { E as ElementModel, D as DeploymentElementModel, A as AnyAux, f as DeploymentNodeModel, g as DeployedInstanceModel, h as RelationshipsAccum, R as RelationshipModel, i as DeploymentRelationModel } from '../shared/core.D1_bU4dO.mjs';
|
|
2
|
+
export { b as Aux, j as EdgeModel, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel } from '../shared/core.D1_bU4dO.mjs';
|
|
3
3
|
import { F as Fqn, a as IteratorLike } from '../shared/core.Bhx0OGK8.mjs';
|
|
4
4
|
import { I as IterableContainer, R as ReorderedArray } from '../shared/core.RiWsY3jz.mjs';
|
|
5
5
|
import 'type-fest';
|
|
6
|
-
import '../shared/core.
|
|
6
|
+
import '../shared/core.B4wY1NqR.mjs';
|
|
7
7
|
|
|
8
8
|
interface Connection<Elem = ElementModel | DeploymentElementModel, Id = string> {
|
|
9
9
|
readonly id: Id;
|
package/dist/model/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as ElementModel, D as DeploymentElementModel, A as AnyAux, f as DeploymentNodeModel, g as DeployedInstanceModel, h as RelationshipsAccum, R as RelationshipModel, i as DeploymentRelationModel } from '../shared/core.
|
|
2
|
-
export { b as Aux, j as EdgeModel, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel } from '../shared/core.
|
|
1
|
+
import { E as ElementModel, D as DeploymentElementModel, A as AnyAux, f as DeploymentNodeModel, g as DeployedInstanceModel, h as RelationshipsAccum, R as RelationshipModel, i as DeploymentRelationModel } from '../shared/core.B4fHpdUJ.js';
|
|
2
|
+
export { b as Aux, j as EdgeModel, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel } from '../shared/core.B4fHpdUJ.js';
|
|
3
3
|
import { F as Fqn, a as IteratorLike } from '../shared/core.Bhx0OGK8.js';
|
|
4
4
|
import { I as IterableContainer, R as ReorderedArray } from '../shared/core.BsAIrb_r.js';
|
|
5
5
|
import 'type-fest';
|
|
6
|
-
import '../shared/core.
|
|
6
|
+
import '../shared/core.CWZqfEHX.js';
|
|
7
7
|
|
|
8
8
|
interface Connection<Elem = ElementModel | DeploymentElementModel, Id = string> {
|
|
9
9
|
readonly id: Id;
|
package/dist/model/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { C as Connection, f as ConnectionModel, F as DeployedInstanceModel, D as DeploymentConnectionModel, H as DeploymentNodeModel, I as DeploymentRelationModel, J as EdgeModel, E as ElementModel, b as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel, R as RelationshipModel, g as deploymentConnection, h as differenceConnections, j as findAscendingConnections, k as findDeepestNestedConnection, m as findDescendantConnections, n as hasSameSource, o as hasSameSourceTarget, p as hasSameTarget, q as isAnyInOut, K as isDeployedInstance, M as isDeploymentNode, s as isIncoming, v as isNestedConnection, x as isOutgoing, y as mergeConnections, z as modelConnection, A as sortConnectionsByBoundaryHierarchy, B as sortDeepestFirst } from '../shared/core.
|
|
1
|
+
export { C as Connection, f as ConnectionModel, F as DeployedInstanceModel, D as DeploymentConnectionModel, H as DeploymentNodeModel, I as DeploymentRelationModel, J as EdgeModel, E as ElementModel, b as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel, R as RelationshipModel, g as deploymentConnection, h as differenceConnections, j as findAscendingConnections, k as findDeepestNestedConnection, m as findDescendantConnections, n as hasSameSource, o as hasSameSourceTarget, p as hasSameTarget, q as isAnyInOut, K as isDeployedInstance, M as isDeploymentNode, s as isIncoming, v as isNestedConnection, x as isOutgoing, y as mergeConnections, z as modelConnection, A as sortConnectionsByBoundaryHierarchy, B as sortDeepestFirst } from '../shared/core.CVZbbLy6.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsStringLiteral, LiteralUnion, Simplify, SetRequired } from 'type-fest';
|
|
2
|
-
import { a as ComputedView, L as LikeC4View, a9 as ParsedLikeC4Model, C as ComputedLikeC4Model,
|
|
2
|
+
import { a as ComputedView, L as LikeC4View, a9 as ParsedLikeC4Model, C as ComputedLikeC4Model, bo as ViewId, ay as RelationId, bj as NodeId, bg as EdgeId, a6 as GenericLikeC4Model, a7 as LayoutedLikeC4Model, b9 as DiagramView, a8 as LikeC4ModelDump, f as DeploymentNodeKind, b0 as ComputedDynamicView, bl as StepEdgeId, b2 as ComputedElementView, a$ as ComputedDeploymentView, ax as ModelRelation, a5 as AnyParsedLikeC4Model, a4 as ModelGlobals, h as DeploymentRef, d as DeploymentNode, b as DeployedInstance, c as DeploymentElementStyle, i as DeploymentRelation, aA as RelationshipKind } from './core.CWZqfEHX.js';
|
|
3
3
|
import { F as Fqn, K as KeysOf, a as IteratorLike, i as ElementKind, o as ElementShape, w as Color, I as IconUrl, r as Tag, q as Link, O as ThemeColor, l as Element, p as ElementStyle } from './core.Bhx0OGK8.js';
|
|
4
4
|
|
|
5
5
|
type ComputeViewResult<V extends ComputedView = ComputedView> = {
|
|
@@ -29,6 +29,7 @@ type ParticipantOperator<Tag, Kind> = Omit<AllNever, 'participant'> & {
|
|
|
29
29
|
participant: Participant;
|
|
30
30
|
operator: KindEqual<Kind> | TagEqual<Tag>;
|
|
31
31
|
};
|
|
32
|
+
declare const isParticipantOperator: <Tag, Kind>(operator: WhereOperator<Tag, any>) => operator is ParticipantOperator<Tag, Kind>;
|
|
32
33
|
type NotOperator<Tag, Kind> = Omit<AllNever, 'not'> & {
|
|
33
34
|
not: WhereOperator<Tag, Kind>;
|
|
34
35
|
};
|
|
@@ -854,4 +855,4 @@ interface LayoutedLikeC4Model<Fqns extends string = string, DeploymentFqns exten
|
|
|
854
855
|
views: Record<Views, DiagramView<Views, Tags>>;
|
|
855
856
|
}
|
|
856
857
|
|
|
857
|
-
export { type GlobalDynamicPredicates as $, type CustomElementExpr as A, type CustomRelationExpr as B, type ComputedLikeC4Model as C, DeploymentElement as D, type DirectRelationExpr as E, type ElementExpression as F, type ElementKindExpr as G, type ElementPredicateExpression as H, type ElementRefExpr as I, type ElementTagExpr as J, type ElementWhereExpr as K, type LikeC4View as L, type ExpandedElementExpr as M, type Expression as N, type IncomingExpr as O, type PredicateSelector as P, type InOutExpr as Q, type NonWilcard as R, type OutgoingExpr as S, type RelationExpression as T, type RelationPredicateExpression as U, type RelationWhereExpr as V, type WildcardExpr as W, ExpressionV2 as X, FqnExpr as Y, FqnRef as Z, RelationExpr as _, ComputedView as a, type
|
|
858
|
+
export { type GlobalDynamicPredicates as $, type CustomElementExpr as A, type CustomRelationExpr as B, type ComputedLikeC4Model as C, DeploymentElement as D, type DirectRelationExpr as E, type ElementExpression as F, type ElementKindExpr as G, type ElementPredicateExpression as H, type ElementRefExpr as I, type ElementTagExpr as J, type ElementWhereExpr as K, type LikeC4View as L, type ExpandedElementExpr as M, type Expression as N, type IncomingExpr as O, type PredicateSelector as P, type InOutExpr as Q, type NonWilcard as R, type OutgoingExpr as S, type RelationExpression as T, type RelationPredicateExpression as U, type RelationWhereExpr as V, type WildcardExpr as W, ExpressionV2 as X, FqnExpr as Y, FqnRef as Z, RelationExpr as _, ComputedView as a, type ComputedDeploymentView as a$, type GlobalPredicateId as a0, type GlobalPredicates as a1, type GlobalStyleID as a2, type GlobalStyles as a3, type ModelGlobals as a4, type AnyParsedLikeC4Model as a5, type GenericLikeC4Model as a6, type LayoutedLikeC4Model as a7, type LikeC4ModelDump as a8, type ParsedLikeC4Model as a9, type RelationshipKind as aA, type RelationshipKindSpecification as aB, type RelationshipLineType as aC, ComputedNode as aD, DiagramNode as aE, extractStep as aF, getBBoxCenter as aG, getParallelStepsPrefix as aH, isAutoLayoutDirection as aI, isDeploymentView as aJ, isDynamicView as aK, isDynamicViewParallelSteps as aL, isElementView as aM, isExtendsElementView as aN, isScopedElementView as aO, isStepEdgeId as aP, isViewRuleAutoLayout as aQ, isViewRuleGlobalPredicateRef as aR, isViewRuleGlobalStyle as aS, isViewRuleGroup as aT, isViewRulePredicate as aU, isViewRuleStyle as aV, stepEdgeId as aW, type AutoLayoutDirection as aX, type BasicElementView as aY, type BasicView as aZ, type BBox as a_, isAndOperator as aa, isKindEqual as ab, isNotOperator as ac, isOrOperator as ad, isParticipantOperator as ae, isTagEqual as af, whereOperatorAsPredicate as ag, type AllNever as ah, type AndOperator as ai, type EqualOperator as aj, type Filterable as ak, type KindEqual as al, type NotOperator as am, type OperatorPredicate as an, type OrOperator as ao, type Participant as ap, type ParticipantOperator as aq, type TagEqual as ar, type WhereOperator as as, DefaultArrowType as at, DefaultLineStyle as au, DefaultRelationshipColor as av, type AbstractRelation as aw, type ModelRelation as ax, type RelationId as ay, type RelationshipArrowType as az, type DeployedInstance as b, type ComputedDynamicView as b0, type ComputedEdge as b1, type ComputedElementView as b2, type CustomColorDefinitions as b3, type DeploymentView as b4, type DeploymentViewRule as b5, type DeploymentViewRulePredicate as b6, type DeploymentViewRuleStyle as b7, type DiagramEdge as b8, type DiagramView as b9, type ElementNotation as bA, type DynamicView as ba, type DynamicViewIncludeRule as bb, type DynamicViewParallelSteps as bc, type DynamicViewRule as bd, type DynamicViewStep as be, type DynamicViewStepOrParallel as bf, type EdgeId as bg, type ElementView as bh, type ExtendsElementView as bi, type NodeId as bj, type ScopedElementView as bk, type StepEdgeId as bl, type StepEdgeIdLiteral as bm, type ViewAutoLayout as bn, type ViewId as bo, type ViewManualLayout as bp, type ViewRule as bq, type ViewRuleAutoLayout as br, type ViewRuleGlobalPredicateRef as bs, type ViewRuleGlobalStyle as bt, type ViewRuleGroup as bu, type ViewRulePredicate as bv, type ViewRuleStyle as bw, type ViewRuleStyleOrGlobalRef as bx, type ViewWithHash as by, type ViewWithNotation as bz, type DeploymentElementStyle as c, type DeploymentNode as d, expression as e, type DeploymentNodeKind as f, type DeploymentNodeKindSpecification as g, type DeploymentRef as h, type DeploymentRelation as i, isCustomElement as j, isCustomRelationExpr as k, isElement as l, isElementKindExpr as m, isElementPredicateExpr as n, isElementRef as o, isElementTagExpr as p, isElementWhere as q, isExpandedElementExpr as r, isIncoming as s, isInOut as t, isOutgoing as u, isRelation as v, isRelationExpression as w, isRelationPredicateExpr as x, isRelationWhere as y, isWildcard as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LikeC4Model, E as ElementModel, R as RelationshipModel } from './core.
|
|
1
|
+
import { L as LikeC4Model, E as ElementModel, R as RelationshipModel } from './core.D1_bU4dO.mjs';
|
|
2
2
|
import { F as Fqn } from './core.Bhx0OGK8.mjs';
|
|
3
3
|
|
|
4
4
|
declare function computeRelationshipsView(subjectId: Fqn, likec4model: LikeC4Model): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DefaultElementShape, c as DefaultThemeColor, h as DefaultShapeSize,
|
|
2
|
-
import {
|
|
1
|
+
import { D as DefaultElementShape, c as DefaultThemeColor, h as DefaultShapeSize, ab as o$8, t as isElementWhere, Q as whereOperatorAsPredicate, G as isWildcard, q as isElementKindExpr, s as isElementTagExpr, n as n$4, u as isExpandedElementExpr, r as isElementRef, l as isCustomElement, a9 as isViewRuleStyle, ac as y$2, V as ComputedNode, E as ElementKind, S as DefaultArrowType, I as FqnExpr, R as RelationExpr, o as o$9, a8 as isViewRulePredicate, a4 as isViewRuleAutoLayout, a7 as isViewRuleGroup, a5 as isViewRuleGlobalPredicateRef, a6 as isViewRuleGlobalStyle, aa as stepEdgeId, a2 as isDynamicViewParallelSteps, T as DefaultLineStyle, U as DefaultRelationshipColor, x as isOutgoing$1, v as isIncoming$1, w as isInOut, y as isRelation, F as isRelationWhere, m as isCustomRelationExpr, C as isRelationPredicateExpr, b as isElementPredicateExpr, a as isElementView, a1 as isDynamicView, a0 as isDeploymentView, d as DeploymentElement, Y as extractStep, a3 as isStepEdgeId, e as isScopedElementView } from './core.DCetokL7.mjs';
|
|
2
|
+
import { P as C, Q as s$1, R as a$5, q as hierarchyLevel, r as isAncestor, h as commonAncestor, v as sortNaturalByFqn, m as m$3, e as commonHead, T as getDefaultExportFromCjs, U as requireForeach, V as requireIterator, W as u$7, O as objectHash, K as intersection, I as difference, M as union, N as stringHash, J as equals, s as isDescendantOf, z as isString, c as isSameHierarchy, F as isome, A as ifilter, E as isIterable, t as toSet, w as sortParentsFirst, H as toArray, D as DefaultMap, C as imap, a as i$9, X as d$6, p as parentFqn, Y as n$5, j as compareByFqnHierarchically, y as isNonEmptyArray, f as compareNatural, n as nameFromFqn, b as t$6, l as l$7, Z as hasIntersection, u as sortByFqnHierarchically, g as ancestorsFqn, S as Stack, G as iunique, B as iflat, x as getOrCreate, i as ifind } from './core.DQMSDiu8.mjs';
|
|
3
3
|
import { u as u$6, a as nonNullable, i as invariant, n as nonexhaustive } from './core.Btj1m6H6.mjs';
|
|
4
4
|
|
|
5
5
|
function y$1(t,i){let a=i.length-t.length;if(a===1){let[n,...r]=i;return C(n,{lazy:t,lazyArgs:r})}if(a===0){let n={lazy:t,lazyArgs:i};return Object.assign(e=>C(e,n),n)}throw new Error("Wrong number of arguments")}
|
|
@@ -622,7 +622,7 @@ function requireIterables () {
|
|
|
622
622
|
hasRequiredIterables = 1;
|
|
623
623
|
var forEach = requireForeach();
|
|
624
624
|
|
|
625
|
-
var typed = requireTypedArrays();
|
|
625
|
+
var typed = /*@__PURE__*/ requireTypedArrays();
|
|
626
626
|
|
|
627
627
|
/**
|
|
628
628
|
* Function used to determine whether the given object supports array-like
|
|
@@ -723,7 +723,7 @@ var hasRequiredFixedDeque;
|
|
|
723
723
|
function requireFixedDeque () {
|
|
724
724
|
if (hasRequiredFixedDeque) return fixedDeque;
|
|
725
725
|
hasRequiredFixedDeque = 1;
|
|
726
|
-
var iterables = requireIterables(),
|
|
726
|
+
var iterables = /*@__PURE__*/ requireIterables(),
|
|
727
727
|
Iterator = requireIterator();
|
|
728
728
|
|
|
729
729
|
/**
|
|
@@ -1096,7 +1096,7 @@ function requireTopologicalSort () {
|
|
|
1096
1096
|
if (hasRequiredTopologicalSort) return topologicalSort$1;
|
|
1097
1097
|
hasRequiredTopologicalSort = 1;
|
|
1098
1098
|
const isGraph = requireIsGraph();
|
|
1099
|
-
const FixedDeque = requireFixedDeque();
|
|
1099
|
+
const FixedDeque = /*@__PURE__*/ requireFixedDeque();
|
|
1100
1100
|
|
|
1101
1101
|
function simpleInDegree(graph, node) {
|
|
1102
1102
|
let degree = 0;
|
|
@@ -29,6 +29,7 @@ type ParticipantOperator<Tag, Kind> = Omit<AllNever, 'participant'> & {
|
|
|
29
29
|
participant: Participant;
|
|
30
30
|
operator: KindEqual<Kind> | TagEqual<Tag>;
|
|
31
31
|
};
|
|
32
|
+
declare const isParticipantOperator: <Tag, Kind>(operator: WhereOperator<Tag, any>) => operator is ParticipantOperator<Tag, Kind>;
|
|
32
33
|
type NotOperator<Tag, Kind> = Omit<AllNever, 'not'> & {
|
|
33
34
|
not: WhereOperator<Tag, Kind>;
|
|
34
35
|
};
|
|
@@ -854,4 +855,4 @@ interface LayoutedLikeC4Model<Fqns extends string = string, DeploymentFqns exten
|
|
|
854
855
|
views: Record<Views, DiagramView<Views, Tags>>;
|
|
855
856
|
}
|
|
856
857
|
|
|
857
|
-
export { type GlobalDynamicPredicates as $, type CustomElementExpr as A, type CustomRelationExpr as B, type ComputedLikeC4Model as C, DeploymentElement as D, type DirectRelationExpr as E, type ElementExpression as F, type ElementKindExpr as G, type ElementPredicateExpression as H, type ElementRefExpr as I, type ElementTagExpr as J, type ElementWhereExpr as K, type LikeC4View as L, type ExpandedElementExpr as M, type Expression as N, type IncomingExpr as O, type PredicateSelector as P, type InOutExpr as Q, type NonWilcard as R, type OutgoingExpr as S, type RelationExpression as T, type RelationPredicateExpression as U, type RelationWhereExpr as V, type WildcardExpr as W, ExpressionV2 as X, FqnExpr as Y, FqnRef as Z, RelationExpr as _, ComputedView as a, type
|
|
858
|
+
export { type GlobalDynamicPredicates as $, type CustomElementExpr as A, type CustomRelationExpr as B, type ComputedLikeC4Model as C, DeploymentElement as D, type DirectRelationExpr as E, type ElementExpression as F, type ElementKindExpr as G, type ElementPredicateExpression as H, type ElementRefExpr as I, type ElementTagExpr as J, type ElementWhereExpr as K, type LikeC4View as L, type ExpandedElementExpr as M, type Expression as N, type IncomingExpr as O, type PredicateSelector as P, type InOutExpr as Q, type NonWilcard as R, type OutgoingExpr as S, type RelationExpression as T, type RelationPredicateExpression as U, type RelationWhereExpr as V, type WildcardExpr as W, ExpressionV2 as X, FqnExpr as Y, FqnRef as Z, RelationExpr as _, ComputedView as a, type ComputedDeploymentView as a$, type GlobalPredicateId as a0, type GlobalPredicates as a1, type GlobalStyleID as a2, type GlobalStyles as a3, type ModelGlobals as a4, type AnyParsedLikeC4Model as a5, type GenericLikeC4Model as a6, type LayoutedLikeC4Model as a7, type LikeC4ModelDump as a8, type ParsedLikeC4Model as a9, type RelationshipKind as aA, type RelationshipKindSpecification as aB, type RelationshipLineType as aC, ComputedNode as aD, DiagramNode as aE, extractStep as aF, getBBoxCenter as aG, getParallelStepsPrefix as aH, isAutoLayoutDirection as aI, isDeploymentView as aJ, isDynamicView as aK, isDynamicViewParallelSteps as aL, isElementView as aM, isExtendsElementView as aN, isScopedElementView as aO, isStepEdgeId as aP, isViewRuleAutoLayout as aQ, isViewRuleGlobalPredicateRef as aR, isViewRuleGlobalStyle as aS, isViewRuleGroup as aT, isViewRulePredicate as aU, isViewRuleStyle as aV, stepEdgeId as aW, type AutoLayoutDirection as aX, type BasicElementView as aY, type BasicView as aZ, type BBox as a_, isAndOperator as aa, isKindEqual as ab, isNotOperator as ac, isOrOperator as ad, isParticipantOperator as ae, isTagEqual as af, whereOperatorAsPredicate as ag, type AllNever as ah, type AndOperator as ai, type EqualOperator as aj, type Filterable as ak, type KindEqual as al, type NotOperator as am, type OperatorPredicate as an, type OrOperator as ao, type Participant as ap, type ParticipantOperator as aq, type TagEqual as ar, type WhereOperator as as, DefaultArrowType as at, DefaultLineStyle as au, DefaultRelationshipColor as av, type AbstractRelation as aw, type ModelRelation as ax, type RelationId as ay, type RelationshipArrowType as az, type DeployedInstance as b, type ComputedDynamicView as b0, type ComputedEdge as b1, type ComputedElementView as b2, type CustomColorDefinitions as b3, type DeploymentView as b4, type DeploymentViewRule as b5, type DeploymentViewRulePredicate as b6, type DeploymentViewRuleStyle as b7, type DiagramEdge as b8, type DiagramView as b9, type ElementNotation as bA, type DynamicView as ba, type DynamicViewIncludeRule as bb, type DynamicViewParallelSteps as bc, type DynamicViewRule as bd, type DynamicViewStep as be, type DynamicViewStepOrParallel as bf, type EdgeId as bg, type ElementView as bh, type ExtendsElementView as bi, type NodeId as bj, type ScopedElementView as bk, type StepEdgeId as bl, type StepEdgeIdLiteral as bm, type ViewAutoLayout as bn, type ViewId as bo, type ViewManualLayout as bp, type ViewRule as bq, type ViewRuleAutoLayout as br, type ViewRuleGlobalPredicateRef as bs, type ViewRuleGlobalStyle as bt, type ViewRuleGroup as bu, type ViewRulePredicate as bv, type ViewRuleStyle as bw, type ViewRuleStyleOrGlobalRef as bx, type ViewWithHash as by, type ViewWithNotation as bz, type DeploymentElementStyle as c, type DeploymentNode as d, expression as e, type DeploymentNodeKind as f, type DeploymentNodeKindSpecification as g, type DeploymentRef as h, type DeploymentRelation as i, isCustomElement as j, isCustomRelationExpr as k, isElement as l, isElementKindExpr as m, isElementPredicateExpr as n, isElementRef as o, isElementTagExpr as p, isElementWhere as q, isExpandedElementExpr as r, isIncoming as s, isInOut as t, isOutgoing as u, isRelation as v, isRelationExpression as w, isRelationPredicateExpr as x, isRelationWhere as y, isWildcard as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsStringLiteral, LiteralUnion, Simplify, SetRequired } from 'type-fest';
|
|
2
|
-
import { a as ComputedView, L as LikeC4View, a9 as ParsedLikeC4Model, C as ComputedLikeC4Model,
|
|
2
|
+
import { a as ComputedView, L as LikeC4View, a9 as ParsedLikeC4Model, C as ComputedLikeC4Model, bo as ViewId, ay as RelationId, bj as NodeId, bg as EdgeId, a6 as GenericLikeC4Model, a7 as LayoutedLikeC4Model, b9 as DiagramView, a8 as LikeC4ModelDump, f as DeploymentNodeKind, b0 as ComputedDynamicView, bl as StepEdgeId, b2 as ComputedElementView, a$ as ComputedDeploymentView, ax as ModelRelation, a5 as AnyParsedLikeC4Model, a4 as ModelGlobals, h as DeploymentRef, d as DeploymentNode, b as DeployedInstance, c as DeploymentElementStyle, i as DeploymentRelation, aA as RelationshipKind } from './core.B4wY1NqR.mjs';
|
|
3
3
|
import { F as Fqn, K as KeysOf, a as IteratorLike, i as ElementKind, o as ElementShape, w as Color, I as IconUrl, r as Tag, q as Link, O as ThemeColor, l as Element, p as ElementStyle } from './core.Bhx0OGK8.mjs';
|
|
4
4
|
|
|
5
5
|
type ComputeViewResult<V extends ComputedView = ComputedView> = {
|
|
@@ -380,4 +380,4 @@ var DiagramNode;
|
|
|
380
380
|
DiagramNode2.isNodesGroup = isNodesGroup;
|
|
381
381
|
})(DiagramNode || (DiagramNode = {}));
|
|
382
382
|
|
|
383
|
-
export {
|
|
383
|
+
export { isAutoLayoutDirection as $, AsFqn as A, BorderStyles as B, isRelationPredicateExpr as C, DefaultElementShape as D, ElementKind as E, isRelationWhere as F, isWildcard as G, ExpressionV2 as H, FqnExpr as I, FqnRef as J, isAndOperator as K, isKindEqual as L, isNotOperator as M, isOrOperator as N, isParticipantOperator as O, isTagEqual as P, whereOperatorAsPredicate as Q, RelationExpr as R, DefaultArrowType as S, DefaultLineStyle as T, DefaultRelationshipColor as U, ComputedNode as V, ComputedView as W, DiagramNode as X, extractStep as Y, getBBoxCenter as Z, getParallelStepsPrefix as _, isElementView as a, isDeploymentView as a0, isDynamicView as a1, isDynamicViewParallelSteps as a2, isStepEdgeId as a3, isViewRuleAutoLayout as a4, isViewRuleGlobalPredicateRef as a5, isViewRuleGlobalStyle as a6, isViewRuleGroup as a7, isViewRulePredicate as a8, isViewRuleStyle as a9, stepEdgeId as aa, o$1 as ab, y as ac, isElementPredicateExpr as b, DefaultThemeColor as c, DeploymentElement as d, isScopedElementView as e, expression as f, DefaultPaddingSize as g, DefaultShapeSize as h, isExtendsElementView as i, DefaultTextSize as j, ElementShapes as k, isCustomElement as l, isCustomRelationExpr as m, n, o, isElement as p, isElementKindExpr as q, isElementRef as r, isElementTagExpr as s, isElementWhere as t, isExpandedElementExpr as u, isIncoming as v, isInOut as w, isOutgoing as x, isRelation as y, isRelationExpression as z };
|