@likec4/core 1.42.1 → 1.44.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.
Files changed (67) hide show
  1. package/dist/builder/index.d.mts +9 -9
  2. package/dist/builder/index.mjs +10 -8
  3. package/dist/compute-view/index.d.mts +9 -9
  4. package/dist/compute-view/index.mjs +7 -7
  5. package/dist/compute-view/relationships-view/index.d.mts +7 -7
  6. package/dist/compute-view/relationships-view/index.mjs +1 -1
  7. package/dist/index.d.mts +7 -7
  8. package/dist/index.mjs +7 -7
  9. package/dist/model/connection/deployment/index.d.mts +9 -9
  10. package/dist/model/connection/deployment/index.mjs +2 -2
  11. package/dist/model/connection/index.d.mts +10 -10
  12. package/dist/model/connection/index.mjs +3 -3
  13. package/dist/model/connection/model/index.d.mts +9 -9
  14. package/dist/model/connection/model/index.mjs +2 -2
  15. package/dist/model/index.d.mts +26 -12
  16. package/dist/model/index.mjs +4 -4
  17. package/dist/shared/{core.DSO_rTC2.mjs → core.23WeDKcI.mjs} +269 -632
  18. package/dist/shared/{core.D_vkffV4.d.mts → core.5ZQ-r3Oa.d.mts} +22 -2
  19. package/dist/shared/{core.DRhg-gVU.mjs → core.6VsRBhGY.mjs} +7 -101
  20. package/dist/shared/{core.yna0OdV5.d.mts → core.8mmHFn9g.d.mts} +2 -2
  21. package/dist/shared/core.B9BjmjuH.mjs +9 -0
  22. package/dist/shared/{core.fHR_8Tnq.d.mts → core.BMtVqKl7.d.mts} +89 -11
  23. package/dist/shared/{core.rCeaAqgW.mjs → core.BdPcbSkN.mjs} +1 -1
  24. package/dist/shared/{core.DIol3syK.d.mts → core.BnDbAOR2.d.mts} +2 -2
  25. package/dist/shared/{core.CQngdcuj.d.mts → core.BnOetIAR.d.mts} +2 -2
  26. package/dist/shared/core.BuQZczj6.mjs +38 -0
  27. package/dist/shared/core.Bv3cd-jC.mjs +102 -0
  28. package/dist/shared/{core.B7KhhkRY.mjs → core.C0Ye2OCr.mjs} +1 -1
  29. package/dist/shared/{core.Dgs6-nuz.d.mts → core.CDOKQTW6.d.mts} +56 -37
  30. package/dist/shared/{core.BIqHjQiH.mjs → core.CHwVhuc9.mjs} +36 -10
  31. package/dist/shared/{core.DdMJk7nx.d.mts → core.CKNmSm2W.d.mts} +85 -89
  32. package/dist/shared/{core.DFi2dOTl.mjs → core.CR3PmPzr.mjs} +85 -1
  33. package/dist/shared/{core.C2TiyjI6.mjs → core.CbsSAn1j.mjs} +19 -19
  34. package/dist/shared/{core.QJD_fcrc.mjs → core.CmPXpJ8l.mjs} +1 -14
  35. package/dist/shared/{core.D5fzJWbF.d.mts → core.DB0Ue5Wx.d.mts} +1 -1
  36. package/dist/shared/{core.DNbUPnve.mjs → core.DEieYfbG.mjs} +27 -25
  37. package/dist/shared/{core.C8YY6Uub.mjs → core.DFCHU59b.mjs} +4 -4
  38. package/dist/shared/{core.BYNkXQ8A.mjs → core.DH7TXqXf.mjs} +30 -1
  39. package/dist/shared/{core.DMMOWQqc.mjs → core.DIE3F6sw.mjs} +2 -2
  40. package/dist/shared/{core.s9uwOt60.d.mts → core.DTJYgLXI.d.mts} +3 -3
  41. package/dist/shared/{core.D0PjZzIS.d.mts → core.DjAM-S6a.d.mts} +179 -82
  42. package/dist/shared/{core.CNgZvKb8.mjs → core.DrUt0Lbi.mjs} +1 -1
  43. package/dist/shared/core.M9ayqQZa.mjs +1207 -0
  44. package/dist/shared/{core.DACpKp35.d.mts → core.WwMWeiFL.d.mts} +4 -4
  45. package/dist/shared/{core.lRvxPoao.mjs → core.bKIs4oDO.mjs} +3 -3
  46. package/dist/shared/{core.C8sl5Y8Z.mjs → core.h4TqqSC0.mjs} +1360 -124
  47. package/dist/shared/core.q10OP9oJ.mjs +5 -0
  48. package/dist/shared/core.uFk_o9X6.mjs +13 -0
  49. package/dist/styles/index.d.mts +18 -8
  50. package/dist/styles/index.mjs +63 -1
  51. package/dist/types/_aux.d.mts +2 -2
  52. package/dist/types/_aux.mjs +8 -1
  53. package/dist/types/expression-model.d.mts +3 -3
  54. package/dist/types/expression.d.mts +3 -3
  55. package/dist/types/fqnRef.d.mts +7 -8
  56. package/dist/types/index.d.mts +17 -13
  57. package/dist/types/index.mjs +28 -5
  58. package/dist/utils/graphology/index.mjs +1 -1
  59. package/dist/utils/index.d.mts +3 -2
  60. package/dist/utils/index.mjs +8 -6
  61. package/dist/utils/iterable/index.d.mts +1 -1
  62. package/dist/utils/iterable/index.mjs +2 -1
  63. package/package.json +21 -20
  64. package/dist/shared/core.01VTr9qu.mjs +0 -170
  65. package/dist/shared/core.1vX5a9AY.mjs +0 -86
  66. package/dist/shared/core.BazD6cot.mjs +0 -14
  67. package/dist/shared/core.BzTakU3I.mjs +0 -67
