@likec4/core 1.21.0 → 1.22.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 (47) hide show
  1. package/dist/builder/index.cjs +6 -6
  2. package/dist/builder/index.d.cts +1 -1
  3. package/dist/builder/index.d.mts +1 -1
  4. package/dist/builder/index.d.ts +1 -1
  5. package/dist/builder/index.mjs +6 -6
  6. package/dist/compute-view/index.cjs +5 -5
  7. package/dist/compute-view/index.d.cts +2 -2
  8. package/dist/compute-view/index.d.mts +2 -2
  9. package/dist/compute-view/index.d.ts +2 -2
  10. package/dist/compute-view/index.mjs +6 -6
  11. package/dist/index.cjs +13 -12
  12. package/dist/index.d.cts +2 -2
  13. package/dist/index.d.mts +2 -2
  14. package/dist/index.d.ts +2 -2
  15. package/dist/index.mjs +13 -12
  16. package/dist/model/index.cjs +1 -1
  17. package/dist/model/index.d.cts +2 -2
  18. package/dist/model/index.d.mts +2 -2
  19. package/dist/model/index.d.ts +2 -2
  20. package/dist/model/index.mjs +1 -1
  21. package/dist/shared/{core.BJfq046m.d.ts → core.1pNr6Ryk.d.ts} +1 -0
  22. package/dist/shared/{core.CT1nzYjO.d.cts → core.3xeQpJ_K.d.cts} +1 -1
  23. package/dist/shared/{core.DuuS_BrY.d.mts → core.BHQYwEvc.d.mts} +1 -1
  24. package/dist/shared/{core.CYNYaH2U.mjs → core.BNaXALvz.mjs} +2 -2
  25. package/dist/shared/{core.DnPc_NDM.cjs → core.BYiA0A6H.cjs} +1 -1
  26. package/dist/shared/{core.BfZZXtur.mjs → core.Btj1m6H6.mjs} +1 -1
  27. package/dist/shared/{core.CAkSSvJ6.cjs → core.CEJQrbXY.cjs} +1 -1
  28. package/dist/shared/{core.BjR0D3IO.cjs → core.DEzbhxsA.cjs} +4 -4
  29. package/dist/shared/{core.5Z5cpENq.d.mts → core.DKJ2y3NP.d.mts} +1 -0
  30. package/dist/shared/{core.DqQrj2oQ.cjs → core.DUbKSpjd.cjs} +1 -1
  31. package/dist/shared/{core.D91uYrqI.cjs → core.DqmAHWZs.cjs} +19 -16
  32. package/dist/shared/{core.CE-kCVHA.mjs → core.GIZxdz4M.mjs} +1 -1
  33. package/dist/shared/{core.BgPZ8Tl8.d.cts → core.OjOfEBRQ.d.cts} +1 -0
  34. package/dist/shared/{core.CeefT_JU.mjs → core.f1tiPwpd.mjs} +4 -4
  35. package/dist/shared/{core.Dp3HTiRV.d.ts → core.s6UB2oA0.d.ts} +1 -1
  36. package/dist/shared/{core.Cz9Oy_FA.mjs → core.uGbvOLGK.mjs} +19 -16
  37. package/dist/types/index.cjs +1 -1
  38. package/dist/types/index.mjs +1 -1
  39. package/dist/utils/index.cjs +2 -2
  40. package/dist/utils/index.mjs +3 -3
  41. package/package.json +5 -5
  42. package/src/compute-view/utils/view-hash.ts +5 -5
  43. package/src/index.ts +1 -1
  44. package/src/model/LikeC4Model.ts +4 -0
  45. package/src/{colors → theme}/element.ts +9 -9
  46. package/src/{colors → theme}/index.ts +7 -7
  47. package/src/{colors → theme}/relationships.ts +9 -9
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const model_index = require('../shared/core.D91uYrqI.cjs');
4
- const object_hash = require('../shared/core.BjR0D3IO.cjs');
5
- const view = require('../shared/core.CAkSSvJ6.cjs');
6
- const chunkWIMGWYZL = require('../shared/core.DqQrj2oQ.cjs');
3
+ const model_index = require('../shared/core.DqmAHWZs.cjs');
4
+ const object_hash = require('../shared/core.DEzbhxsA.cjs');
5
+ const view = require('../shared/core.CEJQrbXY.cjs');
6
+ const chunkWIMGWYZL = require('../shared/core.DUbKSpjd.cjs');
7
7
 
8
8
  function n(...r){return chunkWIMGWYZL.u(Object.fromEntries,r)}
9
9
 
@@ -34,7 +34,7 @@ function _defu(baseObject, defaults, namespace = ".", merger) {
34
34
  continue;
35
35
  }
36
36
  const value = baseObject[key];
