@likec4/core 1.42.1 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builder/index.d.mts +8 -8
- package/dist/builder/index.mjs +3 -3
- package/dist/compute-view/index.d.mts +6 -6
- package/dist/compute-view/index.mjs +5 -5
- package/dist/compute-view/relationships-view/index.d.mts +6 -6
- package/dist/compute-view/relationships-view/index.mjs +1 -1
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +1 -1
- package/dist/model/connection/deployment/index.d.mts +8 -8
- package/dist/model/connection/deployment/index.mjs +2 -2
- package/dist/model/connection/index.d.mts +9 -9
- package/dist/model/connection/index.mjs +3 -3
- package/dist/model/connection/model/index.d.mts +8 -8
- package/dist/model/connection/model/index.mjs +2 -2
- package/dist/model/index.d.mts +10 -10
- package/dist/model/index.mjs +4 -4
- package/dist/shared/{core.lRvxPoao.mjs → core.2N_9BzyD.mjs} +2 -2
- package/dist/shared/{core.DRhg-gVU.mjs → core.727Qoh_W.mjs} +6 -1
- package/dist/shared/{core.DdMJk7nx.d.mts → core.BT-9gaqQ.d.mts} +3 -3
- package/dist/shared/{core.DACpKp35.d.mts → core.BXs4wY7R.d.mts} +3 -3
- package/dist/shared/{core.BIqHjQiH.mjs → core.Be05qJwN.mjs} +2 -2
- package/dist/shared/{core.B7KhhkRY.mjs → core.BouyJs63.mjs} +1 -1
- package/dist/shared/{core.CQngdcuj.d.mts → core.CDvVInBp.d.mts} +1 -1
- package/dist/shared/{core.yna0OdV5.d.mts → core.CT1xBp4R.d.mts} +2 -2
- package/dist/shared/{core.DSO_rTC2.mjs → core.CXWsKEDr.mjs} +6 -6
- package/dist/shared/{core.D0PjZzIS.d.mts → core.CcJ1FZ7h.d.mts} +10 -10
- package/dist/shared/{core.s9uwOt60.d.mts → core.Cq2kxOI-.d.mts} +3 -3
- package/dist/shared/{core.fHR_8Tnq.d.mts → core.CvLjw3bH.d.mts} +2 -2
- package/dist/shared/{core.D_vkffV4.d.mts → core.CwsG7hOw.d.mts} +21 -1
- package/dist/shared/{core.C8YY6Uub.mjs → core.D0NziuvN.mjs} +1 -1
- package/dist/shared/{core.DIol3syK.d.mts → core.DTdfiejA.d.mts} +2 -2
- package/dist/shared/{core.C8sl5Y8Z.mjs → core.DyToofsP.mjs} +4 -4
- package/dist/shared/{core.Dgs6-nuz.d.mts → core.hNWo20Ym.d.mts} +2 -2
- package/dist/styles/index.d.mts +5 -5
- package/dist/types/_aux.d.mts +1 -1
- package/dist/types/expression-model.d.mts +2 -2
- package/dist/types/expression.d.mts +2 -2
- package/dist/types/fqnRef.d.mts +1 -1
- package/dist/types/index.d.mts +6 -6
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +7 -7
package/dist/builder/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { LastArrayElement, Split, Simplify, IsLiteral, Writable, IfNever, IsNever, TupleToUnion, Tagged, PartialDeep } from 'type-fest';
|
|
2
|
-
import { f as LikeC4Model } from '../shared/core.
|
|
2
|
+
import { f as LikeC4Model } from '../shared/core.CcJ1FZ7h.mjs';
|
|
3
3
|
import { D as DeploymentFqn, F as Fqn } from '../shared/core.DX-WYEPA.mjs';
|
|
4
|
-
import { e as DeploymentElement, h as DeploymentRelationship, r as ParsedView, a0 as ParsedDeploymentView, P as ParsedLikeC4ModelData, E as ElementSpecification$1, p as RelationshipSpecification, T as TagSpecification } from '../shared/core.
|
|
5
|
-
import { f as Element, h as ModelRelation, n as AnyViewRuleStyle, r as AutoLayoutDirection, aa as ParsedElementView, j as LikeC4ProjectStylesConfig } from '../shared/core.
|
|
6
|
-
import { f as Participant, E as Expression, u as ElementShape, D as ThemeColor, s as BorderStyle, q as ShapeSize, r as SpacingSize, p as TextSize, y as RelationshipArrowType, v as RelationshipLineType } from '../shared/core.
|
|
4
|
+
import { e as DeploymentElement, h as DeploymentRelationship, r as ParsedView, a0 as ParsedDeploymentView, P as ParsedLikeC4ModelData, E as ElementSpecification$1, p as RelationshipSpecification, T as TagSpecification } from '../shared/core.BT-9gaqQ.mjs';
|
|
5
|
+
import { f as Element, h as ModelRelation, n as AnyViewRuleStyle, r as AutoLayoutDirection, aa as ParsedElementView, j as LikeC4ProjectStylesConfig } from '../shared/core.CvLjw3bH.mjs';
|
|
6
|
+
import { f as Participant, E as Expression, u as ElementShape, D as ThemeColor, s as BorderStyle, q as ShapeSize, r as SpacingSize, p as TextSize, y as RelationshipArrowType, v as RelationshipLineType } from '../shared/core.CDvVInBp.mjs';
|
|
7
7
|
import { ModelFqnExpr, ModelRelationExpr } from '../types/expression-model.mjs';
|
|
8
8
|
import { N as NonEmptyArray, K as KeysOf } from '../shared/core.D5fzJWbF.mjs';
|
|
9
|
-
import { O as setProject, a as Aux, S as SpecAux, A as Any } from '../shared/core.
|
|
10
|
-
import '../shared/core.
|
|
9
|
+
import { O as setProject, a as Aux, S as SpecAux, A as Any } from '../shared/core.hNWo20Ym.mjs';
|
|
10
|
+
import '../shared/core.CT1xBp4R.mjs';
|
|
11
11
|
import '../shared/core.CywrQs86.mjs';
|
|
12
12
|
import '../types/fqnRef.mjs';
|
|
13
13
|
|
|
@@ -656,8 +656,8 @@ type BuilderProjectSpecification = {
|
|
|
656
656
|
styles?: PartialDeep<LikeC4ProjectStylesConfig>;
|
|
657
657
|
};
|
|
658
658
|
type Metadata<MetadataKey extends string> = IsNever<MetadataKey> extends true ? never : IsLiteral<MetadataKey> extends true ? {
|
|
659
|
-
[key in MetadataKey]?: string
|
|
660
|
-
} : Record<string, string
|
|
659
|
+
[key in MetadataKey]?: string | NonEmptyArray<string>;
|
|
660
|
+
} : Record<string, string | NonEmptyArray<string>>;
|
|
661
661
|
type NewElementProps<Tag, Metadata> = {
|
|
662
662
|
title?: string;
|
|
663
663
|
summary?: string;
|
package/dist/builder/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as defu, t as t$6 } from '../shared/core.DNbUPnve.mjs';
|
|
2
2
|
import { t as t$1, a as t$7 } from '../shared/core.BsSXS-_R.mjs';
|
|
3
|
-
import { a as t$5 } from '../shared/core.
|
|
3
|
+
import { a as t$5 } from '../shared/core.DyToofsP.mjs';
|
|
4
4
|
import { s as e, d as isElementView } from '../shared/core.BzTakU3I.mjs';
|
|
5
5
|
import { e as e$3 } from '../shared/core.DRJma0Ol.mjs';
|
|
6
6
|
import { a as _type, k as e$2, _ as _stage, c as isDeployedInstance } from '../shared/core.BYNkXQ8A.mjs';
|
|
7
7
|
import { t as t$2 } from '../shared/core.CbT8JVYL.mjs';
|
|
8
|
-
import { a as t$3, b as t$4, c as computeLikeC4Model } from '../shared/core.
|
|
9
|
-
import { n as nameFromFqn, d as isSameHierarchy, p as parentFqn } from '../shared/core.
|
|
8
|
+
import { a as t$3, b as t$4, c as computeLikeC4Model } from '../shared/core.CXWsKEDr.mjs';
|
|
9
|
+
import { n as nameFromFqn, d as isSameHierarchy, p as parentFqn } from '../shared/core.727Qoh_W.mjs';
|
|
10
10
|
import { e as e$1 } from '../shared/core.CqAJJpK_.mjs';
|
|
11
11
|
import { ModelFqnExpr } from '../types/expression-model.mjs';
|
|
12
12
|
import { i as invariant } from '../shared/core.D4npX2q8.mjs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as Any } from '../shared/core.
|
|
2
|
-
import { f as LikeC4Model } from '../shared/core.
|
|
3
|
-
import { P as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, r as ParsedView, u as ComputedView } from '../shared/core.
|
|
1
|
+
import { A as Any } from '../shared/core.hNWo20Ym.mjs';
|
|
2
|
+
import { f as LikeC4Model } from '../shared/core.CcJ1FZ7h.mjs';
|
|
3
|
+
import { P as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, r as ParsedView, u as ComputedView } from '../shared/core.BT-9gaqQ.mjs';
|
|
4
4
|
import 'type-fest';
|
|
5
5
|
import '../shared/core.D5fzJWbF.mjs';
|
|
6
6
|
import '../shared/core.DX-WYEPA.mjs';
|
|
7
|
-
import '../shared/core.
|
|
8
|
-
import '../shared/core.
|
|
7
|
+
import '../shared/core.CT1xBp4R.mjs';
|
|
8
|
+
import '../shared/core.CDvVInBp.mjs';
|
|
9
9
|
import '../types/fqnRef.mjs';
|
|
10
|
-
import '../shared/core.
|
|
10
|
+
import '../shared/core.CvLjw3bH.mjs';
|
|
11
11
|
import '../types/expression-model.mjs';
|
|
12
12
|
import '../shared/core.CywrQs86.mjs';
|
|
13
13
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { w as willCreateCycle, t as topologicalSortExports, a as t$1, b as t$2, n as n$1 } from '../shared/core.
|
|
2
|
-
export { c as computeLikeC4Model, d as computeParsedModelData, e as computeView, u as unsafeComputeView } from '../shared/core.
|
|
3
|
-
import { n } from '../shared/core.
|
|
4
|
-
import { t } from '../shared/core.
|
|
1
|
+
import { w as willCreateCycle, t as topologicalSortExports, a as t$1, b as t$2, n as n$1 } from '../shared/core.CXWsKEDr.mjs';
|
|
2
|
+
export { c as computeLikeC4Model, d as computeParsedModelData, e as computeView, u as unsafeComputeView } from '../shared/core.CXWsKEDr.mjs';
|
|
3
|
+
import { n } from '../shared/core.Be05qJwN.mjs';
|
|
4
|
+
import { t } from '../shared/core.DyToofsP.mjs';
|
|
5
5
|
import { f as isExtendsElementView, d as isElementView } from '../shared/core.BzTakU3I.mjs';
|
|
6
6
|
import { G as Graph } from '../shared/core.CNgZvKb8.mjs';
|
|
7
|
-
import { c as isNonEmptyArray } from '../shared/core.
|
|
7
|
+
import { c as isNonEmptyArray } from '../shared/core.727Qoh_W.mjs';
|
|
8
8
|
import { t as t$3 } from '../shared/core.CbT8JVYL.mjs';
|
|
9
9
|
|
|
10
10
|
function resolveRulesExtendedViews(unresolvedViews) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { A as Any, U as Unknown, k as ElementId, V as ViewId } from '../../shared/core.
|
|
2
|
-
import { E as ElementModel, R as RelationshipModel, f as LikeC4Model } from '../../shared/core.
|
|
1
|
+
import { A as Any, U as Unknown, k as ElementId, V as ViewId } from '../../shared/core.hNWo20Ym.mjs';
|
|
2
|
+
import { E as ElementModel, R as RelationshipModel, f as LikeC4Model } from '../../shared/core.CcJ1FZ7h.mjs';
|
|
3
3
|
import 'type-fest';
|
|
4
4
|
import '../../shared/core.D5fzJWbF.mjs';
|
|
5
5
|
import '../../shared/core.DX-WYEPA.mjs';
|
|
6
|
-
import '../../shared/core.
|
|
7
|
-
import '../../shared/core.
|
|
6
|
+
import '../../shared/core.CT1xBp4R.mjs';
|
|
7
|
+
import '../../shared/core.CDvVInBp.mjs';
|
|
8
8
|
import '../../types/fqnRef.mjs';
|
|
9
|
-
import '../../shared/core.
|
|
9
|
+
import '../../shared/core.CvLjw3bH.mjs';
|
|
10
10
|
import '../../types/expression-model.mjs';
|
|
11
11
|
import '../../shared/core.CywrQs86.mjs';
|
|
12
|
-
import '../../shared/core.
|
|
12
|
+
import '../../shared/core.BT-9gaqQ.mjs';
|
|
13
13
|
|
|
14
14
|
type RelationshipsViewData<M extends Any = Unknown> = {
|
|
15
15
|
incomers: ReadonlySet<ElementModel<M>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t } from '../../shared/core.OHD4KXm9.mjs';
|
|
2
|
-
import { f as sortParentsFirst, b as isDescendantOf, i as isAncestor } from '../../shared/core.
|
|
2
|
+
import { f as sortParentsFirst, b as isDescendantOf, i as isAncestor } from '../../shared/core.727Qoh_W.mjs';
|
|
3
3
|
import { D as DefaultMap } from '../../shared/core.BbE4y-yl.mjs';
|
|
4
4
|
import { a as nonNullable, i as invariant } from '../../shared/core.D4npX2q8.mjs';
|
|
5
5
|
import { t as toSet, a as toArray, i as imap } from '../../shared/core.C3JowhaZ.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { B as BiMap, D as DefaultWeakMap, L as LinkedList, M as MultiMap, Q as Queue, a as ancestorsFqn, h as hasProp, i as invariant, b as isAncestor, c as isDescendantOf, d as isNonEmptyArray, e as isSameHierarchy, f as isString, m as memoizeProp, n as nameFromFqn, j as nonNullable, g as nonexhaustive, p as parentFqn, s as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.
|
|
1
|
+
export { B as BiMap, D as DefaultWeakMap, L as LinkedList, M as MultiMap, Q as Queue, a as ancestorsFqn, h as hasProp, i as invariant, b as isAncestor, c as isDescendantOf, d as isNonEmptyArray, e as isSameHierarchy, f as isString, m as memoizeProp, n as nameFromFqn, j as nonNullable, g as nonexhaustive, p as parentFqn, s as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.CwsG7hOw.mjs';
|
|
2
2
|
export { D as DefaultMap } from './shared/core.CywrQs86.mjs';
|
|
3
|
-
export { L as LikeC4Styles } from './shared/core.
|
|
4
|
-
export { A as AndOperator, s as BorderStyle, B as BorderStyles, Q as Color, C as ColorLiteral, J as CustomColor, I as CustomColorDefinitions, U as ElementColorValues, u as ElementShape, t as ElementShapes, c as EqualOperator, E as Expression, m as Filterable, F as FqnExpr, H as HexColor, K as KindEqual, L as LikeC4StyleDefaults, a as LikeC4StylesConfig, b as LikeC4Theme, N as NotOperator, n as OperatorPredicate, O as OrOperator, f as Participant, g as ParticipantOperator, P as PredicateSelector, R as RelationExpr, y as RelationshipArrowType, x as RelationshipArrowTypes, V as RelationshipColorValues, v as RelationshipLineType, q as ShapeSize, o as Size, S as Sizes, r as SpacingSize, d as TagEqual, p as TextSize, D as ThemeColor, T as ThemeColorValues, z as ThemeColors, W as WhereOperator, k as isAndOperator, M as isCustomColor, e as isKindEqual, j as isNotOperator, l as isOrOperator, h as isParticipantOperator, i as isTagEqual, G as isThemeColor, w as whereOperatorAsPredicate } from './shared/core.
|
|
3
|
+
export { L as LikeC4Styles } from './shared/core.CT1xBp4R.mjs';
|
|
4
|
+
export { A as AndOperator, s as BorderStyle, B as BorderStyles, Q as Color, C as ColorLiteral, J as CustomColor, I as CustomColorDefinitions, U as ElementColorValues, u as ElementShape, t as ElementShapes, c as EqualOperator, E as Expression, m as Filterable, F as FqnExpr, H as HexColor, K as KindEqual, L as LikeC4StyleDefaults, a as LikeC4StylesConfig, b as LikeC4Theme, N as NotOperator, n as OperatorPredicate, O as OrOperator, f as Participant, g as ParticipantOperator, P as PredicateSelector, R as RelationExpr, y as RelationshipArrowType, x as RelationshipArrowTypes, V as RelationshipColorValues, v as RelationshipLineType, q as ShapeSize, o as Size, S as Sizes, r as SpacingSize, d as TagEqual, p as TextSize, D as ThemeColor, T as ThemeColorValues, z as ThemeColors, W as WhereOperator, k as isAndOperator, M as isCustomColor, e as isKindEqual, j as isNotOperator, l as isOrOperator, h as isParticipantOperator, i as isTagEqual, G as isThemeColor, w as whereOperatorAsPredicate } from './shared/core.CDvVInBp.mjs';
|
|
5
5
|
export { i as isIterable } from './shared/core.DXhDWKFZ.mjs';
|
|
6
|
-
export { A as Any, A as AnyAux, a as Aux, E as ExtractOnStage, M as ModelStage, S as SpecAux, U as Unknown, b as UnknownComputed, c as UnknownLayouted, d as UnknownParsed, f as _stage, g as _type, _ as aux, i as isOnStage, p as preferDescription, e as preferSummary } from './shared/core.
|
|
6
|
+
export { A as Any, A as AnyAux, a as Aux, E as ExtractOnStage, M as ModelStage, S as SpecAux, U as Unknown, b as UnknownComputed, c as UnknownLayouted, d as UnknownParsed, f as _stage, g as _type, _ as aux, i as isOnStage, p as preferDescription, e as preferSummary } from './shared/core.hNWo20Ym.mjs';
|
|
7
7
|
export { A as AnyFqn, B as BuiltInIcon, D as DeploymentFqn, b as DeploymentKind, j as EdgeId, E as ElementKind, F as Fqn, e as GlobalFqn, G as GroupElementKind, I as Icon, a as IconUrl, M as MarkdownOrString, N as NodeId, P as ProjectId, d as RelationId, R as RelationKind, c as RelationshipKind, k as StepEdgeId, S as StepEdgeIdLiteral, m as StepEdgeKind, T as Tag, V as ViewId, o as extractStep, f as flattenMarkdownOrString, g as isGlobalFqn, i as isGroupElementKind, n as isStepEdgeId, s as scalar, h as splitGlobalFqn, l as stepEdgeId } from './shared/core.DX-WYEPA.mjs';
|
|
8
|
-
export { w as AnyView, n as AuxFromDump, A as AuxFromLikeC4ModelData, C as ComputedLikeC4ModelData, u as ComputedView, d as DeployedInstance, e as DeploymentElement, f as DeploymentElementRef, D as DeploymentNode, j as DeploymentRelation, h as DeploymentRelationship, Y as DeploymentViewExcludePredicate, X as DeploymentViewIncludePredicate, Z as DeploymentViewPredicate, $ as DeploymentViewRule, _ as DeploymentViewRuleStyle, O as DiagramEdge, N as DiagramNode, s as DiagramView, E as ElementSpecification, U as LayoutedDeploymentView, W as LayoutedDynamicView, Q as LayoutedElementView, L as LayoutedLikeC4ModelData, s as LayoutedView, c as LikeC4ModelData, l as LikeC4ModelDump, r as LikeC4View, a0 as ParsedDeploymentView, P as ParsedLikeC4ModelData, r as ParsedView, v as ProcessedView, m as ProjectDump, p as RelationshipSpecification, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, k as SpecTypesFromDump, q as Specification, S as SpecificationDump, T as TagSpecification, V as ViewOnStage, y as ViewRule, z as ViewRulePredicate, x as ViewWithType, G as isComputedView, g as isDeployedInstance, i as isDeploymentNode, K as isDeploymentView, t as isDiagramView, M as isDynamicView, H as isElementView, J as isExtendsElementView, t as isLayoutedView, I as isScopedElementView, o as isTagColorSpecified, B as isViewRulePredicate, F as isViewRuleStyle } from './shared/core.
|
|
8
|
+
export { w as AnyView, n as AuxFromDump, A as AuxFromLikeC4ModelData, C as ComputedLikeC4ModelData, u as ComputedView, d as DeployedInstance, e as DeploymentElement, f as DeploymentElementRef, D as DeploymentNode, j as DeploymentRelation, h as DeploymentRelationship, Y as DeploymentViewExcludePredicate, X as DeploymentViewIncludePredicate, Z as DeploymentViewPredicate, $ as DeploymentViewRule, _ as DeploymentViewRuleStyle, O as DiagramEdge, N as DiagramNode, s as DiagramView, E as ElementSpecification, U as LayoutedDeploymentView, W as LayoutedDynamicView, Q as LayoutedElementView, L as LayoutedLikeC4ModelData, s as LayoutedView, c as LikeC4ModelData, l as LikeC4ModelDump, r as LikeC4View, a0 as ParsedDeploymentView, P as ParsedLikeC4ModelData, r as ParsedView, v as ProcessedView, m as ProjectDump, p as RelationshipSpecification, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, k as SpecTypesFromDump, q as Specification, S as SpecificationDump, T as TagSpecification, V as ViewOnStage, y as ViewRule, z as ViewRulePredicate, x as ViewWithType, G as isComputedView, g as isDeployedInstance, i as isDeploymentNode, K as isDeploymentView, t as isDiagramView, M as isDynamicView, H as isElementView, J as isExtendsElementView, t as isLayoutedView, I as isScopedElementView, o as isTagColorSpecified, B as isViewRulePredicate, F as isViewRuleStyle } from './shared/core.BT-9gaqQ.mjs';
|
|
9
9
|
export { C as Coalesce, E as ExclusiveUnion, I as IterableContainer, c as IteratorLike, K as KeysOf, L as Link, b as NTuple, N as NonEmptyArray, a as NonEmptyReadonlyArray, P as Predicate, R as ReorderedArray, e as exact } from './shared/core.D5fzJWbF.mjs';
|
|
10
10
|
export { ModelExpression, ModelFqnExpr, ModelRelationExpr } from './types/expression-model.mjs';
|
|
11
11
|
export { FqnRef } from './types/fqnRef.mjs';
|
|
12
|
-
export { A as AbstractRelationship, m as AnyExcludePredicate, l as AnyIncludePredicate, n as AnyViewRuleStyle, r as AutoLayoutDirection, B as BBox, z as BaseParsedViewProperties, y as BaseViewProperties, K as ComputedDeploymentView, O as ComputedDynamicView, I as ComputedEdge, J as ComputedElementView, H as ComputedNode, F as ComputedNodeStyle, Q as DynamicStep, T as DynamicStepsParallel, S as DynamicStepsSeries, a1 as DynamicViewDisplayVariant, $ as DynamicViewIncludeRule, a0 as DynamicViewRule, W as DynamicViewStep, f as Element, E as ElementStyle, a4 as ElementViewExcludePredicate, a3 as ElementViewIncludePredicate, a5 as ElementViewPredicate, a9 as ElementViewRule, a6 as ElementViewRuleGroup, a8 as ElementViewRuleStyle, b as GlobalDynamicPredicates, G as GlobalPredicateId, a as GlobalPredicates, c as GlobalStyleID, d as GlobalStyles, k as LikeC4Project, i as LikeC4ProjectStyleDefaults, j as LikeC4ProjectStylesConfig, L as LikeC4ProjectTheme, M as ModelGlobals, h as ModelRelation, N as NodeNotation, a2 as ParsedDynamicView, aa as ParsedElementView, P as Point, R as RectBox, g as Relationship, v as ViewAutoLayout, w as ViewManualLayout, t as ViewRuleAutoLayout, p as ViewRuleGlobalPredicateRef, V as ViewRuleGlobalStyle, x as ViewType, D as ViewWithHash, C as ViewWithNotation, X as XYPoint, e as ensureSizes, U as getParallelStepsPrefix, s as isAutoLayoutDirection, Y as isDynamicStep, Z as isDynamicStepsParallel, _ as isDynamicStepsSeries, u as isViewRuleAutoLayout, q as isViewRuleGlobalPredicateRef, o as isViewRuleGlobalStyle, a7 as isViewRuleGroup } from './shared/core.
|
|
12
|
+
export { A as AbstractRelationship, m as AnyExcludePredicate, l as AnyIncludePredicate, n as AnyViewRuleStyle, r as AutoLayoutDirection, B as BBox, z as BaseParsedViewProperties, y as BaseViewProperties, K as ComputedDeploymentView, O as ComputedDynamicView, I as ComputedEdge, J as ComputedElementView, H as ComputedNode, F as ComputedNodeStyle, Q as DynamicStep, T as DynamicStepsParallel, S as DynamicStepsSeries, a1 as DynamicViewDisplayVariant, $ as DynamicViewIncludeRule, a0 as DynamicViewRule, W as DynamicViewStep, f as Element, E as ElementStyle, a4 as ElementViewExcludePredicate, a3 as ElementViewIncludePredicate, a5 as ElementViewPredicate, a9 as ElementViewRule, a6 as ElementViewRuleGroup, a8 as ElementViewRuleStyle, b as GlobalDynamicPredicates, G as GlobalPredicateId, a as GlobalPredicates, c as GlobalStyleID, d as GlobalStyles, k as LikeC4Project, i as LikeC4ProjectStyleDefaults, j as LikeC4ProjectStylesConfig, L as LikeC4ProjectTheme, M as ModelGlobals, h as ModelRelation, N as NodeNotation, a2 as ParsedDynamicView, aa as ParsedElementView, P as Point, R as RectBox, g as Relationship, v as ViewAutoLayout, w as ViewManualLayout, t as ViewRuleAutoLayout, p as ViewRuleGlobalPredicateRef, V as ViewRuleGlobalStyle, x as ViewType, D as ViewWithHash, C as ViewWithNotation, X as XYPoint, e as ensureSizes, U as getParallelStepsPrefix, s as isAutoLayoutDirection, Y as isDynamicStep, Z as isDynamicStepsParallel, _ as isDynamicStepsSeries, u as isViewRuleAutoLayout, q as isViewRuleGlobalPredicateRef, o as isViewRuleGlobalStyle, a7 as isViewRuleGroup } from './shared/core.CvLjw3bH.mjs';
|
|
13
13
|
export { ViewChange } from './types/index.mjs';
|
|
14
14
|
import 'type-fest';
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { L as LikeC4Styles, e as ensureSizes } from './shared/core.DNbUPnve.mjs';
|
|
2
|
-
export { a as ancestorsFqn, h as hasProp, i as isAncestor, b as isDescendantOf, c as isNonEmptyArray, d as isSameHierarchy, e as isString, n as nameFromFqn, p as parentFqn, s as sortNaturalByFqn, f as sortParentsFirst } from './shared/core.
|
|
2
|
+
export { a as ancestorsFqn, h as hasProp, i as isAncestor, b as isDescendantOf, c as isNonEmptyArray, d as isSameHierarchy, e as isString, n as nameFromFqn, p as parentFqn, s as sortNaturalByFqn, f as sortParentsFirst } from './shared/core.727Qoh_W.mjs';
|
|
3
3
|
export { b as BiMap, d as DefaultWeakMap, l as LinkedList, m as MultiMap, q as Queue } from './shared/core.DMMOWQqc.mjs';
|
|
4
4
|
export { D as DefaultMap } from './shared/core.BbE4y-yl.mjs';
|
|
5
5
|
export { i as invariant, a as nonNullable, n as nonexhaustive } from './shared/core.D4npX2q8.mjs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { C as Connection } from '../../../shared/core.
|
|
2
|
-
export { D as DeploymentConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.
|
|
3
|
-
import '../../../shared/core.
|
|
4
|
-
import '../../../shared/core.
|
|
5
|
-
import '../../../shared/core.
|
|
1
|
+
export { C as Connection } from '../../../shared/core.DTdfiejA.mjs';
|
|
2
|
+
export { D as DeploymentConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.BXs4wY7R.mjs';
|
|
3
|
+
import '../../../shared/core.CcJ1FZ7h.mjs';
|
|
4
|
+
import '../../../shared/core.CT1xBp4R.mjs';
|
|
5
|
+
import '../../../shared/core.CDvVInBp.mjs';
|
|
6
6
|
import 'type-fest';
|
|
7
|
-
import '../../../shared/core.
|
|
7
|
+
import '../../../shared/core.hNWo20Ym.mjs';
|
|
8
8
|
import '../../../shared/core.D5fzJWbF.mjs';
|
|
9
9
|
import '../../../shared/core.DX-WYEPA.mjs';
|
|
10
10
|
import '../../../types/fqnRef.mjs';
|
|
11
|
-
import '../../../shared/core.
|
|
11
|
+
import '../../../shared/core.CvLjw3bH.mjs';
|
|
12
12
|
import '../../../types/expression-model.mjs';
|
|
13
13
|
import '../../../shared/core.CywrQs86.mjs';
|
|
14
|
-
import '../../../shared/core.
|
|
14
|
+
import '../../../shared/core.BT-9gaqQ.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as Connection } from '../../../shared/core.
|
|
2
|
-
export { D as DeploymentConnectionModel, f as findConnection, g as findConnectionsBetween, h as findConnectionsWithin } from '../../../shared/core.
|
|
1
|
+
export { C as Connection } from '../../../shared/core.BouyJs63.mjs';
|
|
2
|
+
export { D as DeploymentConnectionModel, f as findConnection, g as findConnectionsBetween, h as findConnectionsWithin } from '../../../shared/core.Be05qJwN.mjs';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { C as Connection } from '../../shared/core.
|
|
2
|
-
export { D as DeploymentConnectionModel, f as deployment } from '../../shared/core.
|
|
3
|
-
export { C as ConnectionModel, f as model } from '../../shared/core.
|
|
1
|
+
import { C as Connection } from '../../shared/core.DTdfiejA.mjs';
|
|
2
|
+
export { D as DeploymentConnectionModel, f as deployment } from '../../shared/core.BXs4wY7R.mjs';
|
|
3
|
+
export { C as ConnectionModel, f as model } from '../../shared/core.Cq2kxOI-.mjs';
|
|
4
4
|
import { I as IterableContainer, R as ReorderedArray } from '../../shared/core.D5fzJWbF.mjs';
|
|
5
|
-
import '../../shared/core.
|
|
6
|
-
import '../../shared/core.
|
|
7
|
-
import '../../shared/core.
|
|
5
|
+
import '../../shared/core.CcJ1FZ7h.mjs';
|
|
6
|
+
import '../../shared/core.CT1xBp4R.mjs';
|
|
7
|
+
import '../../shared/core.CDvVInBp.mjs';
|
|
8
8
|
import 'type-fest';
|
|
9
|
-
import '../../shared/core.
|
|
9
|
+
import '../../shared/core.hNWo20Ym.mjs';
|
|
10
10
|
import '../../shared/core.DX-WYEPA.mjs';
|
|
11
11
|
import '../../types/fqnRef.mjs';
|
|
12
|
-
import '../../shared/core.
|
|
12
|
+
import '../../shared/core.CvLjw3bH.mjs';
|
|
13
13
|
import '../../types/expression-model.mjs';
|
|
14
14
|
import '../../shared/core.CywrQs86.mjs';
|
|
15
|
-
import '../../shared/core.
|
|
15
|
+
import '../../shared/core.BT-9gaqQ.mjs';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Check if connection is nested inside another connection
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { C as Connection } from '../../shared/core.
|
|
2
|
-
export { D as DeploymentConnectionModel, d as deployment } from '../../shared/core.
|
|
3
|
-
export { C as ConnectionModel, d as differenceConnections, f as findAscendingConnections, a as findDeepestNestedConnection, b as findDescendantConnections, h as hasSameSource, c as hasSameSourceTarget, e as hasSameTarget, i as isAnyInOut, g as isIncoming, j as isNestedConnection, k as isOutgoing, m as mergeConnections, n as model, s as sortConnectionsByBoundaryHierarchy, l as sortDeepestFirst } from '../../shared/core.
|
|
1
|
+
export { C as Connection } from '../../shared/core.BouyJs63.mjs';
|
|
2
|
+
export { D as DeploymentConnectionModel, d as deployment } from '../../shared/core.Be05qJwN.mjs';
|
|
3
|
+
export { C as ConnectionModel, d as differenceConnections, f as findAscendingConnections, a as findDeepestNestedConnection, b as findDescendantConnections, h as hasSameSource, c as hasSameSourceTarget, e as hasSameTarget, i as isAnyInOut, g as isIncoming, j as isNestedConnection, k as isOutgoing, m as mergeConnections, n as model, s as sortConnectionsByBoundaryHierarchy, l as sortDeepestFirst } from '../../shared/core.2N_9BzyD.mjs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { C as Connection } from '../../../shared/core.
|
|
2
|
-
export { C as ConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.
|
|
3
|
-
import '../../../shared/core.
|
|
4
|
-
import '../../../shared/core.
|
|
5
|
-
import '../../../shared/core.
|
|
1
|
+
export { C as Connection } from '../../../shared/core.DTdfiejA.mjs';
|
|
2
|
+
export { C as ConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.Cq2kxOI-.mjs';
|
|
3
|
+
import '../../../shared/core.CcJ1FZ7h.mjs';
|
|
4
|
+
import '../../../shared/core.CT1xBp4R.mjs';
|
|
5
|
+
import '../../../shared/core.CDvVInBp.mjs';
|
|
6
6
|
import 'type-fest';
|
|
7
|
-
import '../../../shared/core.
|
|
7
|
+
import '../../../shared/core.hNWo20Ym.mjs';
|
|
8
8
|
import '../../../shared/core.D5fzJWbF.mjs';
|
|
9
9
|
import '../../../shared/core.DX-WYEPA.mjs';
|
|
10
10
|
import '../../../types/fqnRef.mjs';
|
|
11
|
-
import '../../../shared/core.
|
|
11
|
+
import '../../../shared/core.CvLjw3bH.mjs';
|
|
12
12
|
import '../../../types/expression-model.mjs';
|
|
13
13
|
import '../../../shared/core.CywrQs86.mjs';
|
|
14
|
-
import '../../../shared/core.
|
|
14
|
+
import '../../../shared/core.BT-9gaqQ.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as Connection } from '../../../shared/core.
|
|
2
|
-
export { C as ConnectionModel, p as findConnection, o as findConnectionsBetween, q as findConnectionsWithin } from '../../../shared/core.
|
|
1
|
+
export { C as Connection } from '../../../shared/core.BouyJs63.mjs';
|
|
2
|
+
export { C as ConnectionModel, p as findConnection, o as findConnectionsBetween, q as findConnectionsWithin } from '../../../shared/core.2N_9BzyD.mjs';
|
package/dist/model/index.d.mts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { D as DeploymentNodeModel, a as DeployedInstanceModel, b as DeploymentRelationModel, A as AnyRelationshipModel, N as NestedElementOfDeployedInstanceModel, E as ElementModel, R as RelationshipModel, L as LikeC4ViewModel, c as NodeModel, d as EdgeModel, e as DeploymentElementModel } from '../shared/core.
|
|
2
|
-
export { g as AnyLikeC4Model, l as DeploymentOrFqn, i as DeploymentRelationEndpoint, m as EdgeOrId, n as ElementOrFqn, I as IncomingFilter, j as LikeC4DeploymentModel, f as LikeC4Model, k as LikeC4ViewsFolder, o as NodeOrId, O as OutgoingFilter, h as RelationshipsAccum, W as WithMetadata, p as WithTags } from '../shared/core.
|
|
3
|
-
import { A as Any } from '../shared/core.
|
|
4
|
-
export { C as Connection } from '../shared/core.
|
|
5
|
-
export { C as ConnectionModel, f as modelConnection } from '../shared/core.
|
|
6
|
-
export { D as DeploymentConnectionModel, f as deploymentConnection } from '../shared/core.
|
|
1
|
+
import { D as DeploymentNodeModel, a as DeployedInstanceModel, b as DeploymentRelationModel, A as AnyRelationshipModel, N as NestedElementOfDeployedInstanceModel, E as ElementModel, R as RelationshipModel, L as LikeC4ViewModel, c as NodeModel, d as EdgeModel, e as DeploymentElementModel } from '../shared/core.CcJ1FZ7h.mjs';
|
|
2
|
+
export { g as AnyLikeC4Model, l as DeploymentOrFqn, i as DeploymentRelationEndpoint, m as EdgeOrId, n as ElementOrFqn, I as IncomingFilter, j as LikeC4DeploymentModel, f as LikeC4Model, k as LikeC4ViewsFolder, o as NodeOrId, O as OutgoingFilter, h as RelationshipsAccum, W as WithMetadata, p as WithTags } from '../shared/core.CcJ1FZ7h.mjs';
|
|
3
|
+
import { A as Any } from '../shared/core.hNWo20Ym.mjs';
|
|
4
|
+
export { C as Connection } from '../shared/core.DTdfiejA.mjs';
|
|
5
|
+
export { C as ConnectionModel, f as modelConnection } from '../shared/core.Cq2kxOI-.mjs';
|
|
6
|
+
export { D as DeploymentConnectionModel, f as deploymentConnection } from '../shared/core.BXs4wY7R.mjs';
|
|
7
7
|
export { differenceConnections, findAscendingConnections, findDeepestNestedConnection, findDescendantConnections, hasSameSource, hasSameSourceTarget, hasSameTarget, isAnyInOut, isIncoming, isNestedConnection, isOutgoing, mergeConnections, sortConnectionsByBoundaryHierarchy, sortDeepestFirst } from './connection/index.mjs';
|
|
8
|
-
import '../shared/core.
|
|
9
|
-
import '../shared/core.
|
|
8
|
+
import '../shared/core.CT1xBp4R.mjs';
|
|
9
|
+
import '../shared/core.CDvVInBp.mjs';
|
|
10
10
|
import 'type-fest';
|
|
11
11
|
import '../shared/core.D5fzJWbF.mjs';
|
|
12
12
|
import '../types/fqnRef.mjs';
|
|
13
13
|
import '../shared/core.DX-WYEPA.mjs';
|
|
14
|
-
import '../shared/core.
|
|
14
|
+
import '../shared/core.CvLjw3bH.mjs';
|
|
15
15
|
import '../types/expression-model.mjs';
|
|
16
16
|
import '../shared/core.CywrQs86.mjs';
|
|
17
|
-
import '../shared/core.
|
|
17
|
+
import '../shared/core.BT-9gaqQ.mjs';
|
|
18
18
|
|
|
19
19
|
type AnyModel<A extends Any> = DeploymentNodeModel<A> | DeployedInstanceModel<A> | DeploymentRelationModel<A> | AnyRelationshipModel<A> | NestedElementOfDeployedInstanceModel<A> | ElementModel<A> | RelationshipModel<A> | LikeC4ViewModel<A> | NodeModel<A> | EdgeModel<A>;
|
|
20
20
|
declare function isDeploymentNodeModel<M extends Any>(model: AnyModel<M>): model is DeploymentNodeModel<M>;
|
package/dist/model/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { k as EdgeModel, E as ElementModel, j as LikeC4DeploymentModel, L as LikeC4Model, l as LikeC4ViewModel, m as LikeC4ViewsFolder, N as NodeModel, R as RelationshipModel, V as VIEW_FOLDERS_SEPARATOR, n as extractViewTitleFromPath, o as getViewFolderPath, f as isDeployedInstanceModel, h as isDeploymentElementModel, g as isDeploymentNodeModel, q as isDeploymentRelationModel, v as isEdgeModel, i as isElementModel, s as isLikeC4ViewModel, r as isModelRelation, d as isNestedElementOfDeployedInstanceModel, u as isNodeModel, r as isRelationModel, r as isRelationshipModel, p as normalizeViewPath } from '../shared/core.
|
|
2
|
-
export { b as DeployedInstanceModel, D as DeploymentConnectionModel, a as DeploymentNodeModel, c as DeploymentRelationModel, R as RelationshipsAccum, d as deploymentConnection } from '../shared/core.
|
|
3
|
-
export { C as Connection } from '../shared/core.
|
|
4
|
-
export { C as ConnectionModel, d as differenceConnections, f as findAscendingConnections, a as findDeepestNestedConnection, b as findDescendantConnections, h as hasSameSource, c as hasSameSourceTarget, e as hasSameTarget, i as isAnyInOut, g as isIncoming, j as isNestedConnection, k as isOutgoing, m as mergeConnections, n as modelConnection, s as sortConnectionsByBoundaryHierarchy, l as sortDeepestFirst } from '../shared/core.
|
|
1
|
+
export { k as EdgeModel, E as ElementModel, j as LikeC4DeploymentModel, L as LikeC4Model, l as LikeC4ViewModel, m as LikeC4ViewsFolder, N as NodeModel, R as RelationshipModel, V as VIEW_FOLDERS_SEPARATOR, n as extractViewTitleFromPath, o as getViewFolderPath, f as isDeployedInstanceModel, h as isDeploymentElementModel, g as isDeploymentNodeModel, q as isDeploymentRelationModel, v as isEdgeModel, i as isElementModel, s as isLikeC4ViewModel, r as isModelRelation, d as isNestedElementOfDeployedInstanceModel, u as isNodeModel, r as isRelationModel, r as isRelationshipModel, p as normalizeViewPath } from '../shared/core.DyToofsP.mjs';
|
|
2
|
+
export { b as DeployedInstanceModel, D as DeploymentConnectionModel, a as DeploymentNodeModel, c as DeploymentRelationModel, R as RelationshipsAccum, d as deploymentConnection } from '../shared/core.Be05qJwN.mjs';
|
|
3
|
+
export { C as Connection } from '../shared/core.BouyJs63.mjs';
|
|
4
|
+
export { C as ConnectionModel, d as differenceConnections, f as findAscendingConnections, a as findDeepestNestedConnection, b as findDescendantConnections, h as hasSameSource, c as hasSameSourceTarget, e as hasSameTarget, i as isAnyInOut, g as isIncoming, j as isNestedConnection, k as isOutgoing, m as mergeConnections, n as modelConnection, s as sortConnectionsByBoundaryHierarchy, l as sortDeepestFirst } from '../shared/core.2N_9BzyD.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as customInspectSymbol } from './core.
|
|
1
|
+
import { c as customInspectSymbol } from './core.BouyJs63.mjs';
|
|
2
2
|
import { e } from './core.BoYfZOBm.mjs';
|
|
3
3
|
import { i as intersection, a as stringHash, u as union, d as difference, e as equals } from './core.C2TiyjI6.mjs';
|
|
4
4
|
import { t } from './core.OHD4KXm9.mjs';
|
|
5
5
|
import { t as t$1 } from './core.CbT8JVYL.mjs';
|
|
6
|
-
import { b as isDescendantOf, i as isAncestor, e as isString, s as sortNaturalByFqn, d as isSameHierarchy } from './core.
|
|
6
|
+
import { b as isDescendantOf, i as isAncestor, e as isString, s as sortNaturalByFqn, d as isSameHierarchy } from './core.727Qoh_W.mjs';
|
|
7
7
|
import { i as isome } from './core.FZ305VYd.mjs';
|
|
8
8
|
import { i as ifilter } from './core.DRJma0Ol.mjs';
|
|
9
9
|
import { i as invariant } from './core.D4npX2q8.mjs';
|
|
@@ -108,6 +108,11 @@ function isNonEmptyArray(arr) {
|
|
|
108
108
|
function hasProp(value, path) {
|
|
109
109
|
return value[path] != null;
|
|
110
110
|
}
|
|
111
|
+
function isAnyOf(...predicates) {
|
|
112
|
+
return (value) => {
|
|
113
|
+
return predicates.some((predicate) => predicate(value));
|
|
114
|
+
};
|
|
115
|
+
}
|
|
111
116
|
|
|
112
117
|
function parentFqn(fqn) {
|
|
113
118
|
const lastDot = fqn.lastIndexOf(".");
|
|
@@ -267,4 +272,4 @@ function sortNaturalByFqn(array, sort) {
|
|
|
267
272
|
}).map(({ item }) => item);
|
|
268
273
|
}
|
|
269
274
|
|
|
270
|
-
export { ancestorsFqn as a, isDescendantOf as b, isNonEmptyArray as c, isSameHierarchy as d, isString as e, sortParentsFirst as f, compareNatural as g, hasProp as h, isAncestor as i, compareNaturalHierarchically as j, commonAncestor as k, compareByFqnHierarchically as l, compareFqnHierarchically as m, nameFromFqn as n, hierarchyDistance as o, parentFqn as p, hierarchyLevel as q, sortByFqnHierarchically as r, sortNaturalByFqn as s };
|
|
275
|
+
export { ancestorsFqn as a, isDescendantOf as b, isNonEmptyArray as c, isSameHierarchy as d, isString as e, sortParentsFirst as f, compareNatural as g, hasProp as h, isAncestor as i, compareNaturalHierarchically as j, commonAncestor as k, compareByFqnHierarchically as l, compareFqnHierarchically as m, nameFromFqn as n, hierarchyDistance as o, parentFqn as p, hierarchyLevel as q, sortByFqnHierarchically as r, sortNaturalByFqn as s, isAnyOf as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IsNever, IsAny } from 'type-fest';
|
|
2
|
-
import { A as Any, U as Unknown, W as WithDescriptionAndTech, n as WithOptionalTags, o as WithOptionalLinks, q as WithMetadata, r as WithNotation, s as DeploymentFqn, t as DeploymentKind, F as Fqn, T as Tag, j as ElementKind, R as RelationKind, u as MetadataKey, f as _stage, g as _type, h as StrictViewId, N as NodeId, v as EdgeId, E as ExtractOnStage, M as ModelStage, P as ProjectId, k as ElementId, D as DeploymentId, d as UnknownParsed, V as ViewId, b as UnknownComputed, c as UnknownLayouted, S as SpecAux, a as Aux, w as Never } from './core.
|
|
2
|
+
import { A as Any, U as Unknown, W as WithDescriptionAndTech, n as WithOptionalTags, o as WithOptionalLinks, q as WithMetadata, r as WithNotation, s as DeploymentFqn, t as DeploymentKind, F as Fqn, T as Tag, j as ElementKind, R as RelationKind, u as MetadataKey, f as _stage, g as _type, h as StrictViewId, N as NodeId, v as EdgeId, E as ExtractOnStage, M as ModelStage, P as ProjectId, k as ElementId, D as DeploymentId, d as UnknownParsed, V as ViewId, b as UnknownComputed, c as UnknownLayouted, S as SpecAux, a as Aux, w as Never } from './core.hNWo20Ym.mjs';
|
|
3
3
|
import { N as NonEmptyArray, L as Link, E as ExclusiveUnion, K as KeysOf } from './core.D5fzJWbF.mjs';
|
|
4
|
-
import { E as ElementStyle, A as AbstractRelationship, y as BaseViewProperties, D as ViewWithHash, C as ViewWithNotation, v as ViewAutoLayout, H as ComputedNode, B as BBox, I as ComputedEdge, P as Point, X as XYPoint, a1 as DynamicViewDisplayVariant, z as BaseParsedViewProperties, l as AnyIncludePredicate, m as AnyExcludePredicate, n as AnyViewRuleStyle, t as ViewRuleAutoLayout, aa as ParsedElementView, a2 as ParsedDynamicView, J as ComputedElementView, K as ComputedDeploymentView, O as ComputedDynamicView, x as ViewType, k as LikeC4Project, f as Element, g as Relationship, M as ModelGlobals } from './core.
|
|
4
|
+
import { E as ElementStyle, A as AbstractRelationship, y as BaseViewProperties, D as ViewWithHash, C as ViewWithNotation, v as ViewAutoLayout, H as ComputedNode, B as BBox, I as ComputedEdge, P as Point, X as XYPoint, a1 as DynamicViewDisplayVariant, z as BaseParsedViewProperties, l as AnyIncludePredicate, m as AnyExcludePredicate, n as AnyViewRuleStyle, t as ViewRuleAutoLayout, aa as ParsedElementView, a2 as ParsedDynamicView, J as ComputedElementView, K as ComputedDeploymentView, O as ComputedDynamicView, x as ViewType, k as LikeC4Project, f as Element, g as Relationship, M as ModelGlobals } from './core.CvLjw3bH.mjs';
|
|
5
5
|
import { FqnRef } from '../types/fqnRef.mjs';
|
|
6
|
-
import { D as ThemeColor, C as ColorLiteral, u as ElementShape, Q as Color, s as BorderStyle, q as ShapeSize, r as SpacingSize, p as TextSize, v as RelationshipLineType, y as RelationshipArrowType, I as CustomColorDefinitions, E as Expression, F as FqnExpr } from './core.
|
|
6
|
+
import { D as ThemeColor, C as ColorLiteral, u as ElementShape, Q as Color, s as BorderStyle, q as ShapeSize, r as SpacingSize, p as TextSize, v as RelationshipLineType, y as RelationshipArrowType, I as CustomColorDefinitions, E as Expression, F as FqnExpr } from './core.CDvVInBp.mjs';
|
|
7
7
|
import { T as Tag$1, M as MarkdownOrString, I as Icon, d as RelationId } from './core.DX-WYEPA.mjs';
|
|
8
8
|
|
|
9
9
|
interface DeploymentNode<A extends Any = Unknown> extends WithDescriptionAndTech, WithOptionalTags<A>, WithOptionalLinks, WithMetadata<A>, WithNotation {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as Connection, c as customInspectSymbol } from './core.
|
|
2
|
-
import { e as DeploymentElementModel, h as RelationshipsAccum, D as DeploymentNodeModel, R as RelationshipModel, b as DeploymentRelationModel } from './core.
|
|
3
|
-
import { A as Any, v as EdgeId } from './core.
|
|
1
|
+
import { C as Connection, c as customInspectSymbol } from './core.DTdfiejA.mjs';
|
|
2
|
+
import { e as DeploymentElementModel, h as RelationshipsAccum, D as DeploymentNodeModel, R as RelationshipModel, b as DeploymentRelationModel } from './core.CcJ1FZ7h.mjs';
|
|
3
|
+
import { A as Any, v as EdgeId } from './core.hNWo20Ym.mjs';
|
|
4
4
|
import { c as IteratorLike } from './core.D5fzJWbF.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as customInspectSymbol } from './core.
|
|
1
|
+
import { c as customInspectSymbol } from './core.BouyJs63.mjs';
|
|
2
2
|
import { i as intersection, d as difference, u as union, a as stringHash, e as equals } from './core.C2TiyjI6.mjs';
|
|
3
3
|
import { e as e$1 } from './core.BKlholso.mjs';
|
|
4
4
|
import { t as t$3 } from './core.BsSXS-_R.mjs';
|
|
5
5
|
import { t as t$2, a as t$4 } from './core.OHD4KXm9.mjs';
|
|
6
|
-
import { q as hierarchyLevel, k as commonAncestor, n as nameFromFqn, d as isSameHierarchy } from './core.
|
|
6
|
+
import { q as hierarchyLevel, k as commonAncestor, n as nameFromFqn, d as isSameHierarchy } from './core.727Qoh_W.mjs';
|
|
7
7
|
import { a as nonNullable, i as invariant } from './core.D4npX2q8.mjs';
|
|
8
8
|
import { m as memoizeProp } from './core.BR4zXDH-.mjs';
|
|
9
9
|
import { e as exact, R as RichText } from './core.01VTr9qu.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TupleToUnion, Tagged } from 'type-fest';
|
|
2
|
-
import { A as Any, T as Tag, l as AllKinds, m as Tags, h as StrictViewId, j as ElementKind } from './core.
|
|
2
|
+
import { A as Any, T as Tag, l as AllKinds, m as Tags, h as StrictViewId, j as ElementKind } from './core.hNWo20Ym.mjs';
|
|
3
3
|
import { N as NonEmptyArray, E as ExclusiveUnion } from './core.D5fzJWbF.mjs';
|
|
4
4
|
import { FqnRef } from '../types/fqnRef.mjs';
|
|
5
5
|
import { M as MarkdownOrString, I as Icon } from './core.DX-WYEPA.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as LikeC4StylesConfig, b as LikeC4Theme, L as LikeC4StyleDefaults, U as ElementColorValues, V as RelationshipColorValues, D as ThemeColor, T as ThemeColorValues, p as TextSize, r as SpacingSize, q as ShapeSize } from './core.
|
|
1
|
+
import { a as LikeC4StylesConfig, b as LikeC4Theme, L as LikeC4StyleDefaults, U as ElementColorValues, V as RelationshipColorValues, D as ThemeColor, T as ThemeColorValues, p as TextSize, r as SpacingSize, q as ShapeSize } from './core.CDvVInBp.mjs';
|
|
2
2
|
import { LiteralUnion } from 'type-fest';
|
|
3
|
-
import { j as LikeC4ProjectStylesConfig, F as ComputedNodeStyle } from './core.
|
|
3
|
+
import { j as LikeC4ProjectStylesConfig, F as ComputedNodeStyle } from './core.CvLjw3bH.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Styles of a LikeC4 project
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as t$g, a as t$i } from './core.BsSXS-_R.mjs';
|
|
2
|
-
import { b as t$k, e as e$4, a as t$l, c as t$n, t as t$s, i as isElementModel, d as isNestedElementOfDeployedInstanceModel, f as isDeployedInstanceModel, g as isDeploymentNodeModel, h as isDeploymentElementModel, L as LikeC4Model } from './core.
|
|
2
|
+
import { b as t$k, e as e$4, a as t$l, c as t$n, t as t$s, i as isElementModel, d as isNestedElementOfDeployedInstanceModel, f as isDeployedInstanceModel, g as isDeploymentNodeModel, h as isDeploymentElementModel, L as LikeC4Model } from './core.DyToofsP.mjs';
|
|
3
3
|
import { t as t$m } from './core.CbT8JVYL.mjs';
|
|
4
4
|
import { a as t$h, t as t$j, n as n$i } from './core.OHD4KXm9.mjs';
|
|
5
|
-
import { n as n$j, e as e$6, t as t$q, d as deploymentConnection, R as RelationshipsAccum, D as DeploymentConnectionModel } from './core.
|
|
6
|
-
import { c as commonHead, t as t$o, o as objectHash, b as t$t, a as compareRelations, S as Stack } from './core.
|
|
5
|
+
import { n as n$j, e as e$6, t as t$q, d as deploymentConnection, R as RelationshipsAccum, D as DeploymentConnectionModel } from './core.Be05qJwN.mjs';
|
|
6
|
+
import { c as commonHead, t as t$o, o as objectHash, b as t$t, a as compareRelations, S as Stack } from './core.D0NziuvN.mjs';
|
|
7
7
|
import { a as nonNullable, i as invariant, n as nonexhaustive } from './core.D4npX2q8.mjs';
|
|
8
8
|
import { G as Graph } from './core.CNgZvKb8.mjs';
|
|
9
9
|
import { r as requireForeach } from './core.1vX5a9AY.mjs';
|
|
10
10
|
import { a as requireIterator } from './core.rCeaAqgW.mjs';
|
|
11
11
|
import { g as getDefaultExportFromCjs } from './core.B85MJLTf.mjs';
|
|
12
12
|
import { e as e$5 } from './core.BKlholso.mjs';
|
|
13
|
-
import { b as isDescendantOf, f as sortParentsFirst, i as isAncestor, p as parentFqn, l as compareByFqnHierarchically, c as isNonEmptyArray, n as nameFromFqn, r as sortByFqnHierarchically, k as commonAncestor, a as ancestorsFqn, d as isSameHierarchy } from './core.
|
|
13
|
+
import { b as isDescendantOf, f as sortParentsFirst, i as isAncestor, p as parentFqn, l as compareByFqnHierarchically, c as isNonEmptyArray, n as nameFromFqn, r as sortByFqnHierarchically, k as commonAncestor, a as ancestorsFqn, d as isSameHierarchy } from './core.727Qoh_W.mjs';
|
|
14
14
|
import { d as difference, i as intersection, u as union, h as hasIntersection } from './core.C2TiyjI6.mjs';
|
|
15
15
|
import { w as whereOperatorAsPredicate, t as t$p, a as _type, _ as _stage, k as e$b } from './core.BYNkXQ8A.mjs';
|
|
16
16
|
import { e as e$7, a as iunique, i as iflat } from './core.C4x8aaWa.mjs';
|
|
@@ -23,11 +23,11 @@ import { a as preferSummary } from './core.BazD6cot.mjs';
|
|
|
23
23
|
import { e as exact, t as t$u } from './core.01VTr9qu.mjs';
|
|
24
24
|
import { a as t$r } from './core.DNbUPnve.mjs';
|
|
25
25
|
import { FqnExpr, RelationExpr } from '../types/expression.mjs';
|
|
26
|
-
import { f as findAscendingConnections, m as mergeConnections, d as differenceConnections, j as isNestedConnection, s as sortConnectionsByBoundaryHierarchy, o as findConnectionsBetween$3, p as findConnection$3, n as modelConnection, b as findDescendantConnections, a as findDeepestNestedConnection, i as isAnyInOut, k as isOutgoing, g as isIncoming, C as ConnectionModel } from './core.
|
|
26
|
+
import { f as findAscendingConnections, m as mergeConnections, d as differenceConnections, j as isNestedConnection, s as sortConnectionsByBoundaryHierarchy, o as findConnectionsBetween$3, p as findConnection$3, n as modelConnection, b as findDescendantConnections, a as findDeepestNestedConnection, i as isAnyInOut, k as isOutgoing, g as isIncoming, C as ConnectionModel } from './core.2N_9BzyD.mjs';
|
|
27
27
|
import { t as toSet, a as toArray, i as imap } from './core.C3JowhaZ.mjs';
|
|
28
28
|
import { D as DefaultMap } from './core.BbE4y-yl.mjs';
|
|
29
29
|
import { i as ifilter } from './core.DRJma0Ol.mjs';
|
|
30
|
-
import { C as Connection, c as customInspectSymbol } from './core.
|
|
30
|
+
import { C as Connection, c as customInspectSymbol } from './core.BouyJs63.mjs';
|
|
31
31
|
import { i as isome } from './core.FZ305VYd.mjs';
|
|
32
32
|
import { i as isIterable, e as e$9 } from './core.RfnaEmgA.mjs';
|
|
33
33
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { L as LikeC4Styles } from './core.
|
|
2
|
-
import { A as Any, R as RelationKind, m as Tags, y as Metadata, u as MetadataKey, L as LooseTag, F as Fqn, k as ElementId, j as ElementKind, t as DeploymentKind, E as ExtractOnStage, z as RelationId$1, h as StrictViewId, g as _type, B as LooseElementId, C as LooseDeploymentId, s as DeploymentFqn, G as toComputed, H as toLayouted, I as Stage, D as DeploymentId, U as Unknown, V as ViewId, T as Tag, J as toParsed, P as ProjectId$1, K as LooseViewId, a as Aux, S as SpecAux, d as UnknownParsed, b as UnknownComputed, c as UnknownLayouted } from './core.
|
|
1
|
+
import { L as LikeC4Styles } from './core.CT1xBp4R.mjs';
|
|
2
|
+
import { A as Any, R as RelationKind, m as Tags, y as Metadata, u as MetadataKey, L as LooseTag, F as Fqn, k as ElementId, j as ElementKind, t as DeploymentKind, E as ExtractOnStage, z as RelationId$1, h as StrictViewId, g as _type, B as LooseElementId, C as LooseDeploymentId, s as DeploymentFqn, G as toComputed, H as toLayouted, I as Stage, D as DeploymentId, U as Unknown, V as ViewId, T as Tag, J as toParsed, P as ProjectId$1, K as LooseViewId, a as Aux, S as SpecAux, d as UnknownParsed, b as UnknownComputed, c as UnknownLayouted } from './core.hNWo20Ym.mjs';
|
|
3
3
|
import { d as RelationId, P as ProjectId, a as IconUrl, N as NodeId, G as GroupElementKind, j as EdgeId, k as StepEdgeId, V as ViewId$1 } from './core.DX-WYEPA.mjs';
|
|
4
4
|
import { D as DefaultMap } from './core.CywrQs86.mjs';
|
|
5
5
|
import { SetRequired } from 'type-fest';
|
|
6
|
-
import { b as RichTextOrEmpty, x as ViewWithType, u as ComputedView, s as LayoutedView, P as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, L as LayoutedLikeC4ModelData, d as DeployedInstance, h as DeploymentRelationship, e as DeploymentElement, D as DeploymentNode, l as LikeC4ModelDump, n as AuxFromDump, q as Specification } from './core.
|
|
6
|
+
import { b as RichTextOrEmpty, x as ViewWithType, u as ComputedView, s as LayoutedView, P as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, L as LayoutedLikeC4ModelData, d as DeployedInstance, h as DeploymentRelationship, e as DeploymentElement, D as DeploymentNode, l as LikeC4ModelDump, n as AuxFromDump, q as Specification } from './core.BT-9gaqQ.mjs';
|
|
7
7
|
import { c as IteratorLike, L as Link, N as NonEmptyArray } from './core.D5fzJWbF.mjs';
|
|
8
|
-
import { Q as Color, v as RelationshipLineType, y as RelationshipArrowType, u as ElementShape, W as WhereOperator } from './core.
|
|
9
|
-
import { g as Relationship, f as Element, E as ElementStyle, F as ComputedNodeStyle, a1 as DynamicViewDisplayVariant, k as LikeC4Project, M as ModelGlobals } from './core.
|
|
8
|
+
import { Q as Color, v as RelationshipLineType, y as RelationshipArrowType, u as ElementShape, W as WhereOperator } from './core.CDvVInBp.mjs';
|
|
9
|
+
import { g as Relationship, f as Element, E as ElementStyle, F as ComputedNodeStyle, a1 as DynamicViewDisplayVariant, k as LikeC4Project, M as ModelGlobals } from './core.CvLjw3bH.mjs';
|
|
10
10
|
import { FqnRef } from '../types/fqnRef.mjs';
|
|
11
11
|
|
|
12
12
|
type RelationshipsIterator<A extends Any> = IteratorLike<RelationshipModel<A>>;
|
|
@@ -63,7 +63,7 @@ declare class RelationshipModel<A extends Any = Any> implements AnyRelationshipM
|
|
|
63
63
|
isModelRelation(): this is RelationshipModel<A>;
|
|
64
64
|
hasMetadata(): boolean;
|
|
65
65
|
getMetadata(): Metadata<A>;
|
|
66
|
-
getMetadata(field: MetadataKey<A>): string | undefined;
|
|
66
|
+
getMetadata(field: MetadataKey<A>): string | string[] | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* Checks if the relationship has the given tag.
|
|
69
69
|
*/
|
|
@@ -166,7 +166,7 @@ declare class ElementModel<A extends Any = Any> implements WithTags<A>, WithMeta
|
|
|
166
166
|
deployments(): DeployedInstancesIterator<A>;
|
|
167
167
|
hasMetadata(): boolean;
|
|
168
168
|
getMetadata(): Metadata<A>;
|
|
169
|
-
getMetadata(field: MetadataKey<A>): string | undefined;
|
|
169
|
+
getMetadata(field: MetadataKey<A>): string | string[] | undefined;
|
|
170
170
|
/**
|
|
171
171
|
* Checks if the element has the given tag.
|
|
172
172
|
*/
|
|
@@ -547,7 +547,7 @@ interface WithTags<A extends Any> {
|
|
|
547
547
|
interface WithMetadata<A extends Any> {
|
|
548
548
|
hasMetadata(): boolean;
|
|
549
549
|
getMetadata(): Metadata<A>;
|
|
550
|
-
getMetadata(field: MetadataKey<A>): string | undefined;
|
|
550
|
+
getMetadata(field: MetadataKey<A>): string | string[] | undefined;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
declare class LikeC4DeploymentModel<A extends Any = Any> {
|
|
@@ -703,7 +703,7 @@ declare abstract class AbstractDeploymentElementModel<A extends Any> implements
|
|
|
703
703
|
get allIncoming(): RelationshipsAccum<A>;
|
|
704
704
|
hasMetadata(): boolean;
|
|
705
705
|
getMetadata(): Metadata<A>;
|
|
706
|
-
getMetadata(field: MetadataKey<A>): string | undefined;
|
|
706
|
+
getMetadata(field: MetadataKey<A>): string | string[] | undefined;
|
|
707
707
|
/**
|
|
708
708
|
* Checks if the deployment element has the given tag.
|
|
709
709
|
*/
|
|
@@ -819,7 +819,7 @@ declare class DeploymentRelationModel<A extends Any = Any> implements AnyRelatio
|
|
|
819
819
|
isModelRelation(): this is RelationshipModel<A>;
|
|
820
820
|
hasMetadata(): boolean;
|
|
821
821
|
getMetadata(): Metadata<A>;
|
|
822
|
-
getMetadata(field: MetadataKey<A>): string | undefined;
|
|
822
|
+
getMetadata(field: MetadataKey<A>): string | string[] | undefined;
|
|
823
823
|
/**
|
|
824
824
|
* Checks if the relationship has the given tag.
|
|
825
825
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as Connection, c as customInspectSymbol } from './core.
|
|
2
|
-
import { E as ElementModel, R as RelationshipModel } from './core.
|
|
3
|
-
import { A as Any, U as Unknown, v as EdgeId } from './core.
|
|
1
|
+
import { C as Connection, c as customInspectSymbol } from './core.DTdfiejA.mjs';
|
|
2
|
+
import { E as ElementModel, R as RelationshipModel } from './core.CcJ1FZ7h.mjs';
|
|
3
|
+
import { A as Any, U as Unknown, v as EdgeId } from './core.hNWo20Ym.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Connection refers to any relationships between two elements,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tagged, NonEmptyTuple, PartialDeep, WritableDeep, Except } from 'type-fest';
|
|
2
|
-
import { s as BorderStyle, q as ShapeSize, r as SpacingSize, p as TextSize, Q as Color, u as ElementShape, v as RelationshipLineType, y as RelationshipArrowType, b as LikeC4Theme, L as LikeC4StyleDefaults } from './core.
|
|
2
|
+
import { s as BorderStyle, q as ShapeSize, r as SpacingSize, p as TextSize, Q as Color, u as ElementShape, v as RelationshipLineType, y as RelationshipArrowType, b as LikeC4Theme, L as LikeC4StyleDefaults } from './core.CDvVInBp.mjs';
|
|
3
3
|
import { I as Icon, M as MarkdownOrString, d as RelationId, P as ProjectId, N as NodeId, j as EdgeId, m as StepEdgeKind } from './core.DX-WYEPA.mjs';
|
|
4
|
-
import { A as Any, n as WithOptionalTags, o as WithOptionalLinks, h as StrictViewId, f as _stage, g as _type, F as Fqn, R as RelationKind, W as WithDescriptionAndTech, q as WithMetadata, r as WithNotation, j as ElementKind, x as WithTags, t as DeploymentKind, s as DeploymentFqn } from './core.
|
|
4
|
+
import { A as Any, n as WithOptionalTags, o as WithOptionalLinks, h as StrictViewId, f as _stage, g as _type, F as Fqn, R as RelationKind, W as WithDescriptionAndTech, q as WithMetadata, r as WithNotation, j as ElementKind, x as WithTags, t as DeploymentKind, s as DeploymentFqn } from './core.hNWo20Ym.mjs';
|
|
5
5
|
import { FqnRef } from '../types/fqnRef.mjs';
|
|
6
6
|
import { N as NonEmptyArray, E as ExclusiveUnion, a as NonEmptyReadonlyArray } from './core.D5fzJWbF.mjs';
|
|
7
7
|
import { ModelExpression, ModelFqnExpr } from '../types/expression-model.mjs';
|
|
@@ -307,6 +307,26 @@ declare function sortNaturalByFqn<A extends IterableContainer<WithId>>(array: A,
|
|
|
307
307
|
declare function isString(value: unknown): value is string;
|
|
308
308
|
declare function isNonEmptyArray<A>(arr: ArrayLike<A> | undefined): arr is NonEmptyArray<A>;
|
|
309
309
|
declare function hasProp<T extends object, P extends keyof T & string>(value: T, path: P): value is SetRequired<SetNonNullable<T, P>, P>;
|
|
310
|
+
type Guard<N = unknown> = (n: unknown) => n is N;
|
|
311
|
+
type Guarded<G> = G extends Guard<infer N> ? N : never;
|
|
312
|
+
/**
|
|
313
|
+
* Creates a type guard that checks if a value matches any of the provided predicates.
|
|
314
|
+
*
|
|
315
|
+
* @template Predicates - A non-empty array of guard functions
|
|
316
|
+
* @param predicates - The guard functions to test against
|
|
317
|
+
* @returns A type guard function that returns true if the value matches any of the predicates
|
|
318
|
+
*
|
|
319
|
+
* @example
|
|
320
|
+
* ```typescript
|
|
321
|
+
* const isStringOrNumber = isAnyOf(isString, isNumber);
|
|
322
|
+
*
|
|
323
|
+
* if (isStringOrNumber(value)) {
|
|
324
|
+
* // value is now typed as string | number
|
|
325
|
+
* console.log(value);
|
|
326
|
+
* }
|
|
327
|
+
* ```
|
|
328
|
+
*/
|
|
329
|
+
declare function isAnyOf<const Predicates extends NonEmptyArray<Guard>>(...predicates: Predicates): (value: unknown) => value is Guarded<Predicates[number]>;
|
|
310
330
|
|
|
311
331
|
/**
|
|
312
332
|
* Saves the value returned by fn() in a hidden property tag of obj object, so next time memoizeProp() is called,
|
|
@@ -329,4 +349,4 @@ declare function hasProp<T extends object, P extends keyof T & string>(value: T,
|
|
|
329
349
|
*/
|
|
330
350
|
declare function memoizeProp<Tag extends symbol | string, Res>(obj: object, tag: Tag, fn: () => Res): Res;
|
|
331
351
|
|
|
332
|
-
export { BiMap as B, DefaultWeakMap as D, LinkedList as L, MultiMap as M, Queue as Q, ancestorsFqn as a, isAncestor as b, isDescendantOf as c, isNonEmptyArray as d, isSameHierarchy as e, isString as f, nonexhaustive as g, hasProp as h, invariant as i, nonNullable as j, sortParentsFirst as k, commonAncestor as l, memoizeProp as m, nameFromFqn as n, compareByFqnHierarchically as o, parentFqn as p, compareFqnHierarchically as q, hierarchyDistance as r, sortNaturalByFqn as s, hierarchyLevel as t, sortByFqnHierarchically as u };
|
|
352
|
+
export { BiMap as B, DefaultWeakMap as D, LinkedList as L, MultiMap as M, Queue as Q, ancestorsFqn as a, isAncestor as b, isDescendantOf as c, isNonEmptyArray as d, isSameHierarchy as e, isString as f, nonexhaustive as g, hasProp as h, invariant as i, nonNullable as j, sortParentsFirst as k, commonAncestor as l, memoizeProp as m, nameFromFqn as n, compareByFqnHierarchically as o, parentFqn as p, compareFqnHierarchically as q, hierarchyDistance as r, sortNaturalByFqn as s, hierarchyLevel as t, sortByFqnHierarchically as u, isAnyOf as v };
|
|
@@ -4,7 +4,7 @@ import { r as requireForeach } from './core.1vX5a9AY.mjs';
|
|
|
4
4
|
import { t as t$3 } from './core.OHD4KXm9.mjs';
|
|
5
5
|
import { t as t$4 } from './core.CbT8JVYL.mjs';
|
|
6
6
|
import { t as t$2 } from './core.BsSXS-_R.mjs';
|
|
7
|
-
import { k as commonAncestor, m as compareFqnHierarchically } from './core.
|
|
7
|
+
import { k as commonAncestor, m as compareFqnHierarchically } from './core.727Qoh_W.mjs';
|
|
8
8
|
import { e } from './core.RfnaEmgA.mjs';
|
|
9
9
|
import { i as invariant } from './core.D4npX2q8.mjs';
|
|
10
10
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ElementModel, e as DeploymentElementModel } from './core.
|
|
2
|
-
import { A as Any } from './core.
|
|
1
|
+
import { E as ElementModel, e as DeploymentElementModel } from './core.CcJ1FZ7h.mjs';
|
|
2
|
+
import { A as Any } from './core.hNWo20Ym.mjs';
|
|
3
3
|
import { F as Fqn } from './core.DX-WYEPA.mjs';
|
|
4
4
|
|
|
5
5
|
interface Connection<Elem = ElementModel<Any> | DeploymentElementModel<Any>, Id = string> {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as n$4, e as e$4, a as DeploymentNodeModel, b as DeployedInstanceModel, c as DeploymentRelationModel, N as NestedElementOfDeployedInstanceModel } from './core.
|
|
1
|
+
import { n as n$4, e as e$4, a as DeploymentNodeModel, b as DeployedInstanceModel, c as DeploymentRelationModel, N as NestedElementOfDeployedInstanceModel } from './core.Be05qJwN.mjs';
|
|
2
2
|
import { t as t$8, a as t$9 } from './core.BsSXS-_R.mjs';
|
|
3
3
|
import { e as e$3 } from './core.BKlholso.mjs';
|
|
4
4
|
import { c as splitGlobalFqn, g as extractStep, e as isStepEdgeId, i as isGroupElementKind, b as isGlobalFqn, a as GlobalFqn } from './core.C_Ni6yHl.mjs';
|
|
5
|
-
import { q as hierarchyLevel, n as nameFromFqn, i as isAncestor, k as commonAncestor, s as sortNaturalByFqn, f as sortParentsFirst, p as parentFqn, a as ancestorsFqn, j as compareNaturalHierarchically, g as compareNatural } from './core.
|
|
5
|
+
import { q as hierarchyLevel, n as nameFromFqn, i as isAncestor, k as commonAncestor, s as sortNaturalByFqn, f as sortParentsFirst, p as parentFqn, a as ancestorsFqn, j as compareNaturalHierarchically, g as compareNatural } from './core.727Qoh_W.mjs';
|
|
6
6
|
import { m as memoizeProp } from './core.BR4zXDH-.mjs';
|
|
7
7
|
import { R as RichText, e as exact } from './core.01VTr9qu.mjs';
|
|
8
8
|
import { a as preferSummary, p as preferDescription } from './core.BazD6cot.mjs';
|
|
@@ -16,8 +16,8 @@ import { D as DefaultMap } from './core.BbE4y-yl.mjs';
|
|
|
16
16
|
import { FqnRef } from '../types/fqnRef.mjs';
|
|
17
17
|
import { b as isDeploymentNode, a as _type, _ as _stage, i as isOnStage, w as whereOperatorAsPredicate } from './core.BYNkXQ8A.mjs';
|
|
18
18
|
import { i as ifilter } from './core.DRJma0Ol.mjs';
|
|
19
|
-
import './core.
|
|
20
|
-
import './core.
|
|
19
|
+
import './core.BouyJs63.mjs';
|
|
20
|
+
import './core.2N_9BzyD.mjs';
|
|
21
21
|
|
|
22
22
|
const e$2={asc:(e,t)=>e>t,desc:(e,t)=>e<t};function t$7(e,t){let[n,...a]=t;if(!i$1(n)){let t=r$1(...a);return e(n,t)}let o=r$1(n,...a);return t=>e(t,o)}function r$1(t,n,...i){let a=typeof t==`function`?t:t[0],o=typeof t==`function`?`asc`:t[1],{[o]:s}=e$2,c=n===void 0?void 0:r$1(n,...i);return (e,t)=>{let n=a(e),r=a(t);return s(n,r)?1:s(r,n)?-1:c?.(e,t)??0}}function i$1(t){if(a(t))return true;if(typeof t!=`object`||!Array.isArray(t))return false;let[n,r,...i]=t;return a(n)&&typeof r==`string`&&r in e$2&&i.length===0}const a=e=>typeof e==`function`&&e.length===1;
|
|
23
23
|
|
|
@@ -155,8 +155,8 @@ type MetadataKey<A> = A extends infer T extends Any ? Coalesce<T['MetadataKey']>
|
|
|
155
155
|
* Metadata object from Aux
|
|
156
156
|
*/
|
|
157
157
|
type Metadata<A extends Any> = IsNever<A['MetadataKey']> extends true ? never : IsLiteral<A['MetadataKey']> extends true ? {
|
|
158
|
-
[key in A['MetadataKey']]?: string;
|
|
159
|
-
} : Record<string, string>;
|
|
158
|
+
[key in A['MetadataKey']]?: string | string[];
|
|
159
|
+
} : Record<string, string | string[]>;
|
|
160
160
|
/**
|
|
161
161
|
* All known kinds from Aux as a literal union.
|
|
162
162
|
*/
|
package/dist/styles/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as ColorLiteral, T as ThemeColorValues, U as ElementColorValues, V as RelationshipColorValues } from '../shared/core.
|
|
2
|
-
export { s as BorderStyle, B as BorderStyles, Q as Color, J as CustomColor, I as CustomColorDefinitions, u as ElementShape, t as ElementShapes, H as HexColor, L as LikeC4StyleDefaults, a as LikeC4StylesConfig, b as LikeC4Theme, y as RelationshipArrowType, x as RelationshipArrowTypes, v as RelationshipLineType, q as ShapeSize, o as Size, S as Sizes, r as SpacingSize, p as TextSize, D as ThemeColor, z as ThemeColors, M as isCustomColor, G as isThemeColor } from '../shared/core.
|
|
3
|
-
export { L as LikeC4Styles } from '../shared/core.
|
|
1
|
+
import { C as ColorLiteral, T as ThemeColorValues, U as ElementColorValues, V as RelationshipColorValues } from '../shared/core.CDvVInBp.mjs';
|
|
2
|
+
export { s as BorderStyle, B as BorderStyles, Q as Color, J as CustomColor, I as CustomColorDefinitions, u as ElementShape, t as ElementShapes, H as HexColor, L as LikeC4StyleDefaults, a as LikeC4StylesConfig, b as LikeC4Theme, y as RelationshipArrowType, x as RelationshipArrowTypes, v as RelationshipLineType, q as ShapeSize, o as Size, S as Sizes, r as SpacingSize, p as TextSize, D as ThemeColor, z as ThemeColors, M as isCustomColor, G as isThemeColor } from '../shared/core.CDvVInBp.mjs';
|
|
3
|
+
export { L as LikeC4Styles } from '../shared/core.CT1xBp4R.mjs';
|
|
4
4
|
import 'type-fest';
|
|
5
|
-
import '../shared/core.
|
|
5
|
+
import '../shared/core.hNWo20Ym.mjs';
|
|
6
6
|
import '../shared/core.D5fzJWbF.mjs';
|
|
7
7
|
import '../shared/core.DX-WYEPA.mjs';
|
|
8
8
|
import '../types/fqnRef.mjs';
|
|
9
|
-
import '../shared/core.
|
|
9
|
+
import '../shared/core.CvLjw3bH.mjs';
|
|
10
10
|
import '../types/expression-model.mjs';
|
|
11
11
|
|
|
12
12
|
declare function computeColorValues(color: ColorLiteral): ThemeColorValues;
|
package/dist/types/_aux.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'type-fest';
|
|
2
2
|
import '../shared/core.D5fzJWbF.mjs';
|
|
3
|
-
export { l as AllKinds, A as Any, A as AnyAux, Q as AnySpec, a as Aux, s as DeploymentFqn, D as DeploymentId, t as DeploymentKind, v as EdgeId, k as ElementId, j as ElementKind, F as Fqn, C as LooseDeploymentId, a8 as LooseDeploymentKind, B as LooseElementId, a7 as LooseElementKind, a9 as LooseRelationKind, L as LooseTag, a6 as LooseTags, K as LooseViewId, y as Metadata, u as MetadataKey, w as Never, N as NodeId, a5 as OrString, X as PickByStage, P as ProjectId, z as RelationId, R as RelationKind, Z as Spec, S as SpecAux, I as Stage, s as StrictDeploymentFqn, a2 as StrictDeploymentKind, a1 as StrictElementKind, F as StrictFqn, $ as StrictProjectId, a3 as StrictRelationKind, a0 as StrictTag, h as StrictViewId, T as Tag, m as Tags, U as Unknown, b as UnknownComputed, c as UnknownLayouted, d as UnknownParsed, V as ViewId, W as WithDescriptionAndTech, a4 as WithLinks, q as WithMetadata, r as WithNotation, o as WithOptionalLinks, n as WithOptionalTags, x as WithTags, p as preferDescription, e as preferSummary, O as setProject, Y as setStage, G as toComputed, H as toLayouted, J as toParsed } from '../shared/core.
|
|
3
|
+
export { l as AllKinds, A as Any, A as AnyAux, Q as AnySpec, a as Aux, s as DeploymentFqn, D as DeploymentId, t as DeploymentKind, v as EdgeId, k as ElementId, j as ElementKind, F as Fqn, C as LooseDeploymentId, a8 as LooseDeploymentKind, B as LooseElementId, a7 as LooseElementKind, a9 as LooseRelationKind, L as LooseTag, a6 as LooseTags, K as LooseViewId, y as Metadata, u as MetadataKey, w as Never, N as NodeId, a5 as OrString, X as PickByStage, P as ProjectId, z as RelationId, R as RelationKind, Z as Spec, S as SpecAux, I as Stage, s as StrictDeploymentFqn, a2 as StrictDeploymentKind, a1 as StrictElementKind, F as StrictFqn, $ as StrictProjectId, a3 as StrictRelationKind, a0 as StrictTag, h as StrictViewId, T as Tag, m as Tags, U as Unknown, b as UnknownComputed, c as UnknownLayouted, d as UnknownParsed, V as ViewId, W as WithDescriptionAndTech, a4 as WithLinks, q as WithMetadata, r as WithNotation, o as WithOptionalLinks, n as WithOptionalTags, x as WithTags, p as preferDescription, e as preferSummary, O as setProject, Y as setStage, G as toComputed, H as toLayouted, J as toParsed } from '../shared/core.hNWo20Ym.mjs';
|
|
4
4
|
import '../shared/core.DX-WYEPA.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WhereOperator, Q as Color, v as RelationshipLineType, y as RelationshipArrowType, P as PredicateSelector, u as ElementShape, s as BorderStyle, q as ShapeSize } from '../shared/core.
|
|
2
|
-
import { A as Any, h as StrictViewId, j as ElementKind, T as Tag } from '../shared/core.
|
|
1
|
+
import { W as WhereOperator, Q as Color, v as RelationshipLineType, y as RelationshipArrowType, P as PredicateSelector, u as ElementShape, s as BorderStyle, q as ShapeSize } from '../shared/core.CDvVInBp.mjs';
|
|
2
|
+
import { A as Any, h as StrictViewId, j as ElementKind, T as Tag } from '../shared/core.hNWo20Ym.mjs';
|
|
3
3
|
import { E as ExclusiveUnion } from '../shared/core.D5fzJWbF.mjs';
|
|
4
4
|
import { FqnRef } from './fqnRef.mjs';
|
|
5
5
|
import { M as MarkdownOrString, I as Icon } from '../shared/core.DX-WYEPA.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { E as Expression, F as FqnExpr, P as PredicateSelector, R as RelationExpr } from '../shared/core.
|
|
2
|
-
import '../shared/core.
|
|
1
|
+
export { E as Expression, F as FqnExpr, P as PredicateSelector, R as RelationExpr } from '../shared/core.CDvVInBp.mjs';
|
|
2
|
+
import '../shared/core.hNWo20Ym.mjs';
|
|
3
3
|
import '../shared/core.D5fzJWbF.mjs';
|
|
4
4
|
import './fqnRef.mjs';
|
|
5
5
|
import '../shared/core.DX-WYEPA.mjs';
|
package/dist/types/fqnRef.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Any, U as Unknown$1, k as ElementId, P as ProjectId, F as Fqn, D as DeploymentId } from '../shared/core.
|
|
1
|
+
import { A as Any, U as Unknown$1, k as ElementId, P as ProjectId, F as Fqn, D as DeploymentId } from '../shared/core.hNWo20Ym.mjs';
|
|
2
2
|
import { E as ExclusiveUnion } from '../shared/core.D5fzJWbF.mjs';
|
|
3
3
|
import 'type-fest';
|
|
4
4
|
import '../shared/core.DX-WYEPA.mjs';
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { N as NonEmptyArray } from '../shared/core.D5fzJWbF.mjs';
|
|
2
2
|
export { C as Coalesce, E as ExclusiveUnion, I as IterableContainer, c as IteratorLike, K as KeysOf, L as Link, b as NTuple, a as NonEmptyReadonlyArray, P as Predicate, R as ReorderedArray, e as exact } from '../shared/core.D5fzJWbF.mjs';
|
|
3
|
-
export { A as Any, A as AnyAux, a as Aux, E as ExtractOnStage, M as ModelStage, S as SpecAux, U as Unknown, b as UnknownComputed, c as UnknownLayouted, d as UnknownParsed, f as _stage, g as _type, _ as aux, i as isOnStage, p as preferDescription, e as preferSummary } from '../shared/core.
|
|
4
|
-
import { s as BorderStyle, u as ElementShape, D as ThemeColor } from '../shared/core.
|
|
5
|
-
export { A as AndOperator, B as BorderStyles, Q as Color, C as ColorLiteral, J as CustomColor, I as CustomColorDefinitions, U as ElementColorValues, t as ElementShapes, c as EqualOperator, E as Expression, m as Filterable, F as FqnExpr, H as HexColor, K as KindEqual, L as LikeC4StyleDefaults, a as LikeC4StylesConfig, b as LikeC4Theme, N as NotOperator, n as OperatorPredicate, O as OrOperator, f as Participant, g as ParticipantOperator, P as PredicateSelector, R as RelationExpr, y as RelationshipArrowType, x as RelationshipArrowTypes, V as RelationshipColorValues, v as RelationshipLineType, q as ShapeSize, o as Size, S as Sizes, r as SpacingSize, d as TagEqual, p as TextSize, T as ThemeColorValues, z as ThemeColors, W as WhereOperator, k as isAndOperator, M as isCustomColor, e as isKindEqual, j as isNotOperator, l as isOrOperator, h as isParticipantOperator, i as isTagEqual, G as isThemeColor, w as whereOperatorAsPredicate } from '../shared/core.
|
|
3
|
+
export { A as Any, A as AnyAux, a as Aux, E as ExtractOnStage, M as ModelStage, S as SpecAux, U as Unknown, b as UnknownComputed, c as UnknownLayouted, d as UnknownParsed, f as _stage, g as _type, _ as aux, i as isOnStage, p as preferDescription, e as preferSummary } from '../shared/core.hNWo20Ym.mjs';
|
|
4
|
+
import { s as BorderStyle, u as ElementShape, D as ThemeColor } from '../shared/core.CDvVInBp.mjs';
|
|
5
|
+
export { A as AndOperator, B as BorderStyles, Q as Color, C as ColorLiteral, J as CustomColor, I as CustomColorDefinitions, U as ElementColorValues, t as ElementShapes, c as EqualOperator, E as Expression, m as Filterable, F as FqnExpr, H as HexColor, K as KindEqual, L as LikeC4StyleDefaults, a as LikeC4StylesConfig, b as LikeC4Theme, N as NotOperator, n as OperatorPredicate, O as OrOperator, f as Participant, g as ParticipantOperator, P as PredicateSelector, R as RelationExpr, y as RelationshipArrowType, x as RelationshipArrowTypes, V as RelationshipColorValues, v as RelationshipLineType, q as ShapeSize, o as Size, S as Sizes, r as SpacingSize, d as TagEqual, p as TextSize, T as ThemeColorValues, z as ThemeColors, W as WhereOperator, k as isAndOperator, M as isCustomColor, e as isKindEqual, j as isNotOperator, l as isOrOperator, h as isParticipantOperator, i as isTagEqual, G as isThemeColor, w as whereOperatorAsPredicate } from '../shared/core.CDvVInBp.mjs';
|
|
6
6
|
export { ModelExpression, ModelFqnExpr, ModelRelationExpr } from './expression-model.mjs';
|
|
7
7
|
export { FqnRef } from './fqnRef.mjs';
|
|
8
|
-
import { w as ViewManualLayout, r as AutoLayoutDirection } from '../shared/core.
|
|
9
|
-
export { A as AbstractRelationship, m as AnyExcludePredicate, l as AnyIncludePredicate, n as AnyViewRuleStyle, B as BBox, z as BaseParsedViewProperties, y as BaseViewProperties, K as ComputedDeploymentView, O as ComputedDynamicView, I as ComputedEdge, J as ComputedElementView, H as ComputedNode, F as ComputedNodeStyle, Q as DynamicStep, T as DynamicStepsParallel, S as DynamicStepsSeries, a1 as DynamicViewDisplayVariant, $ as DynamicViewIncludeRule, a0 as DynamicViewRule, W as DynamicViewStep, f as Element, E as ElementStyle, a4 as ElementViewExcludePredicate, a3 as ElementViewIncludePredicate, a5 as ElementViewPredicate, a9 as ElementViewRule, a6 as ElementViewRuleGroup, a8 as ElementViewRuleStyle, b as GlobalDynamicPredicates, G as GlobalPredicateId, a as GlobalPredicates, c as GlobalStyleID, d as GlobalStyles, k as LikeC4Project, i as LikeC4ProjectStyleDefaults, j as LikeC4ProjectStylesConfig, L as LikeC4ProjectTheme, M as ModelGlobals, h as ModelRelation, N as NodeNotation, a2 as ParsedDynamicView, aa as ParsedElementView, P as Point, R as RectBox, g as Relationship, v as ViewAutoLayout, t as ViewRuleAutoLayout, p as ViewRuleGlobalPredicateRef, V as ViewRuleGlobalStyle, x as ViewType, D as ViewWithHash, C as ViewWithNotation, X as XYPoint, e as ensureSizes, U as getParallelStepsPrefix, s as isAutoLayoutDirection, Y as isDynamicStep, Z as isDynamicStepsParallel, _ as isDynamicStepsSeries, u as isViewRuleAutoLayout, q as isViewRuleGlobalPredicateRef, o as isViewRuleGlobalStyle, a7 as isViewRuleGroup } from '../shared/core.
|
|
10
|
-
export { w as AnyView, n as AuxFromDump, A as AuxFromLikeC4ModelData, C as ComputedLikeC4ModelData, u as ComputedView, d as DeployedInstance, e as DeploymentElement, f as DeploymentElementRef, D as DeploymentNode, j as DeploymentRelation, h as DeploymentRelationship, Y as DeploymentViewExcludePredicate, X as DeploymentViewIncludePredicate, Z as DeploymentViewPredicate, $ as DeploymentViewRule, _ as DeploymentViewRuleStyle, O as DiagramEdge, N as DiagramNode, s as DiagramView, E as ElementSpecification, U as LayoutedDeploymentView, W as LayoutedDynamicView, Q as LayoutedElementView, L as LayoutedLikeC4ModelData, s as LayoutedView, c as LikeC4ModelData, l as LikeC4ModelDump, r as LikeC4View, a0 as ParsedDeploymentView, P as ParsedLikeC4ModelData, r as ParsedView, v as ProcessedView, m as ProjectDump, p as RelationshipSpecification, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, k as SpecTypesFromDump, q as Specification, S as SpecificationDump, T as TagSpecification, V as ViewOnStage, y as ViewRule, z as ViewRulePredicate, x as ViewWithType, G as isComputedView, g as isDeployedInstance, i as isDeploymentNode, K as isDeploymentView, t as isDiagramView, M as isDynamicView, H as isElementView, J as isExtendsElementView, t as isLayoutedView, I as isScopedElementView, o as isTagColorSpecified, B as isViewRulePredicate, F as isViewRuleStyle } from '../shared/core.
|
|
8
|
+
import { w as ViewManualLayout, r as AutoLayoutDirection } from '../shared/core.CvLjw3bH.mjs';
|
|
9
|
+
export { A as AbstractRelationship, m as AnyExcludePredicate, l as AnyIncludePredicate, n as AnyViewRuleStyle, B as BBox, z as BaseParsedViewProperties, y as BaseViewProperties, K as ComputedDeploymentView, O as ComputedDynamicView, I as ComputedEdge, J as ComputedElementView, H as ComputedNode, F as ComputedNodeStyle, Q as DynamicStep, T as DynamicStepsParallel, S as DynamicStepsSeries, a1 as DynamicViewDisplayVariant, $ as DynamicViewIncludeRule, a0 as DynamicViewRule, W as DynamicViewStep, f as Element, E as ElementStyle, a4 as ElementViewExcludePredicate, a3 as ElementViewIncludePredicate, a5 as ElementViewPredicate, a9 as ElementViewRule, a6 as ElementViewRuleGroup, a8 as ElementViewRuleStyle, b as GlobalDynamicPredicates, G as GlobalPredicateId, a as GlobalPredicates, c as GlobalStyleID, d as GlobalStyles, k as LikeC4Project, i as LikeC4ProjectStyleDefaults, j as LikeC4ProjectStylesConfig, L as LikeC4ProjectTheme, M as ModelGlobals, h as ModelRelation, N as NodeNotation, a2 as ParsedDynamicView, aa as ParsedElementView, P as Point, R as RectBox, g as Relationship, v as ViewAutoLayout, t as ViewRuleAutoLayout, p as ViewRuleGlobalPredicateRef, V as ViewRuleGlobalStyle, x as ViewType, D as ViewWithHash, C as ViewWithNotation, X as XYPoint, e as ensureSizes, U as getParallelStepsPrefix, s as isAutoLayoutDirection, Y as isDynamicStep, Z as isDynamicStepsParallel, _ as isDynamicStepsSeries, u as isViewRuleAutoLayout, q as isViewRuleGlobalPredicateRef, o as isViewRuleGlobalStyle, a7 as isViewRuleGroup } from '../shared/core.CvLjw3bH.mjs';
|
|
10
|
+
export { w as AnyView, n as AuxFromDump, A as AuxFromLikeC4ModelData, C as ComputedLikeC4ModelData, u as ComputedView, d as DeployedInstance, e as DeploymentElement, f as DeploymentElementRef, D as DeploymentNode, j as DeploymentRelation, h as DeploymentRelationship, Y as DeploymentViewExcludePredicate, X as DeploymentViewIncludePredicate, Z as DeploymentViewPredicate, $ as DeploymentViewRule, _ as DeploymentViewRuleStyle, O as DiagramEdge, N as DiagramNode, s as DiagramView, E as ElementSpecification, U as LayoutedDeploymentView, W as LayoutedDynamicView, Q as LayoutedElementView, L as LayoutedLikeC4ModelData, s as LayoutedView, c as LikeC4ModelData, l as LikeC4ModelDump, r as LikeC4View, a0 as ParsedDeploymentView, P as ParsedLikeC4ModelData, r as ParsedView, v as ProcessedView, m as ProjectDump, p as RelationshipSpecification, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, k as SpecTypesFromDump, q as Specification, S as SpecificationDump, T as TagSpecification, V as ViewOnStage, y as ViewRule, z as ViewRulePredicate, x as ViewWithType, G as isComputedView, g as isDeployedInstance, i as isDeploymentNode, K as isDeploymentView, t as isDiagramView, M as isDynamicView, H as isElementView, J as isExtendsElementView, t as isLayoutedView, I as isScopedElementView, o as isTagColorSpecified, B as isViewRulePredicate, F as isViewRuleStyle } from '../shared/core.BT-9gaqQ.mjs';
|
|
11
11
|
import { F as Fqn, D as DeploymentFqn } from '../shared/core.DX-WYEPA.mjs';
|
|
12
12
|
export { A as AnyFqn, B as BuiltInIcon, b as DeploymentKind, j as EdgeId, E as ElementKind, e as GlobalFqn, G as GroupElementKind, I as Icon, a as IconUrl, M as MarkdownOrString, N as NodeId, P as ProjectId, d as RelationId, R as RelationKind, c as RelationshipKind, k as StepEdgeId, S as StepEdgeIdLiteral, m as StepEdgeKind, T as Tag, V as ViewId, o as extractStep, f as flattenMarkdownOrString, g as isGlobalFqn, i as isGroupElementKind, n as isStepEdgeId, s as scalar, h as splitGlobalFqn, l as stepEdgeId } from '../shared/core.DX-WYEPA.mjs';
|
|
13
13
|
import 'type-fest';
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { D as DefaultMap } from '../shared/core.CywrQs86.mjs';
|
|
2
|
-
export { B as BiMap, D as DefaultWeakMap, L as LinkedList, M as MultiMap, Q as Queue, a as ancestorsFqn, l as commonAncestor, o as compareByFqnHierarchically, q as compareFqnHierarchically, h as hasProp, r as hierarchyDistance, t as hierarchyLevel, i as invariant, b as isAncestor, c as isDescendantOf, d as isNonEmptyArray, e as isSameHierarchy, f as isString, m as memoizeProp, n as nameFromFqn, j as nonNullable, g as nonexhaustive, p as parentFqn, u as sortByFqnHierarchically, s as sortNaturalByFqn, k as sortParentsFirst } from '../shared/core.
|
|
2
|
+
export { B as BiMap, D as DefaultWeakMap, L as LinkedList, M as MultiMap, Q as Queue, a as ancestorsFqn, l as commonAncestor, o as compareByFqnHierarchically, q as compareFqnHierarchically, h as hasProp, r as hierarchyDistance, t as hierarchyLevel, i as invariant, b as isAncestor, v as isAnyOf, c as isDescendantOf, d as isNonEmptyArray, e as isSameHierarchy, f as isString, m as memoizeProp, n as nameFromFqn, j as nonNullable, g as nonexhaustive, p as parentFqn, u as sortByFqnHierarchically, s as sortNaturalByFqn, k as sortParentsFirst } from '../shared/core.CwsG7hOw.mjs';
|
|
3
3
|
import { N as NonEmptyArray } from '../shared/core.D5fzJWbF.mjs';
|
|
4
4
|
export { ifilter, ifind, ifirst, iflat, ihead, imap, ireduce, isome, iunique, toArray, toSet } from './iterable/index.mjs';
|
|
5
5
|
export { i as isIterable } from '../shared/core.DXhDWKFZ.mjs';
|
package/dist/utils/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { i as invariant, a as nonNullable, n as nonexhaustive } from '../shared/core.D4npX2q8.mjs';
|
|
2
|
-
export { S as Stack, c as commonHead, a as compareRelations, o as objectHash } from '../shared/core.
|
|
3
|
-
export { a as ancestorsFqn, k as commonAncestor, l as compareByFqnHierarchically, m as compareFqnHierarchically, g as compareNatural, j as compareNaturalHierarchically, h as hasProp, o as hierarchyDistance, q as hierarchyLevel, i as isAncestor, b as isDescendantOf, c as isNonEmptyArray, d as isSameHierarchy, e as isString, n as nameFromFqn, p as parentFqn, r as sortByFqnHierarchically, s as sortNaturalByFqn, f as sortParentsFirst } from '../shared/core.
|
|
2
|
+
export { S as Stack, c as commonHead, a as compareRelations, o as objectHash } from '../shared/core.D0NziuvN.mjs';
|
|
3
|
+
export { a as ancestorsFqn, k as commonAncestor, l as compareByFqnHierarchically, m as compareFqnHierarchically, g as compareNatural, j as compareNaturalHierarchically, h as hasProp, o as hierarchyDistance, q as hierarchyLevel, i as isAncestor, t as isAnyOf, b as isDescendantOf, c as isNonEmptyArray, d as isSameHierarchy, e as isString, n as nameFromFqn, p as parentFqn, r as sortByFqnHierarchically, s as sortNaturalByFqn, f as sortParentsFirst } from '../shared/core.727Qoh_W.mjs';
|
|
4
4
|
export { g as getOrCreate } from '../shared/core.DcS-0zys.mjs';
|
|
5
5
|
export { m as memoizeProp } from '../shared/core.BR4zXDH-.mjs';
|
|
6
6
|
export { d as difference, e as equalsSet, i as intersection, a as stringHash, s as symmetricDifference, u as union } from '../shared/core.C2TiyjI6.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://likec4.dev",
|
|
6
6
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
"remark-parse": "11.0.0",
|
|
117
117
|
"remark-rehype": "11.1.2",
|
|
118
118
|
"@dagrejs/dagre": "1.1.5",
|
|
119
|
-
"@mantine/colors-generator": "8.3.
|
|
119
|
+
"@mantine/colors-generator": "8.3.5",
|
|
120
120
|
"@types/chroma-js": "^3.1.1",
|
|
121
121
|
"@types/extend": "3.0.4",
|
|
122
122
|
"@types/hast": "3.0.4",
|
|
123
123
|
"@types/mdast": "4.0.4",
|
|
124
124
|
"@types/natural-compare-lite": "^1.4.2",
|
|
125
|
-
"@types/node": "~20.19.
|
|
125
|
+
"@types/node": "~20.19.22",
|
|
126
126
|
"@types/object-hash": "^3.0.6",
|
|
127
127
|
"@types/unist": "3.0.3",
|
|
128
128
|
"chroma-js": "^3.1.2",
|
|
@@ -135,14 +135,14 @@
|
|
|
135
135
|
"natural-compare-lite": "^1.4.0",
|
|
136
136
|
"object-hash": "^3.0.0",
|
|
137
137
|
"obliterator": "^2.0.5",
|
|
138
|
-
"oxlint": "1.
|
|
139
|
-
"remeda": "^2.
|
|
138
|
+
"oxlint": "1.24.0",
|
|
139
|
+
"remeda": "^2.32.0",
|
|
140
140
|
"turbo": "2.5.8",
|
|
141
|
-
"typescript": "5.9.
|
|
141
|
+
"typescript": "5.9.3",
|
|
142
142
|
"unbuild": "3.5.0",
|
|
143
143
|
"vitest": "3.2.4",
|
|
144
144
|
"@likec4/devops": "1.42.0",
|
|
145
|
-
"@likec4/tsconfig": "1.
|
|
145
|
+
"@likec4/tsconfig": "1.43.0"
|
|
146
146
|
},
|
|
147
147
|
"scripts": {
|
|
148
148
|
"typecheck": "tsc -b --verbose",
|