@@ -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.D0PjZzIS.mjs';
2
+ import { L as LikeC4Model } from '../shared/core.DjAM-S6a.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.DdMJk7nx.mjs';
5
- import { f as Element, h as ModelRelation, n as AnyViewRuleStyle, r as AutoLayoutDirection, aa as ParsedElementView, j as LikeC4ProjectStylesConfig } from '../shared/core.fHR_8Tnq.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.CQngdcuj.mjs';
4
+ import { e as DeploymentElement, h as DeploymentRelationship, o as ParsedView, a0 as ParsedDeploymentView, P as ParsedLikeC4ModelData } from '../shared/core.CKNmSm2W.mjs';
5
+ import { f as Element, h as ModelRelation, r as AnyViewRuleStyle, v as AutoLayoutDirection, ag as ParsedElementView, i as ElementSpecification$1, k as RelationshipSpecification, T as TagSpecification, m as LikeC4ProjectStylesConfig } from '../shared/core.BMtVqKl7.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.BnOetIAR.mjs';
7
7
  import { ModelFqnExpr, ModelRelationExpr } from '../types/expression-model.mjs';
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.Dgs6-nuz.mjs';
10
- import '../shared/core.yna0OdV5.mjs';
8
+ import { N as NonEmptyArray, K as KeysOf } from '../shared/core.DB0Ue5Wx.mjs';
9
+ import { Y as setProject, d as Aux, S as SpecAux, A as Any } from '../shared/core.CDOKQTW6.mjs';
10
+ import '../shared/core.8mmHFn9g.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;
@@ -1,16 +1,18 @@
1
- import { d as defu, t as t$6 } from '../shared/core.DNbUPnve.mjs';
1
+ import { d as defu, t as t$6 } from '../shared/core.DEieYfbG.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.C8sl5Y8Z.mjs';
4
- import { s as e, d as isElementView } from '../shared/core.BzTakU3I.mjs';
3
+ import { t as t$5 } from '../shared/core.B9BjmjuH.mjs';
4
+ import { j as e } from '../shared/core.BuQZczj6.mjs';
5
5
  import { e as e$3 } from '../shared/core.DRJma0Ol.mjs';
6
- import { a as _type, k as e$2, _ as _stage, c as isDeployedInstance } from '../shared/core.BYNkXQ8A.mjs';
6
+ import { a as _type, u as e$2, _ as _stage, d as isDeployedInstance, p as isElementView } from '../shared/core.DH7TXqXf.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.DSO_rTC2.mjs';
9
- import { n as nameFromFqn, d as isSameHierarchy, p as parentFqn } from '../shared/core.DRhg-gVU.mjs';
8
+ import { a as t$4, c as computeLikeC4Model } from '../shared/core.23WeDKcI.mjs';
9
+ import { a as t$3 } from '../shared/core.h4TqqSC0.mjs';
10
+ import { assignTagColors } from '../styles/index.mjs';
11
+ import { n as nameFromFqn, d as isSameHierarchy, p as parentFqn } from '../shared/core.6VsRBhGY.mjs';
10
12
  import { e as e$1 } from '../shared/core.CqAJJpK_.mjs';
11
13
  import { ModelFqnExpr } from '../types/expression-model.mjs';
12
14
  import { i as invariant } from '../shared/core.D4npX2q8.mjs';
13
- import { e as exact } from '../shared/core.01VTr9qu.mjs';
15
+ import { e as exact } from '../shared/core.M9ayqQZa.mjs';
14
16
  import { FqnRef } from '../types/fqnRef.mjs';
15
17
 
16
18
  function t(...t){return t$1(Object.fromEntries,t)}