37
- if (value === null || value === undefined) {
37
+ if (value === null || value === void 0) {
38
38
  continue;
39
39
  }
40
40
  if (merger && merger(object, key, value, namespace)) {
@@ -126,7 +126,7 @@ function $include(...args) {
126
126
  return (b) => {
127
127
  let expr = b.$expr(args[0]);
128
128
  if (args.length === 2) {
129
- const condition = args[1].where ? parseWhere(args[1].where) : undefined;
129
+ const condition = args[1].where ? parseWhere(args[1].where) : void 0;
130
130
  if (condition) {
131
131
  expr = {
132
132
  where: {
@@ -1,5 +1,5 @@
1
1
  import { LastArrayElement, Split, Simplify, Writable, IfNever, TupleToUnion, Tagged, IsStringLiteral as IsStringLiteral$1, IsLiteral } from 'type-fest';
2
- import { L as LikeC4Model } from '../shared/core.BgPZ8Tl8.cjs';
2
+ import { L as LikeC4Model } from '../shared/core.OjOfEBRQ.cjs';
3
3
  import { D as DeploymentElement, i as DeploymentRelation, at as ModelRelation, bx as Participant, A as CustomElementExpr, B as CustomRelationExpr, bs as ViewRuleStyle, aT as AutoLayoutDirection, X as ExpressionV2, N as Expression, L as LikeC4View, b0 as DeploymentView, bd as ElementView, av as RelationshipArrowType, ay as RelationshipLineType, ax as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, a9 as ParsedLikeC4Model } from '../shared/core.BS_nXBsP.cjs';
4
4
  import { F as Fqn, l as Element, N as NonEmptyArray, o as ElementShape, v as Color, k as BorderStyle, S as ShapeSize, G as SpacingSize, J as TextSize, m as ElementKindSpecification, K as KeysOf } from '../shared/core.QP35c488.cjs';
5
5
  import { IsStringLiteral } from 'type-fest/source/is-literal';
@@ -1,5 +1,5 @@
1
1
  import { LastArrayElement, Split, Simplify, Writable, IfNever, TupleToUnion, Tagged, IsStringLiteral as IsStringLiteral$1, IsLiteral } from 'type-fest';
2
- import { L as LikeC4Model } from '../shared/core.5Z5cpENq.mjs';
2
+ import { L as LikeC4Model } from '../shared/core.DKJ2y3NP.mjs';
3
3
  import { D as DeploymentElement, i as DeploymentRelation, at as ModelRelation, bx as Participant, A as CustomElementExpr, B as CustomRelationExpr, bs as ViewRuleStyle, aT as AutoLayoutDirection, X as ExpressionV2, N as Expression, L as LikeC4View, b0 as DeploymentView, bd as ElementView, av as RelationshipArrowType, ay as RelationshipLineType, ax as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, a9 as ParsedLikeC4Model } from '../shared/core.CJaCUZQ9.mjs';
4
4
  import { F as Fqn, l as Element, N as NonEmptyArray, o as ElementShape, v as Color, k as BorderStyle, S as ShapeSize, G as SpacingSize, J as TextSize, m as ElementKindSpecification, K as KeysOf } from '../shared/core.QP35c488.mjs';
5
5
  import { IsStringLiteral } from 'type-fest/source/is-literal';
@@ -1,5 +1,5 @@
1
1
  import { LastArrayElement, Split, Simplify, Writable, IfNever, TupleToUnion, Tagged, IsStringLiteral as IsStringLiteral$1, IsLiteral } from 'type-fest';
2
- import { L as LikeC4Model } from '../shared/core.BJfq046m.js';
2
+ import { L as LikeC4Model } from '../shared/core.1pNr6Ryk.js';
3
3
  import { D as DeploymentElement, i as DeploymentRelation, at as ModelRelation, bx as Participant, A as CustomElementExpr, B as CustomRelationExpr, bs as ViewRuleStyle, aT as AutoLayoutDirection, X as ExpressionV2, N as Expression, L as LikeC4View, b0 as DeploymentView, bd as ElementView, av as RelationshipArrowType, ay as RelationshipLineType, ax as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, a9 as ParsedLikeC4Model } from '../shared/core.DsDq-blc.js';
4
4
  import { F as Fqn, l as Element, N as NonEmptyArray, o as ElementShape, v as Color, k as BorderStyle, S as ShapeSize, G as SpacingSize, J as TextSize, m as ElementKindSpecification, K as KeysOf } from '../shared/core.QP35c488.js';
5
5
  import { IsStringLiteral } from 'type-fest/source/is-literal';
@@ -1,7 +1,7 @@
1
- import { i, l, L as LikeC4Model, d } from '../shared/core.Cz9Oy_FA.mjs';
2
- import { b as t, m, n as nameFromFqn, c as isSameHierarchy, p as parentFqn, l as l$1, a as i$1, d as t$1 } from '../shared/core.CeefT_JU.mjs';
3
- import { o, b as isElementPredicateExpr, n as n$1, D as DeploymentElement, c as isScopedElementView, d as DefaultElementShape, e as DefaultThemeColor } from '../shared/core.CYNYaH2U.mjs';
4
- import { u, i as invariant } from '../shared/core.BfZZXtur.mjs';
1
+ import { i, l, d, L as LikeC4Model } from '../shared/core.uGbvOLGK.mjs';
2
+ import { b as t, m, n as nameFromFqn, l as l$1, c as isSameHierarchy, p as parentFqn, a as i$1, d as t$1 } from '../shared/core.f1tiPwpd.mjs';
3
+ import { o, b as isElementPredicateExpr, D as DefaultElementShape, c as DefaultThemeColor, n as n$1, d as DeploymentElement, e as isScopedElementView } from '../shared/core.BNaXALvz.mjs';
4
+ import { u, i as invariant } from '../shared/core.Btj1m6H6.mjs';
5
5
 
6
6
  function n(...r){return u(Object.fromEntries,r)}
7
7
 
@@ -32,7 +32,7 @@ function _defu(baseObject, defaults, namespace = ".", merger) {
32
32
  continue;
33
33
  }
34
34
  const value = baseObject[key];
35
- if (value === null || value === undefined) {
35
+ if (value === null || value === void 0) {
36
36
  continue;
37
37
  }
38
38
  if (merger && merger(object, key, value, namespace)) {
@@ -124,7 +124,7 @@ function $include(...args) {
124
124
  return (b) => {
125
125
  let expr = b.$expr(args[0]);
126
126
  if (args.length === 2) {
127
- const condition = args[1].where ? parseWhere(args[1].where) : undefined;
127
+ const condition = args[1].where ? parseWhere(args[1].where) : void 0;
128
128
  if (condition) {
129
129
  expr = {
130
130
  where: {
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- const model_index = require('../shared/core.D91uYrqI.cjs');
4
- const compute = require('../shared/core.DnPc_NDM.cjs');
5
- const view = require('../shared/core.CAkSSvJ6.cjs');
6
- const object_hash = require('../shared/core.BjR0D3IO.cjs');
7
- const chunkWIMGWYZL = require('../shared/core.DqQrj2oQ.cjs');
3
+ const model_index = require('../shared/core.DqmAHWZs.cjs');
4
+ const compute = require('../shared/core.BYiA0A6H.cjs');
5
+ const view = require('../shared/core.CEJQrbXY.cjs');
6
+ const object_hash = require('../shared/core.DEzbhxsA.cjs');
7
+ const chunkWIMGWYZL = require('../shared/core.DUbKSpjd.cjs');
8
8
 
9
9
  function y(...t){return chunkWIMGWYZL.u(f,t)}function f(t,e){if(!object_hash.i(e,1))return {...t};if(!object_hash.i(e,2)){let{[e[0]]:r,...m}=t;return m}let o={...t};for(let r of e)delete o[r];return o}
10
10
 
@@ -1,5 +1,5 @@
1
- export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.BgPZ8Tl8.cjs';
2
- export { c as computeRelationshipsView } from '../shared/core.CT1nzYjO.cjs';
1
+ export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.OjOfEBRQ.cjs';
2
+ export { c as computeRelationshipsView } from '../shared/core.3xeQpJ_K.cjs';
3
3
  import { L as LikeC4View, C as ComputedLikeC4Model, a as ComputedView } from '../shared/core.BS_nXBsP.cjs';
4
4
  import 'type-fest';
5
5
  import '../shared/core.QP35c488.cjs';
@@ -1,5 +1,5 @@
1
- export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.5Z5cpENq.mjs';
2
- export { c as computeRelationshipsView } from '../shared/core.DuuS_BrY.mjs';
1
+ export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.DKJ2y3NP.mjs';
2
+ export { c as computeRelationshipsView } from '../shared/core.BHQYwEvc.mjs';
3
3
  import { L as LikeC4View, C as ComputedLikeC4Model, a as ComputedView } from '../shared/core.CJaCUZQ9.mjs';
4
4
  import 'type-fest';
5
5
  import '../shared/core.QP35c488.mjs';
@@ -1,5 +1,5 @@
1
- export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.BJfq046m.js';
2
- export { c as computeRelationshipsView } from '../shared/core.Dp3HTiRV.js';
1
+ export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.1pNr6Ryk.js';
2
+ export { c as computeRelationshipsView } from '../shared/core.s6UB2oA0.js';
3
3
  import { L as LikeC4View, C as ComputedLikeC4Model, a as ComputedView } from '../shared/core.DsDq-blc.js';
4
4
  import 'type-fest';
5
5
  import '../shared/core.QP35c488.js';
@@ -1,9 +1,9 @@
1
- import { G as Graph, r, w as willCreateCycle, t as topologicalSortExports, i as i$1, l } from '../shared/core.Cz9Oy_FA.mjs';
2
- export { c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.Cz9Oy_FA.mjs';
3
- export { c as computeRelationshipsView } from '../shared/core.CE-kCVHA.mjs';
4
- import { i as isExtendsElementView, a as isElementView } from '../shared/core.CYNYaH2U.mjs';
5
- import { a as i, m } from '../shared/core.CeefT_JU.mjs';
6
- import { u } from '../shared/core.BfZZXtur.mjs';
1
+ import { G as Graph, r, w as willCreateCycle, t as topologicalSortExports, i as i$1, l } from '../shared/core.uGbvOLGK.mjs';
2
+ export { c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.uGbvOLGK.mjs';
3
+ export { c as computeRelationshipsView } from '../shared/core.GIZxdz4M.mjs';
4
+ import { i as isExtendsElementView, a as isElementView } from '../shared/core.BNaXALvz.mjs';
5
+ import { a as i, m } from '../shared/core.f1tiPwpd.mjs';
6
+ import { u } from '../shared/core.Btj1m6H6.mjs';
7
7
 
8
8
  function y(...t){return u(f,t)}function f(t,e){if(!i(e,1))return {...t};if(!i(e,2)){let{[e[0]]:r,...m}=t;return m}let o={...t};for(let r of e)delete o[r];return o}
9
9
 
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- const chunkWIMGWYZL = require('./shared/core.DqQrj2oQ.cjs');
4
- const view = require('./shared/core.CAkSSvJ6.cjs');
5
- const model_index = require('./shared/core.D91uYrqI.cjs');
6
- const compute = require('./shared/core.DnPc_NDM.cjs');
3
+ const chunkWIMGWYZL = require('./shared/core.DUbKSpjd.cjs');
4
+ const view = require('./shared/core.CEJQrbXY.cjs');
5
+ const model_index = require('./shared/core.DqmAHWZs.cjs');
6
+ const compute = require('./shared/core.BYiA0A6H.cjs');
7
7
  const types_index = require('./types/index.cjs');
8
- const object_hash = require('./shared/core.BjR0D3IO.cjs');
8
+ const object_hash = require('./shared/core.DEzbhxsA.cjs');
9
9
  const utils_index = require('./utils/index.cjs');
10
10
 
11
11
  const { min: min$4, max: max$4 } = Math;
@@ -3644,12 +3644,12 @@ const defaultTheme = {
3644
3644
  shadow: "#0a0a0a",
3645
3645
  sizes: {
3646
3646
  xs: {
3647
- width: 120,
3648
- height: 80
3647
+ width: 180,
3648
+ height: 100
3649
3649
  },
3650
3650
  sm: {
3651
- width: 180,
3652
- height: 110
3651
+ width: 240,
3652
+ height: 135
3653
3653
  },
3654
3654
  md: {
3655
3655
  width: 320,
@@ -3669,11 +3669,12 @@ const defaultTheme = {
3669
3669
  // 0.5rem
3670
3670
  sm: 10,
3671
3671
  // 0.625rem
3672
- md: 24,
3672
+ md: 16,
3673
+ // 1rem
3674
+ lg: 24,
3673
3675
  // 1.5rem = 16px + 8px
3674
- lg: 32,
3676
+ xl: 32
3675
3677
  // 2rem
3676
- xl: 48
3677
3678
  },
3678
3679
  textSizes: {
3679
3680
  xs: 12,
package/dist/index.d.cts CHANGED
@@ -2,8 +2,8 @@ import { H as HexColorLiteral, T as ThemeColorValues, L as LikeC4Theme } from '.
2
2
  export { A as AsFqn, k as BorderStyle, B as BorderStyles, v as Color, w as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultPaddingSize, f as DefaultShapeSize, g as DefaultTextSize, h as DefaultThemeColor, l as Element, i as ElementKind, m as ElementKindSpecification, n as ElementKindSpecificationStyle, o as ElementShape, j as ElementShapes, p as ElementStyle, y as ElementThemeColorValues, x as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, q as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, z as RelationshipThemeColorValues, R as RelationshipThemeColors, S as ShapeSize, G as SpacingSize, r as Tag, s as TagSpec, J as TextSize, M as ThemeColor, t as TypedElement, X as XYPoint, u as isThemeColor } from './shared/core.QP35c488.cjs';
3
3
  export { as as AbstractRelation, ag as AndOperator, a5 as AnyParsedLikeC4Model, aT as AutoLayoutDirection, aW as BBox, aU as BasicElementView, aV as BasicView, aX as ComputedDeploymentView, aY as ComputedDynamicView, aZ as ComputedEdge, a_ as ComputedElementView, C as ComputedLikeC4Model, az as ComputedNode, a as ComputedView, a$ as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, ap as DefaultArrowType, aq as DefaultLineStyle, ar as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b0 as DeploymentView, b1 as DeploymentViewRule, b2 as DeploymentViewRulePredicate, b3 as DeploymentViewRuleStyle, b4 as DiagramEdge, aA as DiagramNode, b5 as DiagramView, E as DirectRelationExpr, b6 as DynamicView, b7 as DynamicViewIncludeRule, b8 as DynamicViewParallelSteps, b9 as DynamicViewRule, ba as DynamicViewStep, bb as DynamicViewStepOrParallel, bc as EdgeId, F as ElementExpression, G as ElementKindExpr, bw as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bd as ElementView, K as ElementWhereExpr, ah as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, be as ExtendsElementView, ai as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, aj as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, at as ModelRelation, bf as NodeId, R as NonWilcard, ak as NotOperator, al as OperatorPredicate, am as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, au as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, av as RelationshipArrowType, aw as RelationshipKind, ax as RelationshipKindSpecification, ay as RelationshipLineType, bg as ScopedElementView, bh as StepEdgeId, bi as StepEdgeIdLiteral, an as TagEqual, bj as ViewAutoLayout, bk as ViewId, bl as ViewManualLayout, bm as ViewRule, bn as ViewRuleAutoLayout, bo as ViewRuleGlobalPredicateRef, bp as ViewRuleGlobalStyle, bq as ViewRuleGroup, br as ViewRulePredicate, bs as ViewRuleStyle, bt as ViewRuleStyleOrGlobalRef, bu as ViewWithHash, bv as ViewWithNotation, ao as WhereOperator, W as WildcardExpr, aB as extractStep, aC as getBBoxCenter, aD as getParallelStepsPrefix, aa as isAndOperator, aE as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aF as isDeploymentView, aG as isDynamicView, aH as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aI as isElementView, q as isElementWhere, r as isExpandedElementExpr, aJ as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aK as isScopedElementView, aL as isStepEdgeId, ae as isTagEqual, aM as isViewRuleAutoLayout, aN as isViewRuleGlobalPredicateRef, aO as isViewRuleGlobalStyle, aP as isViewRuleGroup, aQ as isViewRulePredicate, aR as isViewRuleStyle, z as isWildcard, aS as stepEdgeId, af as whereOperatorAsPredicate } from './shared/core.BS_nXBsP.cjs';
4
4
  export { DefaultMap, LinkedList, Queue, Stack, commonHead, compareNatural, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, ifilter, ifind, iflat, imap, intersection, ireduce, isIterable, isNonEmptyArray, isString, isome, iunique, stringHash, symmetricDifference, toArray, toSet, union } from './utils/index.cjs';
5
- export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.BgPZ8Tl8.cjs';
6
- export { c as computeRelationshipsView } from './shared/core.CT1nzYjO.cjs';
5
+ export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.OjOfEBRQ.cjs';
6
+ export { c as computeRelationshipsView } from './shared/core.3xeQpJ_K.cjs';
7
7
  export { OverviewGraph, ViewChange } from './types/index.cjs';
8
8
  export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.BYs5deiY.cjs';
9
9
  export { default as objectHash } from '/home/runner/work/likec4/likec4/node_modules/@types/object-hash/index.d.ts';
package/dist/index.d.mts CHANGED
@@ -2,8 +2,8 @@ import { H as HexColorLiteral, T as ThemeColorValues, L as LikeC4Theme } from '.
2
2
  export { A as AsFqn, k as BorderStyle, B as BorderStyles, v as Color, w as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultPaddingSize, f as DefaultShapeSize, g as DefaultTextSize, h as DefaultThemeColor, l as Element, i as ElementKind, m as ElementKindSpecification, n as ElementKindSpecificationStyle, o as ElementShape, j as ElementShapes, p as ElementStyle, y as ElementThemeColorValues, x as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, q as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, z as RelationshipThemeColorValues, R as RelationshipThemeColors, S as ShapeSize, G as SpacingSize, r as Tag, s as TagSpec, J as TextSize, M as ThemeColor, t as TypedElement, X as XYPoint, u as isThemeColor } from './shared/core.QP35c488.mjs';
3
3
  export { as as AbstractRelation, ag as AndOperator, a5 as AnyParsedLikeC4Model, aT as AutoLayoutDirection, aW as BBox, aU as BasicElementView, aV as BasicView, aX as ComputedDeploymentView, aY as ComputedDynamicView, aZ as ComputedEdge, a_ as ComputedElementView, C as ComputedLikeC4Model, az as ComputedNode, a as ComputedView, a$ as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, ap as DefaultArrowType, aq as DefaultLineStyle, ar as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b0 as DeploymentView, b1 as DeploymentViewRule, b2 as DeploymentViewRulePredicate, b3 as DeploymentViewRuleStyle, b4 as DiagramEdge, aA as DiagramNode, b5 as DiagramView, E as DirectRelationExpr, b6 as DynamicView, b7 as DynamicViewIncludeRule, b8 as DynamicViewParallelSteps, b9 as DynamicViewRule, ba as DynamicViewStep, bb as DynamicViewStepOrParallel, bc as EdgeId, F as ElementExpression, G as ElementKindExpr, bw as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bd as ElementView, K as ElementWhereExpr, ah as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, be as ExtendsElementView, ai as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, aj as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, at as ModelRelation, bf as NodeId, R as NonWilcard, ak as NotOperator, al as OperatorPredicate, am as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, au as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, av as RelationshipArrowType, aw as RelationshipKind, ax as RelationshipKindSpecification, ay as RelationshipLineType, bg as ScopedElementView, bh as StepEdgeId, bi as StepEdgeIdLiteral, an as TagEqual, bj as ViewAutoLayout, bk as ViewId, bl as ViewManualLayout, bm as ViewRule, bn as ViewRuleAutoLayout, bo as ViewRuleGlobalPredicateRef, bp as ViewRuleGlobalStyle, bq as ViewRuleGroup, br as ViewRulePredicate, bs as ViewRuleStyle, bt as ViewRuleStyleOrGlobalRef, bu as ViewWithHash, bv as ViewWithNotation, ao as WhereOperator, W as WildcardExpr, aB as extractStep, aC as getBBoxCenter, aD as getParallelStepsPrefix, aa as isAndOperator, aE as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aF as isDeploymentView, aG as isDynamicView, aH as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aI as isElementView, q as isElementWhere, r as isExpandedElementExpr, aJ as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aK as isScopedElementView, aL as isStepEdgeId, ae as isTagEqual, aM as isViewRuleAutoLayout, aN as isViewRuleGlobalPredicateRef, aO as isViewRuleGlobalStyle, aP as isViewRuleGroup, aQ as isViewRulePredicate, aR as isViewRuleStyle, z as isWildcard, aS as stepEdgeId, af as whereOperatorAsPredicate } from './shared/core.CJaCUZQ9.mjs';
4
4
  export { DefaultMap, LinkedList, Queue, Stack, commonHead, compareNatural, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, ifilter, ifind, iflat, imap, intersection, ireduce, isIterable, isNonEmptyArray, isString, isome, iunique, stringHash, symmetricDifference, toArray, toSet, union } from './utils/index.mjs';
5
- export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.5Z5cpENq.mjs';
6
- export { c as computeRelationshipsView } from './shared/core.DuuS_BrY.mjs';
5
+ export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.DKJ2y3NP.mjs';
6
+ export { c as computeRelationshipsView } from './shared/core.BHQYwEvc.mjs';
7
7
  export { OverviewGraph, ViewChange } from './types/index.mjs';
8
8
  export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.D0KD4FiT.mjs';
9
9
  export { default as objectHash } from '/home/runner/work/likec4/likec4/node_modules/@types/object-hash/index.d.ts';
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import { H as HexColorLiteral, T as ThemeColorValues, L as LikeC4Theme } from '.
2
2
  export { A as AsFqn, k as BorderStyle, B as BorderStyles, v as Color, w as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultPaddingSize, f as DefaultShapeSize, g as DefaultTextSize, h as DefaultThemeColor, l as Element, i as ElementKind, m as ElementKindSpecification, n as ElementKindSpecificationStyle, o as ElementShape, j as ElementShapes, p as ElementStyle, y as ElementThemeColorValues, x as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, q as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, z as RelationshipThemeColorValues, R as RelationshipThemeColors, S as ShapeSize, G as SpacingSize, r as Tag, s as TagSpec, J as TextSize, M as ThemeColor, t as TypedElement, X as XYPoint, u as isThemeColor } from './shared/core.QP35c488.js';
3
3
  export { as as AbstractRelation, ag as AndOperator, a5 as AnyParsedLikeC4Model, aT as AutoLayoutDirection, aW as BBox, aU as BasicElementView, aV as BasicView, aX as ComputedDeploymentView, aY as ComputedDynamicView, aZ as ComputedEdge, a_ as ComputedElementView, C as ComputedLikeC4Model, az as ComputedNode, a as ComputedView, a$ as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, ap as DefaultArrowType, aq as DefaultLineStyle, ar as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b0 as DeploymentView, b1 as DeploymentViewRule, b2 as DeploymentViewRulePredicate, b3 as DeploymentViewRuleStyle, b4 as DiagramEdge, aA as DiagramNode, b5 as DiagramView, E as DirectRelationExpr, b6 as DynamicView, b7 as DynamicViewIncludeRule, b8 as DynamicViewParallelSteps, b9 as DynamicViewRule, ba as DynamicViewStep, bb as DynamicViewStepOrParallel, bc as EdgeId, F as ElementExpression, G as ElementKindExpr, bw as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bd as ElementView, K as ElementWhereExpr, ah as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, be as ExtendsElementView, ai as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, aj as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, at as ModelRelation, bf as NodeId, R as NonWilcard, ak as NotOperator, al as OperatorPredicate, am as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, au as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, av as RelationshipArrowType, aw as RelationshipKind, ax as RelationshipKindSpecification, ay as RelationshipLineType, bg as ScopedElementView, bh as StepEdgeId, bi as StepEdgeIdLiteral, an as TagEqual, bj as ViewAutoLayout, bk as ViewId, bl as ViewManualLayout, bm as ViewRule, bn as ViewRuleAutoLayout, bo as ViewRuleGlobalPredicateRef, bp as ViewRuleGlobalStyle, bq as ViewRuleGroup, br as ViewRulePredicate, bs as ViewRuleStyle, bt as ViewRuleStyleOrGlobalRef, bu as ViewWithHash, bv as ViewWithNotation, ao as WhereOperator, W as WildcardExpr, aB as extractStep, aC as getBBoxCenter, aD as getParallelStepsPrefix, aa as isAndOperator, aE as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aF as isDeploymentView, aG as isDynamicView, aH as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aI as isElementView, q as isElementWhere, r as isExpandedElementExpr, aJ as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aK as isScopedElementView, aL as isStepEdgeId, ae as isTagEqual, aM as isViewRuleAutoLayout, aN as isViewRuleGlobalPredicateRef, aO as isViewRuleGlobalStyle, aP as isViewRuleGroup, aQ as isViewRulePredicate, aR as isViewRuleStyle, z as isWildcard, aS as stepEdgeId, af as whereOperatorAsPredicate } from './shared/core.DsDq-blc.js';
4
4
  export { DefaultMap, LinkedList, Queue, Stack, commonHead, compareNatural, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, ifilter, ifind, iflat, imap, intersection, ireduce, isIterable, isNonEmptyArray, isString, isome, iunique, stringHash, symmetricDifference, toArray, toSet, union } from './utils/index.js';
5
- export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.BJfq046m.js';
6
- export { c as computeRelationshipsView } from './shared/core.Dp3HTiRV.js';
5
+ export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.1pNr6Ryk.js';
6
+ export { c as computeRelationshipsView } from './shared/core.s6UB2oA0.js';
7
7
  export { OverviewGraph, ViewChange } from './types/index.js';
8
8
  export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.DQCc-Jxk.js';
9
9
  export { default as objectHash } from '/home/runner/work/likec4/likec4/node_modules/@types/object-hash/index.d.ts';
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- export { i as invariant, a as nonNullable, n as nonexhaustive } from './shared/core.BfZZXtur.mjs';
2
- export { A as AsFqn, B as BorderStyles, U as ComputedNode, V as ComputedView, Q as DefaultArrowType, d as DefaultElementShape, S as DefaultLineStyle, g as DefaultPaddingSize, T as DefaultRelationshipColor, h as DefaultShapeSize, j as DefaultTextSize, e as DefaultThemeColor, D as DeploymentElement, W as DiagramNode, E as ElementKind, k as ElementShapes, f as Expr, H as ExpressionV2, I as FqnExpr, J as FqnRef, R as RelationExpr, X as extractStep, Y as getBBoxCenter, Z as getParallelStepsPrefix, K as isAndOperator, _ as isAutoLayoutDirection, l as isCustomElement, m as isCustomRelationExpr, $ as isDeploymentView, a0 as isDynamicView, a1 as isDynamicViewParallelSteps, p as isElement, q as isElementKindExpr, b as isElementPredicateExpr, r as isElementRef, s as isElementTagExpr, a as isElementView, t as isElementWhere, u as isExpandedElementExpr, i as isExtendsElementView, w as isInOut, v as isIncoming, L as isKindEqual, M as isNotOperator, N as isOrOperator, x as isOutgoing, y as isRelation, z as isRelationExpression, C as isRelationPredicateExpr, F as isRelationWhere, c as isScopedElementView, a2 as isStepEdgeId, O as isTagEqual, a3 as isViewRuleAutoLayout, a4 as isViewRuleGlobalPredicateRef, a5 as isViewRuleGlobalStyle, a6 as isViewRuleGroup, a7 as isViewRulePredicate, a8 as isViewRuleStyle, G as isWildcard, a9 as stepEdgeId, P as whereOperatorAsPredicate } from './shared/core.CYNYaH2U.mjs';
3
- export { b as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.Cz9Oy_FA.mjs';
4
- export { c as computeRelationshipsView } from './shared/core.CE-kCVHA.mjs';
1
+ export { i as invariant, a as nonNullable, n as nonexhaustive } from './shared/core.Btj1m6H6.mjs';
2
+ export { A as AsFqn, B as BorderStyles, U as ComputedNode, V as ComputedView, Q as DefaultArrowType, D as DefaultElementShape, S as DefaultLineStyle, g as DefaultPaddingSize, T as DefaultRelationshipColor, h as DefaultShapeSize, j as DefaultTextSize, c as DefaultThemeColor, d as DeploymentElement, W as DiagramNode, E as ElementKind, k as ElementShapes, f as Expr, H as ExpressionV2, I as FqnExpr, J as FqnRef, R as RelationExpr, X as extractStep, Y as getBBoxCenter, Z as getParallelStepsPrefix, K as isAndOperator, _ as isAutoLayoutDirection, l as isCustomElement, m as isCustomRelationExpr, $ as isDeploymentView, a0 as isDynamicView, a1 as isDynamicViewParallelSteps, p as isElement, q as isElementKindExpr, b as isElementPredicateExpr, r as isElementRef, s as isElementTagExpr, a as isElementView, t as isElementWhere, u as isExpandedElementExpr, i as isExtendsElementView, w as isInOut, v as isIncoming, L as isKindEqual, M as isNotOperator, N as isOrOperator, x as isOutgoing, y as isRelation, z as isRelationExpression, C as isRelationPredicateExpr, F as isRelationWhere, e as isScopedElementView, a2 as isStepEdgeId, O as isTagEqual, a3 as isViewRuleAutoLayout, a4 as isViewRuleGlobalPredicateRef, a5 as isViewRuleGlobalStyle, a6 as isViewRuleGroup, a7 as isViewRulePredicate, a8 as isViewRuleStyle, G as isWildcard, a9 as stepEdgeId, P as whereOperatorAsPredicate } from './shared/core.BNaXALvz.mjs';
3
+ export { b as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.uGbvOLGK.mjs';
4
+ export { c as computeRelationshipsView } from './shared/core.GIZxdz4M.mjs';
5
5
  export { isThemeColor } from './types/index.mjs';
6
- export { D as DefaultMap, e as LinkedList, q as Queue, S as Stack, h as ancestorsFqn, j as commonAncestor, f as commonHead, k as compareByFqnHierarchically, o as compareFqnHierarchically, g as compareNatural, K as difference, L as equalsSet, z as getOrCreate, a as hasAtLeast, r as hierarchyDistance, s as hierarchyLevel, C as ifilter, i as ifind, E as iflat, F as imap, M as intersection, u as isAncestor, v as isDescendantOf, G as isIterable, A as isNonEmptyArray, c as isSameHierarchy, B as isString, H as isome, I as iunique, n as nameFromFqn, Q as objectHash, p as parentFqn, w as sortByFqnHierarchically, x as sortNaturalByFqn, y as sortParentsFirst, P as stringHash, N as symmetricDifference, J as toArray, t as toSet, O as union } from './shared/core.CeefT_JU.mjs';
6
+ export { D as DefaultMap, e as LinkedList, q as Queue, S as Stack, h as ancestorsFqn, j as commonAncestor, f as commonHead, k as compareByFqnHierarchically, o as compareFqnHierarchically, g as compareNatural, K as difference, L as equalsSet, z as getOrCreate, a as hasAtLeast, r as hierarchyDistance, s as hierarchyLevel, C as ifilter, i as ifind, E as iflat, F as imap, M as intersection, u as isAncestor, v as isDescendantOf, G as isIterable, A as isNonEmptyArray, c as isSameHierarchy, B as isString, H as isome, I as iunique, n as nameFromFqn, Q as objectHash, p as parentFqn, w as sortByFqnHierarchically, x as sortNaturalByFqn, y as sortParentsFirst, P as stringHash, N as symmetricDifference, J as toArray, t as toSet, O as union } from './shared/core.f1tiPwpd.mjs';
7
7
  export { compareRelations, delay, ireduce } from './utils/index.mjs';
8
8
 
9
9
  const { min: min$4, max: max$4 } = Math;
@@ -3642,12 +3642,12 @@ const defaultTheme = {
3642
3642
  shadow: "#0a0a0a",
3643
3643
  sizes: {
3644
3644
  xs: {
3645
- width: 120,
3646
- height: 80
3645
+ width: 180,
3646
+ height: 100
3647
3647
  },
3648
3648
  sm: {
3649
- width: 180,
3650
- height: 110
3649
+ width: 240,
3650
+ height: 135
3651
3651
  },
3652
3652
  md: {
3653
3653
  width: 320,
@@ -3667,11 +3667,12 @@ const defaultTheme = {
3667
3667
  // 0.5rem
3668
3668
  sm: 10,
3669
3669
  // 0.625rem
3670
- md: 24,
3670
+ md: 16,
3671
+ // 1rem
3672
+ lg: 24,
3671
3673
  // 1.5rem = 16px + 8px
3672
- lg: 32,
3674
+ xl: 32
3673
3675
  // 2rem
3674
- xl: 48
3675
3676
  },
3676
3677
  textSizes: {
3677
3678
  xs: 12,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const model_index = require('../shared/core.D91uYrqI.cjs');
3
+ const model_index = require('../shared/core.DqmAHWZs.cjs');
4
4
 
5
5
 
6
6
 
@@ -1,5 +1,5 @@
1
- import { E as ElementModel, D as DeploymentElementModel, A as AnyAux, f as DeploymentNodeModel, g as DeployedInstanceModel, h as RelationshipsAccum, R as RelationshipModel, i as DeploymentRelationModel } from '../shared/core.BgPZ8Tl8.cjs';
2
- export { b as Aux, j as EdgeModel, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel } from '../shared/core.BgPZ8Tl8.cjs';
1
+ import { E as ElementModel, D as DeploymentElementModel, A as AnyAux, f as DeploymentNodeModel, g as DeployedInstanceModel, h as RelationshipsAccum, R as RelationshipModel, i as DeploymentRelationModel } from '../shared/core.OjOfEBRQ.cjs';
2
+ export { b as Aux, j as EdgeModel, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel } from '../shared/core.OjOfEBRQ.cjs';
3
3
  import { F as Fqn, a as IteratorLike } from '../shared/core.QP35c488.cjs';
4
4
  import { I as IterableContainer, R as ReorderedArray } from '../shared/core.BYs5deiY.cjs';
5
5
  import 'type-fest';
@@ -1,5 +1,5 @@
1
- import { E as ElementModel, D as DeploymentElementModel, A as AnyAux, f as DeploymentNodeModel, g as DeployedInstanceModel, h as RelationshipsAccum, R as RelationshipModel, i as DeploymentRelationModel } from '../shared/core.5Z5cpENq.mjs';
2
- export { b as Aux, j as EdgeModel, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel } from '../shared/core.5Z5cpENq.mjs';
1
+ import { E as ElementModel, D as DeploymentElementModel, A as AnyAux, f as DeploymentNodeModel, g as DeployedInstanceModel, h as RelationshipsAccum, R as RelationshipModel, i as DeploymentRelationModel } from '../shared/core.DKJ2y3NP.mjs';
2
+ export { b as Aux, j as EdgeModel, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel } from '../shared/core.DKJ2y3NP.mjs';
3
3
  import { F as Fqn, a as IteratorLike } from '../shared/core.QP35c488.mjs';
4
4
  import { I as IterableContainer, R as ReorderedArray } from '../shared/core.D0KD4FiT.mjs';
5
5
  import 'type-fest';
@@ -1,5 +1,5 @@
1
- import { E as ElementModel, D as DeploymentElementModel, A as AnyAux, f as DeploymentNodeModel, g as DeployedInstanceModel, h as RelationshipsAccum, R as RelationshipModel, i as DeploymentRelationModel } from '../shared/core.BJfq046m.js';
2
- export { b as Aux, j as EdgeModel, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel } from '../shared/core.BJfq046m.js';
1
+ import { E as ElementModel, D as DeploymentElementModel, A as AnyAux, f as DeploymentNodeModel, g as DeployedInstanceModel, h as RelationshipsAccum, R as RelationshipModel, i as DeploymentRelationModel } from '../shared/core.1pNr6Ryk.js';
2
+ export { b as Aux, j as EdgeModel, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel } from '../shared/core.1pNr6Ryk.js';
3
3
  import { F as Fqn, a as IteratorLike } from '../shared/core.QP35c488.js';
4
4
  import { I as IterableContainer, R as ReorderedArray } from '../shared/core.DQCc-Jxk.js';
5
5
  import 'type-fest';
@@ -1 +1 @@
1
- export { C as Connection, f as ConnectionModel, F as DeployedInstanceModel, D as DeploymentConnectionModel, H as DeploymentNodeModel, I as DeploymentRelationModel, J as EdgeModel, E as ElementModel, b as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel, R as RelationshipModel, g as deploymentConnection, h as differenceConnections, j as findAscendingConnections, k as findDeepestNestedConnection, m as findDescendantConnections, n as hasSameSource, o as hasSameSourceTarget, p as hasSameTarget, q as isAnyInOut, K as isDeployedInstance, M as isDeploymentNode, s as isIncoming, v as isNestedConnection, x as isOutgoing, y as mergeConnections, z as modelConnection, A as sortConnectionsByBoundaryHierarchy, B as sortDeepestFirst } from '../shared/core.Cz9Oy_FA.mjs';
1
+ export { C as Connection, f as ConnectionModel, F as DeployedInstanceModel, D as DeploymentConnectionModel, H as DeploymentNodeModel, I as DeploymentRelationModel, J as EdgeModel, E as ElementModel, b as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, N as NodeModel, R as RelationshipModel, g as deploymentConnection, h as differenceConnections, j as findAscendingConnections, k as findDeepestNestedConnection, m as findDescendantConnections, n as hasSameSource, o as hasSameSourceTarget, p as hasSameTarget, q as isAnyInOut, K as isDeployedInstance, M as isDeploymentNode, s as isIncoming, v as isNestedConnection, x as isOutgoing, y as mergeConnections, z as modelConnection, A as sortConnectionsByBoundaryHierarchy, B as sortDeepestFirst } from '../shared/core.uGbvOLGK.mjs';
@@ -364,6 +364,7 @@ declare class LikeC4Model<M extends AnyAux = LikeC4Model.Any> {
364
364
  */
365
365
  outgoing(element: M['ElementOrFqn'], filter?: OutgoingFilter): RelationshipsIterator<M>;
366
366
  globals(): ModelGlobals;
367
+ allTags(): ReadonlyArray<Tag>;
367
368
  private addElement;
368
369
  private addRelation;
369
370
  }
@@ -1,4 +1,4 @@
1
- import { L as LikeC4Model, E as ElementModel, R as RelationshipModel } from './core.BgPZ8Tl8.cjs';
1
+ import { L as LikeC4Model, E as ElementModel, R as RelationshipModel } from './core.OjOfEBRQ.cjs';
2
2
  import { F as Fqn } from './core.QP35c488.cjs';
3
3
 
4
4
  declare function computeRelationshipsView(subjectId: Fqn, likec4model: LikeC4Model): {
@@ -1,4 +1,4 @@
1
- import { L as LikeC4Model, E as ElementModel, R as RelationshipModel } from './core.5Z5cpENq.mjs';
1
+ import { L as LikeC4Model, E as ElementModel, R as RelationshipModel } from './core.DKJ2y3NP.mjs';
2
2
  import { F as Fqn } from './core.QP35c488.mjs';
3
3
 
4
4
  declare function computeRelationshipsView(subjectId: Fqn, likec4model: LikeC4Model): {
@@ -1,4 +1,4 @@
1
- import { u, i as invariant, n as nonexhaustive } from './core.BfZZXtur.mjs';
1
+ import { u, i as invariant, n as nonexhaustive } from './core.Btj1m6H6.mjs';
2
2
 
3
3
  function o$1(a){return t=>!a(t)}
4
4
 
@@ -380,4 +380,4 @@ var DiagramNode;
380
380
  DiagramNode2.isNodesGroup = isNodesGroup;
381
381
  })(DiagramNode || (DiagramNode = {}));
382
382
 
383
- export { isDeploymentView as $, AsFqn as A, BorderStyles as B, isRelationPredicateExpr as C, DeploymentElement as D, ElementKind as E, isRelationWhere as F, isWildcard as G, ExpressionV2 as H, FqnExpr as I, FqnRef as J, isAndOperator as K, isKindEqual as L, isNotOperator as M, isOrOperator as N, isTagEqual as O, whereOperatorAsPredicate as P, DefaultArrowType as Q, RelationExpr as R, DefaultLineStyle as S, DefaultRelationshipColor as T, ComputedNode as U, ComputedView as V, DiagramNode as W, extractStep as X, getBBoxCenter as Y, getParallelStepsPrefix as Z, isAutoLayoutDirection as _, isElementView as a, isDynamicView as a0, isDynamicViewParallelSteps as a1, isStepEdgeId as a2, isViewRuleAutoLayout as a3, isViewRuleGlobalPredicateRef as a4, isViewRuleGlobalStyle as a5, isViewRuleGroup as a6, isViewRulePredicate as a7, isViewRuleStyle as a8, stepEdgeId as a9, o$1 as aa, y as ab, isElementPredicateExpr as b, isScopedElementView as c, DefaultElementShape as d, DefaultThemeColor as e, expression as f, DefaultPaddingSize as g, DefaultShapeSize as h, isExtendsElementView as i, DefaultTextSize as j, ElementShapes as k, isCustomElement as l, isCustomRelationExpr as m, n, o, isElement as p, isElementKindExpr as q, isElementRef as r, isElementTagExpr as s, isElementWhere as t, isExpandedElementExpr as u, isIncoming as v, isInOut as w, isOutgoing as x, isRelation as y, isRelationExpression as z };
383
+ export { isDeploymentView as $, AsFqn as A, BorderStyles as B, isRelationPredicateExpr as C, DefaultElementShape as D, ElementKind as E, isRelationWhere as F, isWildcard as G, ExpressionV2 as H, FqnExpr as I, FqnRef as J, isAndOperator as K, isKindEqual as L, isNotOperator as M, isOrOperator as N, isTagEqual as O, whereOperatorAsPredicate as P, DefaultArrowType as Q, RelationExpr as R, DefaultLineStyle as S, DefaultRelationshipColor as T, ComputedNode as U, ComputedView as V, DiagramNode as W, extractStep as X, getBBoxCenter as Y, getParallelStepsPrefix as Z, isAutoLayoutDirection as _, isElementView as a, isDynamicView as a0, isDynamicViewParallelSteps as a1, isStepEdgeId as a2, isViewRuleAutoLayout as a3, isViewRuleGlobalPredicateRef as a4, isViewRuleGlobalStyle as a5, isViewRuleGroup as a6, isViewRulePredicate as a7, isViewRuleStyle as a8, stepEdgeId as a9, o$1 as aa, y as ab, isElementPredicateExpr as b, DefaultThemeColor as c, DeploymentElement as d, isScopedElementView as e, expression as f, DefaultPaddingSize as g, DefaultShapeSize as h, isExtendsElementView as i, DefaultTextSize as j, ElementShapes as k, isCustomElement as l, isCustomRelationExpr as m, n, o, isElement as p, isElementKindExpr as q, isElementRef as r, isElementTagExpr as s, isElementWhere as t, isExpandedElementExpr as u, isIncoming as v, isInOut as w, isOutgoing as x, isRelation as y, isRelationExpression as z };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const object_hash = require('./core.BjR0D3IO.cjs');
3
+ const object_hash = require('./core.DEzbhxsA.cjs');
4
4
 
5
5
  function computeRelationshipsView(subjectId, likec4model) {
6
6
  const subject = likec4model.element(subjectId);
@@ -14,7 +14,7 @@ function nonexhaustive(value) {
14
14
  throw new Error(`NonExhaustive value: ${value}`);
15
15
  }
16
16
 
17
- function u$1(o,n,a){let t=r=>o(r,...n);return a===undefined?t:Object.assign(t,{lazy:a,lazyArgs:n})}
17
+ function u$1(o,n,a){let t=r=>o(r,...n);return a===void 0?t:Object.assign(t,{lazy:a,lazyArgs:n})}
18
18
 
19
19
  function u(r,n,o){let a=r.length-n.length;if(a===0)return r(...n);if(a===1)return u$1(r,n,o);throw new Error("Wrong number of arguments")}
20
20
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const chunkWIMGWYZL = require('./core.DqQrj2oQ.cjs');
3
+ const chunkWIMGWYZL = require('./core.DUbKSpjd.cjs');
4
4
 
5
5
  function o$1(a){return t=>!a(t)}
6
6