@likec4/core 1.43.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builder/index.d.mts +15 -14
- package/dist/builder/index.mjs +35 -18
- package/dist/compute-view/index.d.mts +9 -9
- package/dist/compute-view/index.mjs +8 -7
- package/dist/compute-view/relationships-view/index.d.mts +7 -7
- package/dist/compute-view/relationships-view/index.mjs +2 -2
- package/dist/index.d.mts +27 -7
- package/dist/index.mjs +8 -7
- package/dist/model/connection/deployment/index.d.mts +9 -9
- package/dist/model/connection/deployment/index.mjs +2 -2
- package/dist/model/connection/index.d.mts +10 -10
- package/dist/model/connection/index.mjs +3 -3
- package/dist/model/connection/model/index.d.mts +9 -9
- package/dist/model/connection/model/index.mjs +2 -2
- package/dist/model/index.d.mts +11 -11
- package/dist/model/index.mjs +4 -4
- package/dist/shared/{core.CDvVInBp.d.mts → core.0zAQeenX.d.mts} +3 -3
- package/dist/shared/core.3ZhnKAlZ.mjs +106 -0
- package/dist/shared/{core.CwsG7hOw.d.mts → core.5ZQ-r3Oa.d.mts} +1 -1
- package/dist/shared/{core.hNWo20Ym.d.mts → core.B73yxfPi.d.mts} +55 -36
- package/dist/shared/{core.Cq2kxOI-.d.mts → core.BGFjN3nv.d.mts} +3 -3
- package/dist/shared/{core.rCeaAqgW.mjs → core.BdPcbSkN.mjs} +1 -1
- package/dist/shared/core.BhNcrwzK.mjs +7 -0
- package/dist/shared/core.BkVA6gjl.mjs +5 -0
- package/dist/shared/core.BuQZczj6.mjs +38 -0
- package/dist/shared/{core.2N_9BzyD.mjs → core.CQPEY2wQ.mjs} +5 -4
- package/dist/shared/{core.DFi2dOTl.mjs → core.CR3PmPzr.mjs} +85 -1
- package/dist/shared/{core.DyToofsP.mjs → core.CRI1AjFj.mjs} +276 -145
- package/dist/shared/{core.CXWsKEDr.mjs → core.CWwSgOzF.mjs} +268 -631
- package/dist/shared/{core.727Qoh_W.mjs → core.CdNCAwq7.mjs} +2 -101
- package/dist/shared/{core.QJD_fcrc.mjs → core.CmPXpJ8l.mjs} +1 -14
- package/dist/shared/{core.DTdfiejA.d.mts → core.Cog93roC.d.mts} +2 -2
- package/dist/shared/core.Coi_LOUZ.mjs +7 -0
- package/dist/shared/{core.CcJ1FZ7h.d.mts → core.CpURdWRM.d.mts} +174 -76
- package/dist/shared/{core.D5fzJWbF.d.mts → core.DB0Ue5Wx.d.mts} +1 -1
- package/dist/shared/{core.DNbUPnve.mjs → core.DEieYfbG.mjs} +27 -25
- package/dist/shared/{core.BYNkXQ8A.mjs → core.DH7TXqXf.mjs} +30 -1
- package/dist/shared/{core.DMMOWQqc.mjs → core.DIE3F6sw.mjs} +2 -2
- package/dist/shared/{core.D0NziuvN.mjs → core.DViDmiAu.mjs} +5 -5
- package/dist/shared/{core.Be05qJwN.mjs → core.D_f4F48-.mjs} +41 -18
- package/dist/shared/{core.C2TiyjI6.mjs → core.DbfO90vF.mjs} +20 -31
- package/dist/shared/{core.BT-9gaqQ.d.mts → core.DnCLhN8C.d.mts} +83 -94
- package/dist/shared/{core.BouyJs63.mjs → core.DqlrMlsf.mjs} +1 -1
- package/dist/shared/{core.CNgZvKb8.mjs → core.DrUt0Lbi.mjs} +1 -1
- package/dist/shared/{core.CT1xBp4R.d.mts → core.Dvh1H0T2.d.mts} +2 -2
- package/dist/shared/core.M9ayqQZa.mjs +1207 -0
- package/dist/shared/{core.CvLjw3bH.d.mts → core.mUnpvHtA.d.mts} +96 -12
- package/dist/shared/core.oSV6SRfk.mjs +13 -0
- package/dist/shared/core.q10OP9oJ.mjs +5 -0
- package/dist/shared/{core.BXs4wY7R.d.mts → core.t3qfsVvn.d.mts} +4 -4
- package/dist/shared/core.uFk_o9X6.mjs +13 -0
- package/dist/shared/core.vzLtp8i3.mjs +1282 -0
- package/dist/styles/index.d.mts +18 -8
- package/dist/styles/index.mjs +63 -1
- package/dist/types/_aux.d.mts +2 -2
- package/dist/types/_aux.mjs +8 -1
- package/dist/types/expression-model.d.mts +3 -3
- package/dist/types/expression.d.mts +3 -3
- package/dist/types/fqnRef.d.mts +7 -8
- package/dist/types/index.d.mts +17 -13
- package/dist/types/index.mjs +51 -14
- package/dist/utils/graphology/index.mjs +1 -1
- package/dist/utils/index.d.mts +3 -2
- package/dist/utils/index.mjs +9 -6
- package/dist/utils/iterable/index.d.mts +1 -1
- package/dist/utils/iterable/index.mjs +2 -1
- package/package.json +18 -17
- package/dist/shared/core.01VTr9qu.mjs +0 -170
- package/dist/shared/core.1vX5a9AY.mjs +0 -86
- package/dist/shared/core.BazD6cot.mjs +0 -14
- package/dist/shared/core.BzTakU3I.mjs +0 -67
- package/dist/shared/core.OHD4KXm9.mjs +0 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as Any, U as Unknown, W as WithDescriptionAndTech,
|
|
3
|
-
import {
|
|
4
|
-
import { E as ElementStyle, A as AbstractRelationship,
|
|
1
|
+
import { Simplify, IsAny } from 'type-fest';
|
|
2
|
+
import { A as Any, U as Unknown, W as WithDescriptionAndTech, s as WithOptionalTags, u as WithOptionalLinks, v as WithMetadata, w as WithNotation, x as DeploymentFqn, y as DeploymentKind, F as Fqn, n as _type, m as _stage, o as _layout, S as StrictViewId, N as NodeId, z as EdgeId, k as ExtractOnStage, M as ModelStage, P as ProjectId, a as ElementId, D as DeploymentId, d as AnyParsed, i as UnknownParsed, V as ViewId$1, b as AnyComputed, g as UnknownComputed, c as AnyLayouted, h as UnknownLayouted, f as SpecAux, e as Aux, B as Never } from './core.B73yxfPi.mjs';
|
|
3
|
+
import { a as NonEmptyReadonlyArray, N as NonEmptyArray, E as ExclusiveUnion, K as KeysOf } from './core.DB0Ue5Wx.mjs';
|
|
4
|
+
import { E as ElementStyle, A as AbstractRelationship, F as ViewType, B as BBox, z as ViewAutoLayout, J as ViewWithNotation, H as BaseViewProperties, K as ViewWithHash, O as ComputedNode, Q as ComputedEdge, P as Point, X as XYPoint, a7 as DynamicViewDisplayVariant, I as BaseParsedViewProperties, p as AnyIncludePredicate, q as AnyExcludePredicate, r as AnyViewRuleStyle, x as ViewRuleAutoLayout, ag as ParsedElementView, a8 as ParsedDynamicView, U as ComputedElementView, W as ComputedDeploymentView, Y as ComputedDynamicView, o as LikeC4Project, S as Specification, f as Element, g as Relationship, M as ModelGlobals } from './core.mUnpvHtA.mjs';
|
|
5
5
|
import { FqnRef } from '../types/fqnRef.mjs';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { F as Fqn$1, V as ViewId, M as MarkdownOrString, d as RelationId } from './core.DX-WYEPA.mjs';
|
|
7
|
+
import { j as Expression, F as FqnExpr } from './core.0zAQeenX.mjs';
|
|
8
8
|
|
|
9
9
|
interface DeploymentNode<A extends Any = Unknown> extends WithDescriptionAndTech, WithOptionalTags<A>, WithOptionalLinks, WithMetadata<A>, WithNotation {
|
|
10
10
|
element?: never;
|
|
@@ -44,63 +44,31 @@ interface DeploymentRelationship<A extends Any = Unknown> extends AbstractRelati
|
|
|
44
44
|
*/
|
|
45
45
|
type DeploymentRelation<A extends Any = Unknown> = DeploymentRelationship<A>;
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
shape?: ElementShape;
|
|
60
|
-
icon?: Icon;
|
|
61
|
-
color?: Color;
|
|
62
|
-
border?: BorderStyle;
|
|
63
|
-
opacity?: number;
|
|
64
|
-
size?: ShapeSize;
|
|
65
|
-
padding?: SpacingSize;
|
|
66
|
-
textSize?: TextSize;
|
|
67
|
-
multiple?: boolean;
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
interface TagSpecification {
|
|
71
|
-
color: ThemeColor | ColorLiteral;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Checks if tag color is defined in the specification
|
|
75
|
-
* Expects HEX, `rgb(...)` or `rgba(...)` color
|
|
76
|
-
*/
|
|
77
|
-
declare function isTagColorSpecified(spec: string | TagSpecification): spec is {
|
|
78
|
-
color: ColorLiteral;
|
|
47
|
+
type LayoutedViewDriftReason = 'not-exists' | 'type-changed' | 'nodes-added' | 'nodes-removed' | 'nodes-drift' | 'edges-added' | 'edges-removed' | 'edges-drift';
|
|
48
|
+
type DiagramNodeDriftReason = 'removed' | 'added' | 'label-changed' | 'modelRef-changed' | 'parent-changed' | 'children-changed' | 'became-compound' | 'became-leaf' | 'shape-changed';
|
|
49
|
+
type DiagramEdgeDriftReason = 'removed' | 'added' | 'label-added' | 'label-removed' | 'label-changed' | 'notes-changed' | 'direction-changed' | 'source-changed' | 'target-changed';
|
|
50
|
+
type ViewManualLayoutSnapshotPerType = {
|
|
51
|
+
readonly [_type]: 'element';
|
|
52
|
+
readonly viewOf?: Fqn$1;
|
|
53
|
+
readonly extends?: ViewId;
|
|
54
|
+
} | {
|
|
55
|
+
readonly [_type]: 'deployment';
|
|
56
|
+
} | {
|
|
57
|
+
readonly [_type]: 'dynamic';
|
|
58
|
+
readonly sequenceLayout: LayoutedDynamicView.Sequence.Layout;
|
|
79
59
|
};
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
elements: {
|
|
93
|
-
[key in ElementKind<A>]: Partial<ElementSpecification>;
|
|
94
|
-
};
|
|
95
|
-
deployments: {
|
|
96
|
-
[key in DeploymentKind<A>]: Partial<ElementSpecification>;
|
|
97
|
-
};
|
|
98
|
-
relationships: {
|
|
99
|
-
[key in RelationKind<A>]: Partial<RelationshipSpecification>;
|
|
100
|
-
};
|
|
101
|
-
metadataKeys?: IsNever<MetadataKey<A>> extends true ? never : MetadataKey<A>[];
|
|
102
|
-
customColors?: CustomColorDefinitions;
|
|
103
|
-
} : never;
|
|
60
|
+
type ViewManualLayoutSnapshot<Type extends ViewType = ViewType> = Simplify<ViewManualLayoutSnapshotPerType & {
|
|
61
|
+
readonly id: ViewId;
|
|
62
|
+
readonly title: string | null;
|
|
63
|
+
readonly description: MarkdownOrString | null;
|
|
64
|
+
readonly [_type]: Type;
|
|
65
|
+
readonly [_stage]: 'layouted';
|
|
66
|
+
readonly hash: string;
|
|
67
|
+
readonly nodes: DiagramNode[];
|
|
68
|
+
readonly edges: DiagramEdge[];
|
|
69
|
+
readonly bounds: BBox;
|
|
70
|
+
readonly autoLayout: ViewAutoLayout;
|
|
71
|
+
} & ViewWithNotation>;
|
|
104
72
|
|
|
105
73
|
interface DiagramNode<A extends Any = Any> extends ComputedNode<A>, BBox {
|
|
106
74
|
/**
|
|
@@ -118,6 +86,10 @@ interface DiagramNode<A extends Any = Any> extends ComputedNode<A>, BBox {
|
|
|
118
86
|
* (Absolute coordinates)
|
|
119
87
|
*/
|
|
120
88
|
labelBBox: BBox;
|
|
89
|
+
/**
|
|
90
|
+
* List of reasons causing node drift
|
|
91
|
+
*/
|
|
92
|
+
drifts?: NonEmptyReadonlyArray<DiagramNodeDriftReason> | null;
|
|
121
93
|
}
|
|
122
94
|
interface DiagramEdge<A extends Any = Any> extends ComputedEdge<A> {
|
|
123
95
|
/**
|
|
@@ -129,22 +101,29 @@ interface DiagramEdge<A extends Any = Any> extends ComputedEdge<A> {
|
|
|
129
101
|
* Control points to adjust the edge
|
|
130
102
|
* (Absolute coordinates)
|
|
131
103
|
*/
|
|
132
|
-
controlPoints?: NonEmptyArray<XYPoint
|
|
104
|
+
controlPoints?: NonEmptyArray<XYPoint> | null;
|
|
133
105
|
/**
|
|
134
106
|
* Bounding box of label
|
|
135
107
|
* (Absolute coordinates)
|
|
136
108
|
*/
|
|
137
109
|
labelBBox?: BBox | null;
|
|
138
110
|
/**
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
* TODO: temporary solution, should be moved out
|
|
142
|
-
* @deprecated
|
|
111
|
+
* List of reasons causing edge drift
|
|
143
112
|
*/
|
|
144
|
-
|
|
113
|
+
drifts?: NonEmptyReadonlyArray<DiagramEdgeDriftReason> | null;
|
|
145
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* Type of the layout
|
|
117
|
+
* - `auto`: auto-layouted from the current sources
|
|
118
|
+
* - `manual`: read from the manually layouted snapshot
|
|
119
|
+
*/
|
|
120
|
+
type LayoutType = 'auto' | 'manual';
|
|
146
121
|
interface BaseLayoutedViewProperties<A extends Any> extends BaseViewProperties<A>, ViewWithHash, ViewWithNotation {
|
|
147
122
|
readonly [_stage]: 'layouted';
|
|
123
|
+
/**
|
|
124
|
+
* If undefined, view does not have any manual layouts, and is auto-layouted
|
|
125
|
+
*/
|
|
126
|
+
readonly [_layout]?: LayoutType;
|
|
148
127
|
readonly autoLayout: ViewAutoLayout;
|
|
149
128
|
readonly nodes: DiagramNode<A>[];
|
|
150
129
|
readonly edges: DiagramEdge<A>[];
|
|
@@ -152,8 +131,14 @@ interface BaseLayoutedViewProperties<A extends Any> extends BaseViewProperties<A
|
|
|
152
131
|
/**
|
|
153
132
|
* If diagram has manual layout
|
|
154
133
|
* But was changed and layout should be recalculated
|
|
134
|
+
* @deprecated manual layout v2 uses {@link drifts}
|
|
135
|
+
*/
|
|
136
|
+
readonly hasLayoutDrift?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* List of reasons causing layout drift
|
|
139
|
+
* If undefined or null, there is no layout drift or view is auto-layouted
|
|
155
140
|
*/
|
|
156
|
-
|
|
141
|
+
readonly drifts?: NonEmptyReadonlyArray<LayoutedViewDriftReason> | null;
|
|
157
142
|
}
|
|
158
143
|
interface LayoutedElementView<A extends Any = Any> extends BaseLayoutedViewProperties<A> {
|
|
159
144
|
readonly [_type]: 'element';
|
|
@@ -166,8 +151,8 @@ interface LayoutedDeploymentView<A extends Any = Any> extends BaseLayoutedViewPr
|
|
|
166
151
|
interface LayoutedDynamicView<A extends Any = Any> extends BaseLayoutedViewProperties<A> {
|
|
167
152
|
readonly [_type]: 'dynamic';
|
|
168
153
|
/**
|
|
169
|
-
*
|
|
170
|
-
* - `diagram`: display as a regular likec4 view
|
|
154
|
+
* Default variant of this dynamic view
|
|
155
|
+
* - `diagram`: display as a regular likec4 view (default if not specified)
|
|
171
156
|
* - `sequence`: display as a sequence diagram
|
|
172
157
|
*/
|
|
173
158
|
readonly variant: DynamicViewDisplayVariant;
|
|
@@ -297,7 +282,16 @@ declare function isExtendsElementView<V extends AnyView<any>>(view: V): view is
|
|
|
297
282
|
declare function isDeploymentView<V extends AnyView<any>>(view: V): view is ViewWithType<V, 'deployment'>;
|
|
298
283
|
declare function isDynamicView<V extends AnyView<any>>(view: V): view is ViewWithType<V, 'dynamic'>;
|
|
299
284
|
|
|
285
|
+
/**
|
|
286
|
+
* Represents a LikeC4 model data, in different stages of processing
|
|
287
|
+
* - {@link ParsedLikeC4ModelData} - parsed from DSL or result from Builder
|
|
288
|
+
* - {@link ComputedLikeC4ModelData} - computed from parsed model
|
|
289
|
+
* - {@link LayoutedLikeC4ModelData} - layouted from computed model
|
|
290
|
+
*
|
|
291
|
+
* !IMPORTANT: This is a low-level type, use `LikeC4Model` instead.
|
|
292
|
+
*/
|
|
300
293
|
interface BaseLikeC4ModelData<A extends Any> {
|
|
294
|
+
[_stage]: A['Stage'];
|
|
301
295
|
projectId: ProjectId<A>;
|
|
302
296
|
project: LikeC4Project;
|
|
303
297
|
specification: Specification<A>;
|
|
@@ -311,31 +305,25 @@ interface BaseLikeC4ModelData<A extends Any> {
|
|
|
311
305
|
imports: Record<string, NonEmptyArray<Element<A>>>;
|
|
312
306
|
}
|
|
313
307
|
type AuxFromLikeC4ModelData<D> = D extends BaseLikeC4ModelData<infer A extends Any> ? IsAny<A> extends true ? never : A : never;
|
|
314
|
-
|
|
315
|
-
* Represents a LikeC4 model with customizable type parameters,
|
|
316
|
-
* parsed from DSL or result from Builder
|
|
317
|
-
*
|
|
318
|
-
* !IMPORTANT: This is a low-level type, use `LikeC4Model` instead.
|
|
319
|
-
* !NOTE: Views are not computed yet.
|
|
320
|
-
*
|
|
321
|
-
* @typeParam ElementKinds - Types of elements in the model (defaults to string)
|
|
322
|
-
* @typeParam RelationKinds - Types of relationships (defaults to string)
|
|
323
|
-
* @typeParam Tags - Types of tags that can be applied (defaults to string)
|
|
324
|
-
* @typeParam Fqns - Fully Qualified Names for elements (defaults to string)
|
|
325
|
-
* @typeParam Views - Types of views in the model (defaults to string)
|
|
326
|
-
* @typeParam DeploymentFqns - Fully Qualified Names for deployment nodes (defaults to string)
|
|
327
|
-
*/
|
|
328
|
-
interface ParsedLikeC4ModelData<A extends Any = UnknownParsed> extends BaseLikeC4ModelData<A> {
|
|
308
|
+
interface ParsedLikeC4ModelData<A extends AnyParsed = UnknownParsed> extends BaseLikeC4ModelData<A> {
|
|
329
309
|
[_stage]: 'parsed';
|
|
330
|
-
views: Record<ViewId<A>, ParsedView<A>>;
|
|
310
|
+
views: Record<ViewId$1<A>, ParsedView<A>>;
|
|
331
311
|
}
|
|
332
|
-
interface ComputedLikeC4ModelData<A extends
|
|
312
|
+
interface ComputedLikeC4ModelData<A extends AnyComputed = UnknownComputed> extends BaseLikeC4ModelData<A> {
|
|
333
313
|
[_stage]: 'computed';
|
|
334
|
-
views: Record<ViewId<A>, ComputedView<A>>;
|
|
314
|
+
views: Record<ViewId$1<A>, ComputedView<A>>;
|
|
315
|
+
/**
|
|
316
|
+
* If project contains saved manual layouts
|
|
317
|
+
*/
|
|
318
|
+
manualLayouts?: Record<ViewId, ViewManualLayoutSnapshot>;
|
|
335
319
|
}
|
|
336
|
-
interface LayoutedLikeC4ModelData<A extends
|
|
320
|
+
interface LayoutedLikeC4ModelData<A extends AnyLayouted = UnknownLayouted> extends BaseLikeC4ModelData<A> {
|
|
337
321
|
[_stage]: 'layouted';
|
|
338
|
-
views: Record<ViewId<A>, LayoutedView<A>>;
|
|
322
|
+
views: Record<ViewId$1<A>, LayoutedView<A>>;
|
|
323
|
+
/**
|
|
324
|
+
* If this model contains saved manual layouts
|
|
325
|
+
*/
|
|
326
|
+
manualLayouts?: Record<ViewId, ViewManualLayoutSnapshot>;
|
|
339
327
|
}
|
|
340
328
|
type LikeC4ModelData<A extends Any> = ParsedLikeC4ModelData<A> | ComputedLikeC4ModelData<A> | LayoutedLikeC4ModelData<A>;
|
|
341
329
|
|
|
@@ -423,14 +411,15 @@ type RichTextOrEmpty = RichTextNonEmpty | RichTextEmpty;
|
|
|
423
411
|
* It is used to represent the content of a node or a link.
|
|
424
412
|
*/
|
|
425
413
|
declare class RichText {
|
|
426
|
-
private static
|
|
414
|
+
private static getOrCreateFromText;
|
|
415
|
+
private static getOrCreateFromMarkdown;
|
|
427
416
|
/**
|
|
428
417
|
* Creates and memoizes a RichText instance.
|
|
429
418
|
* @see ElementModel.description
|
|
430
419
|
* @example
|
|
431
420
|
*
|
|
432
421
|
* get description(): RichTextOrEmpty {
|
|
433
|
-
* return RichText.memoize(this, this.$element.description)
|
|
422
|
+
* return RichText.memoize(this, 'description', this.$element.description)
|
|
434
423
|
* }
|
|
435
424
|
*/
|
|
436
425
|
static memoize(obj: object, tag: symbol | string, source: MarkdownOrString | null | undefined): RichTextOrEmpty;
|
|
@@ -473,4 +462,4 @@ declare class RichText {
|
|
|
473
462
|
equals(other: unknown): boolean;
|
|
474
463
|
}
|
|
475
464
|
|
|
476
|
-
export { type DeploymentViewRule as $, type AuxFromLikeC4ModelData as A,
|
|
465
|
+
export { type DeploymentViewRule as $, type AuxFromLikeC4ModelData as A, isComputedView as B, type ComputedLikeC4ModelData as C, type DeploymentNode as D, isElementView as E, isScopedElementView as F, isExtendsElementView as G, isDeploymentView as H, isDynamicView as I, type DiagramNode as J, type DiagramEdge as K, type LayoutedView as L, type LayoutType as M, type LayoutedElementView as N, type LayoutedDeploymentView as O, type ParsedLikeC4ModelData as P, LayoutedDynamicView as Q, RichText as R, type SpecificationDump as S, type LayoutedViewDriftReason as T, type DiagramNodeDriftReason as U, type ViewManualLayoutSnapshot as V, type DiagramEdgeDriftReason as W, type DeploymentViewIncludePredicate as X, type DeploymentViewExcludePredicate as Y, type DeploymentViewPredicate as Z, type DeploymentViewRuleStyle as _, type RichTextEmpty as a, type ParsedDeploymentView as a0, type RichTextOrEmpty as b, type LayoutedLikeC4ModelData as c, type LikeC4ModelData as d, type DeployedInstance as e, type DeploymentElement as f, type DeploymentElementRef as g, isDeployedInstance as h, isDeploymentNode as i, type DeploymentRelationship as j, type DeploymentRelation as k, type SpecTypesFromDump as l, type LikeC4ModelDump as m, type ProjectDump as n, type AuxFromDump as o, type ParsedView as p, isDiagramView as q, type ComputedView as r, type ProcessedView as s, type AnyView as t, type ViewOnStage as u, type ViewWithType as v, type ViewRule as w, type ViewRulePredicate as x, isViewRulePredicate as y, isViewRuleStyle as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from 'events';
|
|
2
2
|
import { g as getDefaultExportFromCjs } from './core.B85MJLTf.mjs';
|
|
3
|
-
import {
|
|
3
|
+
import { r as requireIterator, a as requireSupport } from './core.BdPcbSkN.mjs';
|
|
4
4
|
|
|
5
5
|
var iteratorExports = requireIterator();
|
|
6
6
|
const Iterator = /*@__PURE__*/getDefaultExportFromCjs(iteratorExports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L as LikeC4StylesConfig, a as LikeC4Theme, b as LikeC4StyleDefaults, E as ElementColorValues, R as RelationshipColorValues, T as ThemeColor, c as ThemeColorValues, d as TextSize, S as SpacingSize, e as ShapeSize } from './core.0zAQeenX.mjs';
|
|
2
2
|
import { LiteralUnion } from 'type-fest';
|
|
3
|
-
import {
|
|
3
|
+
import { L as LikeC4ProjectStylesConfig, C as ComputedNodeStyle } from './core.mUnpvHtA.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Styles of a LikeC4 project
|