@@ -375,7 +377,7 @@ function builder(_spec, _elements = /* @__PURE__ */ new Map(), _relations = [],
375
377
  elements: structuredClone(spec.elements),
376
378
  deployments: structuredClone(spec.deployments),
377
379
  relationships: structuredClone(spec.relationships),
378
- tags: structuredClone(spec.tags),
380
+ tags: assignTagColors(structuredClone(spec.tags)),
379
381
  ...spec.metadataKeys ? { metadataKeys: spec.metadataKeys } : {},
380
382
  customColors: {}
381
383
  };
@@ -1,13 +1,13 @@
1
- import { A as Any } from '../shared/core.Dgs6-nuz.mjs';
2
- import { f as LikeC4Model } from '../shared/core.D0PjZzIS.mjs';
3
- import { P as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, r as ParsedView, u as ComputedView } from '../shared/core.DdMJk7nx.mjs';
1
+ import { A as Any, t as toComputed, c as AnyParsed } from '../shared/core.CDOKQTW6.mjs';
2
+ import { L as LikeC4Model } from '../shared/core.DjAM-S6a.mjs';
3
+ import { P as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, o as ParsedView, r as ComputedView } from '../shared/core.CKNmSm2W.mjs';
4
4
  import 'type-fest';
5
- import '../shared/core.D5fzJWbF.mjs';
5
+ import '../shared/core.DB0Ue5Wx.mjs';
6
6
  import '../shared/core.DX-WYEPA.mjs';
7
- import '../shared/core.yna0OdV5.mjs';
8
- import '../shared/core.CQngdcuj.mjs';
7
+ import '../shared/core.8mmHFn9g.mjs';
8
+ import '../shared/core.BnOetIAR.mjs';
9
9
  import '../types/fqnRef.mjs';
10
- import '../shared/core.fHR_8Tnq.mjs';
10
+ import '../shared/core.BMtVqKl7.mjs';
11
11
  import '../types/expression-model.mjs';
12
12
  import '../shared/core.CywrQs86.mjs';
13
13
 
@@ -22,8 +22,8 @@ type ComputeViewResult<V> = {
22
22
  };
23
23
  declare function unsafeComputeView<A extends Any>(viewsource: ParsedView<A>, likec4model: LikeC4Model<any>): ComputedView<A>;
24
24
  declare function computeView<A extends Any>(viewsource: ParsedView<A>, likec4model: LikeC4Model<A>): ComputeViewResult<ComputedView<A>>;
25
- declare function computeParsedModelData<A extends Any>(parsed: ParsedLikeC4ModelData<A>): ComputedLikeC4ModelData<A>;
26
- declare function computeLikeC4Model<A extends Any>(parsed: ParsedLikeC4ModelData<A>): LikeC4Model.Computed<A>;
25
+ declare function computeParsedModelData<A extends AnyParsed, B extends toComputed<A> = toComputed<A>>(parsed: ParsedLikeC4ModelData<A>): ComputedLikeC4ModelData<B>;
26
+ declare function computeLikeC4Model<A extends Any, B extends toComputed<A> = toComputed<A>>(parsed: ParsedLikeC4ModelData<A>): LikeC4Model<B>;
27
27
 
28
28
  /**
29
29
  * Resolve rules of extended views
@@ -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.DSO_rTC2.mjs';
2
- export { c as computeLikeC4Model, d as computeParsedModelData, e as computeView, u as unsafeComputeView } from '../shared/core.DSO_rTC2.mjs';
3
- import { n } from '../shared/core.BIqHjQiH.mjs';
4
- import { t } from '../shared/core.C8sl5Y8Z.mjs';
5
- import { f as isExtendsElementView, d as isElementView } from '../shared/core.BzTakU3I.mjs';
6
- import { G as Graph } from '../shared/core.CNgZvKb8.mjs';
7
- import { c as isNonEmptyArray } from '../shared/core.DRhg-gVU.mjs';
1
+ import { w as willCreateCycle, t as topologicalSortExports, a as t$2, n as n$1 } from '../shared/core.23WeDKcI.mjs';
2
+ export { c as computeLikeC4Model, b as computeParsedModelData, d as computeView, u as unsafeComputeView } from '../shared/core.23WeDKcI.mjs';
3
+ import { n } from '../shared/core.CHwVhuc9.mjs';
4
+ import { t, a as t$1 } from '../shared/core.h4TqqSC0.mjs';
5
+ import { r as isExtendsElementView, p as isElementView } from '../shared/core.DH7TXqXf.mjs';
6
+ import { G as Graph } from '../shared/core.DrUt0Lbi.mjs';
7
+ import { c as isNonEmptyArray } from '../shared/core.6VsRBhGY.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.Dgs6-nuz.mjs';
2
- import { E as ElementModel, R as RelationshipModel, f as LikeC4Model } from '../../shared/core.D0PjZzIS.mjs';
1
+ import { A as Any, U as Unknown, o as ElementId, V as ViewId } from '../../shared/core.CDOKQTW6.mjs';
2
+ import { E as ElementModel, R as RelationshipModel, L as LikeC4Model } from '../../shared/core.DjAM-S6a.mjs';
3
3
  import 'type-fest';
4
- import '../../shared/core.D5fzJWbF.mjs';
4
+ import '../../shared/core.DB0Ue5Wx.mjs';
5
5
  import '../../shared/core.DX-WYEPA.mjs';
6
- import '../../shared/core.yna0OdV5.mjs';
7
- import '../../shared/core.CQngdcuj.mjs';
6
+ import '../../shared/core.8mmHFn9g.mjs';
7
+ import '../../shared/core.BnOetIAR.mjs';
8
8
  import '../../types/fqnRef.mjs';
9
- import '../../shared/core.fHR_8Tnq.mjs';
9
+ import '../../shared/core.BMtVqKl7.mjs';
10
10
  import '../../types/expression-model.mjs';
11
11
  import '../../shared/core.CywrQs86.mjs';
12
- import '../../shared/core.DdMJk7nx.mjs';
12
+ import '../../shared/core.CKNmSm2W.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.DRhg-gVU.mjs';
2
+ import { f as sortParentsFirst, b as isDescendantOf, i as isAncestor } from '../../shared/core.6VsRBhGY.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.D_vkffV4.mjs';
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.5ZQ-r3Oa.mjs';
2
2
  export { D as DefaultMap } from './shared/core.CywrQs86.mjs';
3
- export { L as LikeC4Styles } from './shared/core.yna0OdV5.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.CQngdcuj.mjs';
3
+ export { L as LikeC4Styles } from './shared/core.8mmHFn9g.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.BnOetIAR.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.Dgs6-nuz.mjs';
6
+ export { A as Any, A as AnyAux, a as AnyComputed, b as AnyLayouted, c as AnyParsed, d as Aux, E as ExtractOnStage, L as LooseLiteral, M as ModelStage, S as SpecAux, U as Unknown, e as UnknownComputed, f as UnknownLayouted, g as UnknownParsed, l as _layout, j as _stage, k as _type, _ as aux, i as isOnStage, p as preferDescription, h as preferSummary } from './shared/core.CDOKQTW6.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.DdMJk7nx.mjs';
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';
8
+ export { t as AnyView, n as AuxFromDump, A as AuxFromLikeC4ModelData, C as ComputedLikeC4ModelData, r 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, J as DiagramEdge, U as DiagramEdgeDriftReason, I as DiagramNode, T as DiagramNodeDriftReason, p as DiagramView, K as LayoutType, N as LayoutedDeploymentView, O as LayoutedDynamicView, M as LayoutedElementView, L as LayoutedLikeC4ModelData, p as LayoutedView, Q as LayoutedViewDriftReason, c as LikeC4ModelData, l as LikeC4ModelDump, o as LikeC4View, a0 as ParsedDeploymentView, P as ParsedLikeC4ModelData, o as ParsedView, s as ProcessedView, m as ProjectDump, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, k as SpecTypesFromDump, S as SpecificationDump, W as ViewManualLayoutSnapshot, V as ViewOnStage, v as ViewRule, w as ViewRulePredicate, u as ViewWithType, z as isComputedView, g as isDeployedInstance, i as isDeploymentNode, G as isDeploymentView, q as isDiagramView, H as isDynamicView, B as isElementView, F as isExtendsElementView, q as isLayoutedView, E as isScopedElementView, x as isViewRulePredicate, y as isViewRuleStyle } from './shared/core.CKNmSm2W.mjs';
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.DB0Ue5Wx.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.fHR_8Tnq.mjs';
12
+ export { A as AbstractRelationship, q as AnyExcludePredicate, p as AnyIncludePredicate, r as AnyViewRuleStyle, v as AutoLayoutDirection, B as BBox, H as BaseParsedViewProperties, F as BaseViewProperties, W as ComputedDeploymentView, Y as ComputedDynamicView, Q as ComputedEdge, U as ComputedElementView, O as ComputedNode, K as ComputedNodeStyle, Z as DynamicStep, $ as DynamicStepsParallel, _ as DynamicStepsSeries, a7 as DynamicViewDisplayVariant, a5 as DynamicViewIncludeRule, a6 as DynamicViewRule, a1 as DynamicViewStep, f as Element, i as ElementSpecification, E as ElementStyle, aa as ElementViewExcludePredicate, a9 as ElementViewIncludePredicate, ab as ElementViewPredicate, af as ElementViewRule, ac as ElementViewRuleGroup, ae as ElementViewRuleStyle, b as GlobalDynamicPredicates, G as GlobalPredicateId, a as GlobalPredicates, c as GlobalStyleID, d as GlobalStyles, o as LikeC4Project, n as LikeC4ProjectManualLayoutsConfig, l as LikeC4ProjectStyleDefaults, m as LikeC4ProjectStylesConfig, L as LikeC4ProjectTheme, M as ModelGlobals, h as ModelRelation, N as NodeNotation, a8 as ParsedDynamicView, ag as ParsedElementView, P as Point, R as RectBox, g as Relationship, k as RelationshipSpecification, S as Specification, T as TagSpecification, z as ViewAutoLayout, C as ViewManualLayout, x as ViewRuleAutoLayout, t as ViewRuleGlobalPredicateRef, V as ViewRuleGlobalStyle, D as ViewType, J as ViewWithHash, I as ViewWithNotation, X as XYPoint, e as ensureSizes, a0 as getParallelStepsPrefix, w as isAutoLayoutDirection, a2 as isDynamicStep, a3 as isDynamicStepsParallel, a4 as isDynamicStepsSeries, j as isTagColorSpecified, y as isViewRuleAutoLayout, u as isViewRuleGlobalPredicateRef, s as isViewRuleGlobalStyle, ad as isViewRuleGroup } from './shared/core.BMtVqKl7.mjs';
13
13
  export { ViewChange } from './types/index.mjs';
14
14
  import 'type-fest';
package/dist/index.mjs CHANGED
@@ -1,16 +1,16 @@
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.DRhg-gVU.mjs';
3
- export { b as BiMap, d as DefaultWeakMap, l as LinkedList, m as MultiMap, q as Queue } from './shared/core.DMMOWQqc.mjs';
1
+ export { L as LikeC4Styles, e as ensureSizes } from './shared/core.DEieYfbG.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.6VsRBhGY.mjs';
3
+ export { b as BiMap, d as DefaultWeakMap, l as LinkedList, m as MultiMap, q as Queue } from './shared/core.DIE3F6sw.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';
6
6
  export { i as isIterable } from './shared/core.RfnaEmgA.mjs';
7
7
  export { m as memoizeProp } from './shared/core.BR4zXDH-.mjs';
8
- export { _ as aux, p as preferDescription, a as preferSummary } from './shared/core.BazD6cot.mjs';
8
+ export { preferDescription, preferSummary } from './types/_aux.mjs';
9
9
  export { D as DeploymentFqn, E as EdgeId, F as Fqn, a as GlobalFqn, G as GroupElementKind, N as NodeId, P as ProjectId, R as RelationId, S as StepEdgeKind, V as ViewId, g as extractStep, f as flattenMarkdownOrString, b as isGlobalFqn, i as isGroupElementKind, e as isStepEdgeId, s as scalar, c as splitGlobalFqn, d as stepEdgeId } from './shared/core.C_Ni6yHl.mjs';
10
- export { R as RichText, e as exact } from './shared/core.01VTr9qu.mjs';
11
- export { _ as _stage, a as _type, h as isAndOperator, c as isDeployedInstance, b as isDeploymentNode, e as isKindEqual, g as isNotOperator, i as isOnStage, j as isOrOperator, f as isParticipantOperator, d as isTagEqual, w as whereOperatorAsPredicate } from './shared/core.BYNkXQ8A.mjs';
10
+ export { R as RichText, e as exact } from './shared/core.M9ayqQZa.mjs';
11
+ export { b as _layout, _ as _stage, a as _type, j as isAndOperator, n as isComputedView, d as isDeployedInstance, c as isDeploymentNode, s as isDeploymentView, o as isDiagramView, t as isDynamicView, p as isElementView, r as isExtendsElementView, f as isKindEqual, o as isLayoutedView, h as isNotOperator, i as isOnStage, k as isOrOperator, g as isParticipantOperator, q as isScopedElementView, e as isTagEqual, l as isViewRulePredicate, m as isViewRuleStyle, w as whereOperatorAsPredicate } from './shared/core.DH7TXqXf.mjs';
12
12
  export { Expression, FqnExpr, RelationExpr } from './types/expression.mjs';
13
13
  export { ModelExpression, ModelFqnExpr, ModelRelationExpr } from './types/expression-model.mjs';
14
14
  export { FqnRef } from './types/fqnRef.mjs';
15
15
  export { BBox, RectBox, isTagColorSpecified } from './types/index.mjs';
16
- export { n as getParallelStepsPrefix, l as isAutoLayoutDirection, b as isComputedView, g as isDeploymentView, c as isDiagramView, o as isDynamicStep, p as isDynamicStepsParallel, q as isDynamicStepsSeries, h as isDynamicView, d as isElementView, f as isExtendsElementView, c as isLayoutedView, e as isScopedElementView, m as isViewRuleAutoLayout, k as isViewRuleGlobalPredicateRef, j as isViewRuleGlobalStyle, r as isViewRuleGroup, i as isViewRulePredicate, a as isViewRuleStyle } from './shared/core.BzTakU3I.mjs';
16
+ export { g as getParallelStepsPrefix, b as isAutoLayoutDirection, d as isDynamicStep, e as isDynamicStepsParallel, f as isDynamicStepsSeries, c as isViewRuleAutoLayout, a as isViewRuleGlobalPredicateRef, i as isViewRuleGlobalStyle, h as isViewRuleGroup } from './shared/core.BuQZczj6.mjs';
@@ -1,14 +1,14 @@
1
- export { C as Connection } from '../../../shared/core.DIol3syK.mjs';
2
- export { D as DeploymentConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.DACpKp35.mjs';
3
- import '../../../shared/core.D0PjZzIS.mjs';
4
- import '../../../shared/core.yna0OdV5.mjs';
5
- import '../../../shared/core.CQngdcuj.mjs';
1
+ export { C as Connection } from '../../../shared/core.BnDbAOR2.mjs';
2
+ export { D as DeploymentConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.WwMWeiFL.mjs';
3
+ import '../../../shared/core.DjAM-S6a.mjs';
6
4
  import 'type-fest';
7
- import '../../../shared/core.Dgs6-nuz.mjs';
8
- import '../../../shared/core.D5fzJWbF.mjs';
5
+ import '../../../shared/core.8mmHFn9g.mjs';
6
+ import '../../../shared/core.BnOetIAR.mjs';
7
+ import '../../../shared/core.CDOKQTW6.mjs';
8
+ import '../../../shared/core.DB0Ue5Wx.mjs';
9
9
  import '../../../shared/core.DX-WYEPA.mjs';
10
10
  import '../../../types/fqnRef.mjs';
11
- import '../../../shared/core.fHR_8Tnq.mjs';
11
+ import '../../../shared/core.BMtVqKl7.mjs';
12
12
  import '../../../types/expression-model.mjs';
13
13
  import '../../../shared/core.CywrQs86.mjs';
14
- import '../../../shared/core.DdMJk7nx.mjs';
14
+ import '../../../shared/core.CKNmSm2W.mjs';
@@ -1,2 +1,2 @@
1
- export { C as Connection } from '../../../shared/core.B7KhhkRY.mjs';
2
- export { D as DeploymentConnectionModel, f as findConnection, g as findConnectionsBetween, h as findConnectionsWithin } from '../../../shared/core.BIqHjQiH.mjs';
1
+ export { C as Connection } from '../../../shared/core.C0Ye2OCr.mjs';
2
+ export { D as DeploymentConnectionModel, f as findConnection, g as findConnectionsBetween, h as findConnectionsWithin } from '../../../shared/core.CHwVhuc9.mjs';
@@ -1,18 +1,18 @@
1
- import { C as Connection } from '../../shared/core.DIol3syK.mjs';
2
- export { D as DeploymentConnectionModel, f as deployment } from '../../shared/core.DACpKp35.mjs';
3
- export { C as ConnectionModel, f as model } from '../../shared/core.s9uwOt60.mjs';
4
- import { I as IterableContainer, R as ReorderedArray } from '../../shared/core.D5fzJWbF.mjs';
5
- import '../../shared/core.D0PjZzIS.mjs';
6
- import '../../shared/core.yna0OdV5.mjs';
7
- import '../../shared/core.CQngdcuj.mjs';
1
+ import { C as Connection } from '../../shared/core.BnDbAOR2.mjs';
2
+ export { D as DeploymentConnectionModel, f as deployment } from '../../shared/core.WwMWeiFL.mjs';
3
+ export { C as ConnectionModel, f as model } from '../../shared/core.DTJYgLXI.mjs';
4
+ import { I as IterableContainer, R as ReorderedArray } from '../../shared/core.DB0Ue5Wx.mjs';
5
+ import '../../shared/core.DjAM-S6a.mjs';
8
6
  import 'type-fest';
9
- import '../../shared/core.Dgs6-nuz.mjs';
7
+ import '../../shared/core.8mmHFn9g.mjs';
8
+ import '../../shared/core.BnOetIAR.mjs';
9
+ import '../../shared/core.CDOKQTW6.mjs';
10
10
  import '../../shared/core.DX-WYEPA.mjs';
11
11
  import '../../types/fqnRef.mjs';
12
- import '../../shared/core.fHR_8Tnq.mjs';
12
+ import '../../shared/core.BMtVqKl7.mjs';
13
13
  import '../../types/expression-model.mjs';
14
14
  import '../../shared/core.CywrQs86.mjs';
15
- import '../../shared/core.DdMJk7nx.mjs';
15
+ import '../../shared/core.CKNmSm2W.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.B7KhhkRY.mjs';
2
- export { D as DeploymentConnectionModel, d as deployment } from '../../shared/core.BIqHjQiH.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.lRvxPoao.mjs';
1
+ export { C as Connection } from '../../shared/core.C0Ye2OCr.mjs';
2
+ export { D as DeploymentConnectionModel, d as deployment } from '../../shared/core.CHwVhuc9.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.bKIs4oDO.mjs';
@@ -1,14 +1,14 @@
1
- export { C as Connection } from '../../../shared/core.DIol3syK.mjs';
2
- export { C as ConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.s9uwOt60.mjs';
3
- import '../../../shared/core.D0PjZzIS.mjs';
4
- import '../../../shared/core.yna0OdV5.mjs';
5
- import '../../../shared/core.CQngdcuj.mjs';
1
+ export { C as Connection } from '../../../shared/core.BnDbAOR2.mjs';
2
+ export { C as ConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.DTJYgLXI.mjs';
3
+ import '../../../shared/core.DjAM-S6a.mjs';
6
4
  import 'type-fest';
7
- import '../../../shared/core.Dgs6-nuz.mjs';
8
- import '../../../shared/core.D5fzJWbF.mjs';
5
+ import '../../../shared/core.8mmHFn9g.mjs';
6
+ import '../../../shared/core.BnOetIAR.mjs';
7
+ import '../../../shared/core.CDOKQTW6.mjs';
8
+ import '../../../shared/core.DB0Ue5Wx.mjs';
9
9
  import '../../../shared/core.DX-WYEPA.mjs';
10
10
  import '../../../types/fqnRef.mjs';
11
- import '../../../shared/core.fHR_8Tnq.mjs';
11
+ import '../../../shared/core.BMtVqKl7.mjs';
12
12
  import '../../../types/expression-model.mjs';
13
13
  import '../../../shared/core.CywrQs86.mjs';
14
- import '../../../shared/core.DdMJk7nx.mjs';
14
+ import '../../../shared/core.CKNmSm2W.mjs';
@@ -1,2 +1,2 @@
1
- export { C as Connection } from '../../../shared/core.B7KhhkRY.mjs';
2
- export { C as ConnectionModel, p as findConnection, o as findConnectionsBetween, q as findConnectionsWithin } from '../../../shared/core.lRvxPoao.mjs';
1
+ export { C as Connection } from '../../../shared/core.C0Ye2OCr.mjs';
2
+ export { C as ConnectionModel, p as findConnection, o as findConnectionsBetween, q as findConnectionsWithin } from '../../../shared/core.bKIs4oDO.mjs';
@@ -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.D0PjZzIS.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.D0PjZzIS.mjs';
3
- import { A as Any } from '../shared/core.Dgs6-nuz.mjs';
4
- export { C as Connection } from '../shared/core.DIol3syK.mjs';
5
- export { C as ConnectionModel, f as modelConnection } from '../shared/core.s9uwOt60.mjs';
6
- export { D as DeploymentConnectionModel, f as deploymentConnection } from '../shared/core.DACpKp35.mjs';
1
+ import { a as DeploymentNodeModel, b as DeployedInstanceModel, c as DeploymentRelationModel, A as AnyRelationshipModel, N as NestedElementOfDeployedInstanceModel, E as ElementModel, R as RelationshipModel, d as LikeC4ViewModel, e as NodeModel, f as EdgeModel, D as DeploymentElementModel } from '../shared/core.DjAM-S6a.mjs';
2
+ export { g as AnyLikeC4Model, l as DeploymentOrFqn, i as DeploymentRelationEndpoint, m as EdgeOrId, n as ElementOrFqn, I as IncomingFilter, j as LikeC4DeploymentModel, L as LikeC4Model, k as LikeC4ViewsFolder, o as NodeOrId, O as OutgoingFilter, h as RelationshipsAccum, W as WithMetadata, p as WithTags } from '../shared/core.DjAM-S6a.mjs';
3
+ import { A as Any } from '../shared/core.CDOKQTW6.mjs';
4
+ import { p as LayoutedView, W as ViewManualLayoutSnapshot } from '../shared/core.CKNmSm2W.mjs';
5
+ export { C as Connection } from '../shared/core.BnDbAOR2.mjs';
6
+ export { C as ConnectionModel, f as modelConnection } from '../shared/core.DTJYgLXI.mjs';
7
+ export { D as DeploymentConnectionModel, f as deploymentConnection } from '../shared/core.WwMWeiFL.mjs';
7
8
  export { differenceConnections, findAscendingConnections, findDeepestNestedConnection, findDescendantConnections, hasSameSource, hasSameSourceTarget, hasSameTarget, isAnyInOut, isIncoming, isNestedConnection, isOutgoing, mergeConnections, sortConnectionsByBoundaryHierarchy, sortDeepestFirst } from './connection/index.mjs';
8
- import '../shared/core.yna0OdV5.mjs';
9
- import '../shared/core.CQngdcuj.mjs';
10
9
  import 'type-fest';
11
- import '../shared/core.D5fzJWbF.mjs';
10
+ import '../shared/core.8mmHFn9g.mjs';
11
+ import '../shared/core.BnOetIAR.mjs';
12
+ import '../shared/core.DB0Ue5Wx.mjs';
12
13
  import '../types/fqnRef.mjs';
13
14
  import '../shared/core.DX-WYEPA.mjs';
14
- import '../shared/core.fHR_8Tnq.mjs';
15
+ import '../shared/core.BMtVqKl7.mjs';
15
16
  import '../types/expression-model.mjs';
16
17
  import '../shared/core.CywrQs86.mjs';
17
- import '../shared/core.DdMJk7nx.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>;
@@ -53,4 +53,18 @@ declare const getViewFolderPath: (title: string) => string | null;
53
53
  */
54
54
  declare const extractViewTitleFromPath: (title: string) => string;
55
55
 
56
- export { AnyRelationshipModel, DeployedInstanceModel, DeploymentElementModel, DeploymentNodeModel, DeploymentRelationModel, EdgeModel, ElementModel, LikeC4ViewModel, NodeModel, RelationshipModel, VIEW_FOLDERS_SEPARATOR, extractViewTitleFromPath, getViewFolderPath, isDeployedInstanceModel, isDeploymentElementModel, isDeploymentNodeModel, isDeploymentRelationModel, isEdgeModel, isElementModel, isLikeC4ViewModel, isRelationModel as isModelRelation, isNestedElementOfDeployedInstanceModel, isNodeModel, isRelationModel, isRelationModel as isRelationshipModel, normalizeViewPath };
56
+ /**
57
+ * Proof-of-concept
58
+ * Use layout from the snapshot, and 'safe'-apply style properties from the `autoLayouted` view
59
+ *
60
+ * @param autoLayouted Auto-layouted view
61
+ * @param snapshot The view snapshot with manual-layout
62
+ * @returns The snapshot with the next view applied
63
+ */
64
+ declare function applyManualLayout<V extends LayoutedView>(autoLayouted: V, snapshot: ViewManualLayoutSnapshot): V;
65
+ /**
66
+ * Applies drift reasons to autoLayouted view if there are any.
67
+ */
68
+ declare function applyLayoutDriftReasons<V extends LayoutedView>(autoLayouted: V, snapshot: ViewManualLayoutSnapshot): V;
69
+
70
+ export { AnyRelationshipModel, DeployedInstanceModel, DeploymentElementModel, DeploymentNodeModel, DeploymentRelationModel, EdgeModel, ElementModel, LikeC4ViewModel, NodeModel, RelationshipModel, VIEW_FOLDERS_SEPARATOR, applyLayoutDriftReasons, applyManualLayout, extractViewTitleFromPath, getViewFolderPath, isDeployedInstanceModel, isDeploymentElementModel, isDeploymentNodeModel, isDeploymentRelationModel, isEdgeModel, isElementModel, isLikeC4ViewModel, isRelationModel as isModelRelation, isNestedElementOfDeployedInstanceModel, isNodeModel, isRelationModel, isRelationModel as isRelationshipModel, normalizeViewPath };
@@ -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.C8sl5Y8Z.mjs';
2
- export { b as DeployedInstanceModel, D as DeploymentConnectionModel, a as DeploymentNodeModel, c as DeploymentRelationModel, R as RelationshipsAccum, d as deploymentConnection } from '../shared/core.BIqHjQiH.mjs';
3
- export { C as Connection } from '../shared/core.B7KhhkRY.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.lRvxPoao.mjs';
1
+ export { m as EdgeModel, E as ElementModel, l as LikeC4DeploymentModel, L as LikeC4Model, o as LikeC4ViewModel, p as LikeC4ViewsFolder, N as NodeModel, R as RelationshipModel, V as VIEW_FOLDERS_SEPARATOR, u as applyLayoutDriftReasons, v as applyManualLayout, q as extractViewTitleFromPath, r as getViewFolderPath, g as isDeployedInstanceModel, j as isDeploymentElementModel, h as isDeploymentNodeModel, w as isDeploymentRelationModel, A as isEdgeModel, i as isElementModel, y as isLikeC4ViewModel, x as isModelRelation, f as isNestedElementOfDeployedInstanceModel, z as isNodeModel, x as isRelationModel, x as isRelationshipModel, s as normalizeViewPath } from '../shared/core.h4TqqSC0.mjs';
2
+ export { b as DeployedInstanceModel, D as DeploymentConnectionModel, a as DeploymentNodeModel, c as DeploymentRelationModel, R as RelationshipsAccum, d as deploymentConnection } from '../shared/core.CHwVhuc9.mjs';
3
+ export { C as Connection } from '../shared/core.C0Ye2OCr.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.bKIs4oDO.mjs';