@likec4/core 1.46.4 → 1.48.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/LICENSE +1 -1
- package/dist/_chunks/Builder.view-element.mjs +3284 -0
- package/dist/_chunks/LikeC4Model.d.mts +1287 -0
- package/dist/_chunks/LikeC4Styles.mjs +691 -0
- package/dist/_chunks/RichText.d.mts +84 -0
- package/dist/_chunks/RichText.mjs +148 -0
- package/dist/_chunks/_aux.d.mts +289 -0
- package/dist/_chunks/_aux.mjs +18 -0
- package/dist/_chunks/_types.d.mts +781 -0
- package/dist/_chunks/_types2.d.mts +38 -0
- package/dist/_chunks/assignTagColors.mjs +24 -0
- package/dist/_chunks/calcDriftsFromSnapshot.mjs +379 -0
- package/dist/_chunks/connection.mjs +0 -0
- package/dist/_chunks/const.d.mts +43 -0
- package/dist/_chunks/const.mjs +33 -0
- package/dist/_chunks/expression-model.d.mts +192 -0
- package/dist/_chunks/expression-model.mjs +103 -0
- package/dist/_chunks/expression.d.mts +347 -0
- package/dist/_chunks/expression.mjs +107 -0
- package/dist/_chunks/find.d.mts +82 -0
- package/dist/_chunks/find.mjs +646 -0
- package/dist/_chunks/find2.d.mts +78 -0
- package/dist/_chunks/find2.mjs +287 -0
- package/dist/_chunks/fqnRef.d.mts +58 -0
- package/dist/_chunks/fqnRef.mjs +41 -0
- package/dist/_chunks/geometry.mjs +335 -0
- package/dist/_chunks/index.d.mts +169 -0
- package/dist/_chunks/index2.d.mts +937 -0
- package/dist/_chunks/index3.d.mts +146 -0
- package/dist/_chunks/index4.d.mts +62 -0
- package/dist/_chunks/index5.d.mts +42 -0
- package/dist/_chunks/index6.d.mts +43 -0
- package/dist/{shared/core.OtRNdMxy.d.mts → _chunks/index7.d.mts} +113 -197
- package/dist/_chunks/index8.d.mts +144 -0
- package/dist/_chunks/invariant.mjs +18 -0
- package/dist/_chunks/iterable.mjs +146 -0
- package/dist/_chunks/libs/@mantine/colors-generator.mjs +3416 -0
- package/dist/_chunks/libs/@ungap/structured-clone.mjs +213 -0
- package/dist/_chunks/libs/bail.mjs +14 -0
- package/dist/_chunks/libs/ccount.mjs +25 -0
- package/dist/_chunks/libs/character-entities-html4.mjs +263 -0
- package/dist/_chunks/libs/character-entities-legacy.mjs +117 -0
- package/dist/_chunks/libs/character-entities.mjs +2136 -0
- package/dist/_chunks/libs/comma-separated-tokens.mjs +18 -0
- package/dist/_chunks/libs/decode-named-character-reference.mjs +21 -0
- package/dist/_chunks/libs/defu.mjs +42 -0
- package/dist/_chunks/libs/devlop.mjs +5 -0
- package/dist/_chunks/libs/escape-string-regexp.mjs +8 -0
- package/dist/_chunks/libs/extend.mjs +77 -0
- package/dist/_chunks/libs/graphology-dag.mjs +703 -0
- package/dist/_chunks/libs/graphology-types.d.mts +601 -0
- package/dist/_chunks/libs/graphology.d.mts +6 -0
- package/dist/_chunks/libs/graphology.mjs +4565 -0
- package/dist/_chunks/libs/hast-util-sanitize.mjs +863 -0
- package/dist/_chunks/libs/hast-util-to-html.mjs +2696 -0
- package/dist/_chunks/libs/is-plain-obj.mjs +9 -0
- package/dist/_chunks/libs/longest-streak.mjs +30 -0
- package/dist/_chunks/libs/markdown-table.mjs +290 -0
- package/dist/_chunks/libs/mdast-util-find-and-replace.mjs +653 -0
- package/dist/_chunks/libs/mdast-util-from-markdown.mjs +8522 -0
- package/dist/_chunks/libs/mdast-util-gfm.mjs +2393 -0
- package/dist/_chunks/libs/mdast-util-to-hast.mjs +1803 -0
- package/dist/_chunks/libs/micromark-extension-gfm.mjs +2243 -0
- package/dist/_chunks/libs/mnemonist.d.mts +254 -0
- package/dist/_chunks/libs/mnemonist.mjs +1978 -0
- package/dist/_chunks/libs/natural-compare-lite.mjs +42 -0
- package/dist/_chunks/libs/rehype-sanitize.mjs +29 -0
- package/dist/_chunks/libs/rehype-stringify.mjs +34 -0
- package/dist/_chunks/libs/remark-gfm.mjs +36 -0
- package/dist/_chunks/libs/remark-github-blockquote-alert.mjs +100 -0
- package/dist/_chunks/libs/remark-parse.mjs +39 -0
- package/dist/_chunks/libs/remark-rehype.mjs +171 -0
- package/dist/_chunks/libs/remeda.mjs +702 -0
- package/dist/_chunks/libs/trough.mjs +158 -0
- package/dist/_chunks/libs/unified.mjs +2212 -0
- package/dist/_chunks/mnemonist.d.mts +1 -0
- package/dist/_chunks/mnemonist.mjs +0 -0
- package/dist/_chunks/model.mjs +1898 -0
- package/dist/_chunks/model2.mjs +0 -0
- package/dist/_chunks/relationships-view.mjs +132 -0
- package/dist/_chunks/rolldown-runtime.mjs +42 -0
- package/dist/{shared/core.C_3y3eqV.d.mts → _chunks/scalar.d.mts} +13 -43
- package/dist/_chunks/scalar.mjs +84 -0
- package/dist/_chunks/utils.mjs +483 -0
- package/dist/builder/index.d.mts +11 -773
- package/dist/builder/index.mjs +631 -978
- package/dist/compute-view/index.d.mts +90 -27
- package/dist/compute-view/index.mjs +253 -83
- package/dist/compute-view/relationships-view/index.d.mts +16 -51
- package/dist/compute-view/relationships-view/index.mjs +6 -184
- package/dist/geometry/index.d.mts +2 -109
- package/dist/geometry/index.mjs +2 -327
- package/dist/index.d.mts +18 -20
- package/dist/index.mjs +27 -18
- package/dist/model/connection/deployment/index.d.mts +12 -15
- package/dist/model/connection/deployment/index.mjs +9 -2
- package/dist/model/connection/index.d.mts +14 -75
- package/dist/model/connection/index.mjs +10 -3
- package/dist/model/connection/model/index.d.mts +12 -15
- package/dist/model/connection/model/index.mjs +8 -2
- package/dist/model/index.d.mts +15 -57
- package/dist/model/index.mjs +11 -4
- package/dist/styles/index.d.mts +9 -117
- package/dist/styles/index.mjs +26 -59
- package/dist/types/RichText.d.mts +3 -0
- package/dist/types/RichText.mjs +7 -0
- package/dist/types/_aux.d.mts +3 -4
- package/dist/types/_aux.mjs +2 -7
- package/dist/types/expression-model.d.mts +6 -190
- package/dist/types/expression-model.mjs +6 -108
- package/dist/types/expression.d.mts +5 -6
- package/dist/types/expression.mjs +6 -112
- package/dist/types/fqnRef.d.mts +4 -60
- package/dist/types/fqnRef.mjs +6 -44
- package/dist/types/index.d.mts +9 -47
- package/dist/types/index.mjs +14 -16
- package/dist/types/scalar.d.mts +2 -2
- package/dist/types/scalar.mjs +7 -4
- package/dist/utils/graphology/index.d.mts +2 -1864
- package/dist/utils/graphology/index.mjs +3 -1
- package/dist/utils/index.d.mts +11 -124
- package/dist/utils/index.mjs +16 -43
- package/dist/utils/iterable/index.d.mts +9 -132
- package/dist/utils/iterable/index.mjs +2 -61
- package/dist/utils/mnemonist.d.mts +2 -0
- package/dist/utils/mnemonist.mjs +12 -0
- package/package.json +18 -22
- package/compute-view/relationships/package.json +0 -4
- package/dist/shared/core.3ZhnKAlZ.mjs +0 -106
- package/dist/shared/core.78IWAHAE.mjs +0 -332
- package/dist/shared/core.B85MJLTf.mjs +0 -5
- package/dist/shared/core.BFd1lU9R.mjs +0 -29
- package/dist/shared/core.BKlholso.mjs +0 -3
- package/dist/shared/core.BPGOjone.d.mts +0 -46
- package/dist/shared/core.BYdtmqY5.mjs +0 -1255
- package/dist/shared/core.BZCgljZd.d.mts +0 -83
- package/dist/shared/core.BbE4y-yl.mjs +0 -177
- package/dist/shared/core.BhNcrwzK.mjs +0 -7
- package/dist/shared/core.BkVA6gjl.mjs +0 -5
- package/dist/shared/core.BoYfZOBm.mjs +0 -3
- package/dist/shared/core.BsSXS-_R.mjs +0 -7
- package/dist/shared/core.BspBF3SJ.mjs +0 -3944
- package/dist/shared/core.BvPm_-u3.d.mts +0 -334
- package/dist/shared/core.C-Jdx7xo.d.mts +0 -1263
- package/dist/shared/core.C3JowhaZ.mjs +0 -32
- package/dist/shared/core.C4x8aaWa.mjs +0 -27
- package/dist/shared/core.CBLX4mT8.mjs +0 -28411
- package/dist/shared/core.CLSZtnFh.mjs +0 -69
- package/dist/shared/core.CRhT4Iio.mjs +0 -785
- package/dist/shared/core.CbT8JVYL.mjs +0 -5
- package/dist/shared/core.CdNCAwq7.mjs +0 -176
- package/dist/shared/core.ClTP6-TN.d.mts +0 -87
- package/dist/shared/core.CmGY9blO.mjs +0 -6717
- package/dist/shared/core.CmPXpJ8l.mjs +0 -21
- package/dist/shared/core.Coi_LOUZ.mjs +0 -7
- package/dist/shared/core.CqAJJpK_.mjs +0 -3
- package/dist/shared/core.Ctj2S3bD.d.mts +0 -466
- package/dist/shared/core.CywrQs86.d.mts +0 -31
- package/dist/shared/core.D00YbOhQ.d.mts +0 -300
- package/dist/shared/core.D0WZutNd.mjs +0 -94
- package/dist/shared/core.D4npX2q8.mjs +0 -18
- package/dist/shared/core.DB0Ue5Wx.d.mts +0 -70
- package/dist/shared/core.DEK-BO3_.mjs +0 -1206
- package/dist/shared/core.DH7TXqXf.mjs +0 -136
- package/dist/shared/core.DRJma0Ol.mjs +0 -22
- package/dist/shared/core.DSalPD6v.mjs +0 -1352
- package/dist/shared/core.DVfPJPJj.mjs +0 -2200
- package/dist/shared/core.DXhDWKFZ.d.mts +0 -3
- package/dist/shared/core.DbfO90vF.mjs +0 -434
- package/dist/shared/core.DcS-0zys.mjs +0 -10
- package/dist/shared/core.DeDCYTDR.d.mts +0 -98
- package/dist/shared/core.DpKY_3NF.d.mts +0 -504
- package/dist/shared/core.Dt0v3djy.d.mts +0 -41
- package/dist/shared/core.FZ305VYd.mjs +0 -21
- package/dist/shared/core.RfnaEmgA.mjs +0 -7
- package/dist/shared/core.oSV6SRfk.mjs +0 -13
- package/dist/shared/core.om36dXXW.mjs +0 -41
- package/dist/shared/core.q10OP9oJ.mjs +0 -5
- package/dist/shared/core.uFk_o9X6.mjs +0 -13
- package/dist/shared/core.xeuDd__E.mjs +0 -300
- package/dist/shared/core.xgoPk2RG.mjs +0 -4989
package/dist/types/fqnRef.mjs
CHANGED
|
@@ -1,45 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import "../_chunks/libs/natural-compare-lite.mjs";
|
|
2
|
+
import "../_chunks/libs/graphology-dag.mjs";
|
|
3
|
+
import "../_chunks/libs/defu.mjs";
|
|
4
|
+
import "../_chunks/libs/extend.mjs";
|
|
5
|
+
import { t as FqnRef } from "../_chunks/fqnRef.mjs";
|
|
3
6
|
|
|
4
|
-
|
|
5
|
-
((FqnRef2) => {
|
|
6
|
-
function isElementRef(ref) {
|
|
7
|
-
return "model" in ref && !("project" in ref);
|
|
8
|
-
}
|
|
9
|
-
FqnRef2.isElementRef = isElementRef;
|
|
10
|
-
function isImportRef(ref) {
|
|
11
|
-
return "project" in ref && "model" in ref;
|
|
12
|
-
}
|
|
13
|
-
FqnRef2.isImportRef = isImportRef;
|
|
14
|
-
function flatten(ref) {
|
|
15
|
-
if (e(ref)) {
|
|
16
|
-
throw new Error(`Expected FqnRef, got: "${ref}"`);
|
|
17
|
-
}
|
|
18
|
-
if (isImportRef(ref)) {
|
|
19
|
-
return GlobalFqn(ref.project, ref.model);
|
|
20
|
-
}
|
|
21
|
-
if (isElementRef(ref)) {
|
|
22
|
-
return ref.model;
|
|
23
|
-
}
|
|
24
|
-
throw new Error("Expected FqnRef.ModelRef or FqnRef.ImportRef");
|
|
25
|
-
}
|
|
26
|
-
FqnRef2.flatten = flatten;
|
|
27
|
-
function isModelRef(ref) {
|
|
28
|
-
return isElementRef(ref) || isImportRef(ref);
|
|
29
|
-
}
|
|
30
|
-
FqnRef2.isModelRef = isModelRef;
|
|
31
|
-
function isInsideInstanceRef(ref) {
|
|
32
|
-
return "deployment" in ref && "element" in ref;
|
|
33
|
-
}
|
|
34
|
-
FqnRef2.isInsideInstanceRef = isInsideInstanceRef;
|
|
35
|
-
function isDeploymentElementRef(ref) {
|
|
36
|
-
return "deployment" in ref && !("element" in ref);
|
|
37
|
-
}
|
|
38
|
-
FqnRef2.isDeploymentElementRef = isDeploymentElementRef;
|
|
39
|
-
function isDeploymentRef(ref) {
|
|
40
|
-
return isDeploymentElementRef(ref) || isInsideInstanceRef(ref);
|
|
41
|
-
}
|
|
42
|
-
FqnRef2.isDeploymentRef = isDeploymentRef;
|
|
43
|
-
})(FqnRef || (FqnRef = {}));
|
|
44
|
-
|
|
45
|
-
export { FqnRef };
|
|
7
|
+
export { FqnRef };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,47 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { B as BorderStyle,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
export {
|
|
10
|
-
import { L as LayoutedView } from '../shared/core.Ctj2S3bD.mjs';
|
|
11
|
-
export { t as AnyView, o as AuxFromDump, A as AuxFromLikeC4ModelData, C as ComputedLikeC4ModelData, r as ComputedView, e as DeployedInstance, f as DeploymentElement, g as DeploymentElementRef, D as DeploymentNode, k as DeploymentRelation, j as DeploymentRelationship, Y as DeploymentViewExcludePredicate, X as DeploymentViewIncludePredicate, Z as DeploymentViewPredicate, $ as DeploymentViewRule, _ as DeploymentViewRuleStyle, K as DiagramEdge, W as DiagramEdgeDriftReason, J as DiagramNode, U as DiagramNodeDriftReason, M as LayoutType, O as LayoutedDeploymentView, Q as LayoutedDynamicView, N as LayoutedElementView, c as LayoutedLikeC4ModelData, T as LayoutedViewDriftReason, d as LikeC4ModelData, m as LikeC4ModelDump, p as LikeC4View, a0 as ParsedDeploymentView, P as ParsedLikeC4ModelData, p as ParsedView, s as ProcessedView, n as ProjectDump, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, l as SpecTypesFromDump, S as SpecificationDump, V as ViewManualLayoutSnapshot, u as ViewOnStage, w as ViewRule, x as ViewRulePredicate, v as ViewWithType, B as isComputedView, h as isDeployedInstance, i as isDeploymentNode, H as isDeploymentView, q as isDiagramView, I as isDynamicView, E as isElementView, G as isExtendsElementView, q as isLayoutedView, F as isScopedElementView, y as isViewRulePredicate, z as isViewRuleStyle } from '../shared/core.Ctj2S3bD.mjs';
|
|
12
|
-
import { F as Fqn, D as DeploymentFqn } from '../shared/core.C_3y3eqV.mjs';
|
|
13
|
-
export { A as AnyFqn, B as BuiltInIcon, b as DeploymentKind, k as EdgeId, E as ElementKind, e as GlobalFqn, G as GroupElementKind, I as Icon, a as IconUrl, M as MarkdownOrString, j as NodeId, N as NoneIcon, P as ProjectId, d as RelationId, R as RelationKind, c as RelationshipKind, l as StepEdgeId, S as StepEdgeIdLiteral, n as StepEdgeKind, T as Tag, V as ViewId, p as extractStep, f as flattenMarkdownOrString, g as isGlobalFqn, i as isGroupElementKind, o as isStepEdgeId, s as scalar, h as splitGlobalFqn, m as stepEdgeId } from '../shared/core.C_3y3eqV.mjs';
|
|
14
|
-
export { B as BBox, P as Point, R as RectBox, X as XYPoint } from '../shared/core.BPGOjone.mjs';
|
|
15
|
-
export { Vector, VectorValue, vector } from '../geometry/index.mjs';
|
|
16
|
-
import 'type-fest';
|
|
17
|
-
|
|
18
|
-
declare namespace ViewChange {
|
|
19
|
-
interface ChangeElementStyle {
|
|
20
|
-
op: 'change-element-style';
|
|
21
|
-
style: {
|
|
22
|
-
border?: BorderStyle;
|
|
23
|
-
opacity?: number;
|
|
24
|
-
shape?: ElementShape;
|
|
25
|
-
color?: ThemeColor;
|
|
26
|
-
};
|
|
27
|
-
targets: NonEmptyArray<Fqn | DeploymentFqn>;
|
|
28
|
-
}
|
|
29
|
-
interface SaveViewSnapshot {
|
|
30
|
-
op: 'save-view-snapshot';
|
|
31
|
-
layout: LayoutedView;
|
|
32
|
-
}
|
|
33
|
-
interface ResetManualLayout {
|
|
34
|
-
op: 'reset-manual-layout';
|
|
35
|
-
}
|
|
36
|
-
interface ChangeAutoLayout {
|
|
37
|
-
op: 'change-autolayout';
|
|
38
|
-
layout: {
|
|
39
|
-
direction: AutoLayoutDirection;
|
|
40
|
-
nodeSep?: number | null;
|
|
41
|
-
rankSep?: number | null;
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
type ViewChange = ViewChange.ChangeElementStyle | ViewChange.SaveViewSnapshot | ViewChange.ResetManualLayout | ViewChange.ChangeAutoLayout;
|
|
46
|
-
|
|
47
|
-
export { AutoLayoutDirection, BorderStyle, DeploymentFqn, LayoutedView as DiagramView, ElementShape, Fqn, LayoutedView, NonEmptyArray, ThemeColor, ViewChange };
|
|
1
|
+
import { Ct as NTuple, Dt as ReorderedArray, Et as Predicate, F as SpecAux, G as Unknown, J as UnknownParsed, K as UnknownComputed, Ot as exact, St as Link, Tt as NonEmptyReadonlyArray, _t as Coalesce, at as preferSummary, b as LooseLiteral, bt as IteratorLike, c as Aux, dt as ExtractOnStage, ft as ModelStage, gt as isOnStage, ht as _type, i as AnyLayouted, it as preferDescription, mt as _stage, n as Any, o as AnyParsed, pt as _layout, q as UnknownLayouted, r as AnyComputed, rt as _aux_d_exports, vt as ExclusiveUnion, wt as NonEmptyArray, xt as KeysOf, yt as IterableContainer } from "../_chunks/_aux.mjs";
|
|
2
|
+
import { A as splitGlobalFqn, C as ViewId, D as isGroupElementKind, E as isGlobalFqn, O as isStepEdgeId, S as Tag, T as flattenMarkdownOrString, _ as RelationKind, a as EdgeId, b as StepEdgeIdLiteral, c as GlobalFqn, d as IconUrl, f as MarkdownOrString, g as RelationId, h as ProjectId, i as DeploymentKind, j as stepEdgeId, k as scalar_d_exports, l as GroupElementKind, m as NoneIcon, n as BuiltInIcon, o as ElementKind, p as NodeId, r as DeploymentFqn, s as Fqn, t as AnyFqn, u as Icon, v as RelationshipKind, w as extractStep, x as StepEdgeKind, y as StepEdgeId } from "../_chunks/scalar.mjs";
|
|
3
|
+
import { a as Point, i as BBox, n as VectorValue, o as RectBox, r as vector, s as XYPoint, t as Vector } from "../_chunks/index.mjs";
|
|
4
|
+
import { $ as ThemeColors, A as HexColor, B as ShapeSize, C as BorderStyle, D as CustomColorDefinitions, E as CustomColor, F as LikeC4Theme, G as ThemeColorValues, H as SpacingSize, I as RelationshipArrowType, J as BorderStyles, K as isCustomColor, L as RelationshipArrowTypes, M as IconSize, N as LikeC4StyleDefaults, O as ElementColorValues, P as LikeC4StylesConfig, Q as Sizes, R as RelationshipColorValues, S as whereOperatorAsPredicate, T as ColorLiteral, U as TextSize, V as Size, W as ThemeColor, X as ElementShapes, Z as IconPositions, _ as isKindEqual, a as AndOperator, b as isParticipantOperator, c as KindEqual, d as OrOperator, f as Participant, g as isAndOperator, h as WhereOperator, i as RelationExpr, j as IconPosition, k as ElementShape, l as NotOperator, m as TagEqual, n as FqnExpr, o as EqualOperator, p as ParticipantOperator, q as isThemeColor, r as PredicateSelector, s as Filterable, t as Expression, u as OperatorPredicate, v as isNotOperator, w as Color, x as isTagEqual, y as isOrOperator, z as RelationshipLineType } from "../_chunks/expression.mjs";
|
|
5
|
+
import { t as FqnRef } from "../_chunks/fqnRef.mjs";
|
|
6
|
+
import { n as ModelFqnExpr, r as ModelRelationExpr, t as ModelExpression } from "../_chunks/expression-model.mjs";
|
|
7
|
+
import { $ as LikeC4Project, $t as AnyIncludePredicate, A as DeploymentViewExcludePredicate, At as DynamicStep, B as LayoutedDynamicView, Bt as isDynamicStepsParallel, C as isDiagramView, Ct as ensureSizes, D as isScopedElementView, Dt as GlobalStyleID, E as isExtendsElementView, Et as GlobalPredicates, F as ParsedDeploymentView, Ft as DynamicViewRule, G as ViewManualLayoutSnapshot, Gt as ElementViewRule, H as DiagramEdgeDriftReason, Ht as ElementViewExcludePredicate, I as DiagramEdge, It as DynamicViewStep, J as ComputedEdge, Jt as ElementViewRuleStyle, K as ComputedDeploymentView, Kt as ElementViewRuleGroup, L as DiagramNode, Lt as ParsedDynamicView, M as DeploymentViewPredicate, Mt as DynamicStepsSeries, N as DeploymentViewRule, Nt as DynamicViewDisplayVariant, O as isViewRulePredicate, Ot as GlobalStyles, P as DeploymentViewRuleStyle, Pt as DynamicViewIncludeRule, Q as ComputedRankConstraint, Qt as AnyExcludePredicate, R as LayoutType, Rt as getParallelStepsPrefix, S as isDeploymentView, St as Relationship, T as isElementView, Tt as GlobalPredicateId, U as DiagramNodeDriftReason, Ut as ElementViewIncludePredicate, V as LayoutedElementView, Vt as isDynamicStepsSeries, W as LayoutedViewDriftReason, Wt as ElementViewPredicate, X as ComputedNode, Xt as isViewRuleGroup, Y as ComputedElementView, Yt as ParsedElementView, Z as ComputedNodeStyle, Zt as isViewRuleRank, _ as ViewOnStage, _n as isViewRuleGlobalPredicateRef, _t as isDeploymentNode, a as SpecTypesFromDump, an as RankValue, at as ElementSpecification, b as ViewWithType, bt as ElementStyle, c as ComputedLikeC4ModelData, cn as ViewRuleAutoLayout, ct as TagSpecification, d as ParsedLikeC4ModelData, dn as ViewRuleRank, dt as DeploymentElement, en as AnyViewRuleStyle, et as LikeC4ProjectManualLayoutsConfig, f as AnyView, fn as ViewType, ft as DeploymentElementRef, g as ProcessedView, gn as isViewRuleAutoLayout, gt as isDeployedInstance, h as ParsedView, hn as isAutoLayoutDirection, ht as DeploymentRelationship, i as ProjectDump, in as NodeNotation, it as LikeC4ProjectTheme, j as DeploymentViewIncludePredicate, jt as DynamicStepsParallel, k as isViewRuleStyle, kt as ModelGlobals, l as LayoutedLikeC4ModelData, ln as ViewRuleGlobalPredicateRef, lt as isTagColorSpecified, m as LayoutedView, mn as ViewWithNotation, mt as DeploymentRelation, n as AuxFromDump, nn as BaseParsedViewProperties, nt as LikeC4ProjectStylesConfig, o as SpecificationDump, on as ViewAutoLayout, ot as RelationshipSpecification, p as ComputedView, pn as ViewWithHash, pt as DeploymentNode, q as ComputedDynamicView, qt as ElementViewRuleRank, r as LikeC4ModelDump, rn as BaseViewProperties, rt as LikeC4ProjectStylesCustomStylesheets, s as AuxFromLikeC4ModelData, sn as ViewManualLayout, st as Specification, t as ViewChange, tn as AutoLayoutDirection, tt as LikeC4ProjectStyleDefaults, u as LikeC4ModelData, un as ViewRuleGlobalStyle, ut as DeployedInstance, v as ViewRule, vn as isViewRuleGlobalStyle, vt as AbstractRelationship, w as isDynamicView, wt as GlobalDynamicPredicates, x as isComputedView, xt as ModelRelation, y as ViewRulePredicate, yt as Element, z as LayoutedDeploymentView, zt as isDynamicStep } from "../_chunks/index2.mjs";
|
|
8
|
+
import { i as RichTextOrEmpty, n as RichTextEmpty, t as RichText } from "../_chunks/RichText.mjs";
|
|
9
|
+
export { AbstractRelationship, AndOperator, Any, Any as AnyAux, AnyComputed, AnyExcludePredicate, AnyFqn, AnyIncludePredicate, AnyLayouted, AnyParsed, AnyView, AnyViewRuleStyle, AutoLayoutDirection, Aux, AuxFromDump, AuxFromLikeC4ModelData, BBox, BaseParsedViewProperties, BaseViewProperties, BorderStyle, BorderStyles, BuiltInIcon, Coalesce, Color, ColorLiteral, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4ModelData, ComputedNode, ComputedNodeStyle, ComputedRankConstraint, ComputedView, CustomColor, CustomColorDefinitions, DeployedInstance, DeploymentElement, DeploymentElementRef, DeploymentFqn, DeploymentKind, DeploymentNode, DeploymentRelation, DeploymentRelationship, DeploymentViewExcludePredicate, DeploymentViewIncludePredicate, DeploymentViewPredicate, DeploymentViewRule, DeploymentViewRuleStyle, DiagramEdge, DiagramEdgeDriftReason, DiagramNode, DiagramNodeDriftReason, LayoutedView as DiagramView, LayoutedView, DynamicStep, DynamicStepsParallel, DynamicStepsSeries, DynamicViewDisplayVariant, DynamicViewIncludeRule, DynamicViewRule, DynamicViewStep, EdgeId, Element, ElementColorValues, ElementKind, ElementShape, ElementShapes, ElementSpecification, ElementStyle, ElementViewExcludePredicate, ElementViewIncludePredicate, ElementViewPredicate, ElementViewRule, ElementViewRuleGroup, ElementViewRuleRank, ElementViewRuleStyle, EqualOperator, ExclusiveUnion, Expression, ExtractOnStage, Filterable, Fqn, FqnExpr, FqnRef, GlobalDynamicPredicates, GlobalFqn, GlobalPredicateId, GlobalPredicates, GlobalStyleID, GlobalStyles, GroupElementKind, HexColor, Icon, IconPosition, IconPositions, IconSize, IconUrl, IterableContainer, IteratorLike, KeysOf, KindEqual, LayoutType, LayoutedDeploymentView, LayoutedDynamicView, LayoutedElementView, LayoutedLikeC4ModelData, LayoutedViewDriftReason, LikeC4ModelData, LikeC4ModelDump, LikeC4Project, LikeC4ProjectManualLayoutsConfig, LikeC4ProjectStyleDefaults, LikeC4ProjectStylesConfig, LikeC4ProjectStylesCustomStylesheets, LikeC4ProjectTheme, LikeC4StyleDefaults, LikeC4StylesConfig, LikeC4Theme, ParsedView as LikeC4View, ParsedView, Link, LooseLiteral, MarkdownOrString, ModelExpression, ModelFqnExpr, ModelGlobals, ModelRelation, ModelRelationExpr, ModelStage, NTuple, NodeId, NodeNotation, NonEmptyArray, NonEmptyReadonlyArray, NoneIcon, NotOperator, OperatorPredicate, OrOperator, ParsedDeploymentView, ParsedDynamicView, ParsedElementView, ParsedLikeC4ModelData, Participant, ParticipantOperator, Point, Predicate, PredicateSelector, ProcessedView, ProjectDump, ProjectId, RankValue, RectBox, RelationExpr, RelationId, RelationKind, Relationship, RelationshipArrowType, RelationshipArrowTypes, RelationshipColorValues, RelationshipKind, RelationshipLineType, RelationshipSpecification, ReorderedArray, RichText, RichTextEmpty, RichTextOrEmpty, ShapeSize, Size, Sizes, SpacingSize, SpecAux, SpecTypesFromDump, Specification, SpecificationDump, StepEdgeId, StepEdgeIdLiteral, StepEdgeKind, Tag, TagEqual, TagSpecification, TextSize, ThemeColor, ThemeColorValues, ThemeColors, Unknown, UnknownComputed, UnknownLayouted, UnknownParsed, Vector, VectorValue, ViewAutoLayout, ViewChange, ViewId, ViewManualLayout, ViewManualLayoutSnapshot, ViewOnStage, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRulePredicate, ViewRuleRank, ViewType, ViewWithHash, ViewWithNotation, ViewWithType, WhereOperator, XYPoint, _layout, _stage, _type, _aux_d_exports as aux, ensureSizes, exact, extractStep, flattenMarkdownOrString, getParallelStepsPrefix, isAndOperator, isAutoLayoutDirection, isComputedView, isCustomColor, isDeployedInstance, isDeploymentNode, isDeploymentView, isDiagramView, isDiagramView as isLayoutedView, isDynamicStep, isDynamicStepsParallel, isDynamicStepsSeries, isDynamicView, isElementView, isExtendsElementView, isGlobalFqn, isGroupElementKind, isKindEqual, isNotOperator, isOnStage, isOrOperator, isParticipantOperator, isScopedElementView, isStepEdgeId, isTagColorSpecified, isTagEqual, isThemeColor, isViewRuleAutoLayout, isViewRuleGlobalPredicateRef, isViewRuleGlobalStyle, isViewRuleGroup, isViewRulePredicate, isViewRuleRank, isViewRuleStyle, preferDescription, preferSummary, scalar_d_exports as scalar, splitGlobalFqn, stepEdgeId, vector, whereOperatorAsPredicate };
|
package/dist/types/index.mjs
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { A as isDeployedInstance, C as isNotOperator, D as whereOperatorAsPredicate, E as isTagEqual, F as isOnStage, I as exact, M as _layout, N as _stage, O as isTagColorSpecified, P as _type, S as isKindEqual, T as isParticipantOperator, _ as isExtendsElementView, a as isDynamicStep, b as isViewRuleStyle, c as isAutoLayoutDirection, d as isViewRuleGlobalStyle, f as isComputedView, g as isElementView, h as isDynamicView, i as getParallelStepsPrefix, j as isDeploymentNode, k as ensureSizes, l as isViewRuleAutoLayout, m as isDiagramView, n as isViewRuleGroup, o as isDynamicStepsParallel, p as isDeploymentView, r as isViewRuleRank, s as isDynamicStepsSeries, u as isViewRuleGlobalPredicateRef, v as isScopedElementView, w as isOrOperator, x as isAndOperator, y as isViewRulePredicate } from "../_chunks/LikeC4Styles.mjs";
|
|
2
|
+
import "../_chunks/libs/natural-compare-lite.mjs";
|
|
3
|
+
import "../_chunks/libs/@mantine/colors-generator.mjs";
|
|
4
|
+
import "../_chunks/libs/graphology-dag.mjs";
|
|
5
|
+
import "../_chunks/libs/defu.mjs";
|
|
6
|
+
import "../_chunks/libs/extend.mjs";
|
|
7
|
+
import { n as preferSummary, t as preferDescription } from "../_chunks/_aux.mjs";
|
|
8
|
+
import { i as RectBox, n as vector, r as BBox, t as Vector } from "../_chunks/geometry.mjs";
|
|
9
|
+
import { _ as scalar_exports, a as GroupElementKind, c as ProjectId, d as ViewId, f as extractStep, g as isStepEdgeId, h as isGroupElementKind, i as GlobalFqn, l as RelationId, m as isGlobalFqn, n as EdgeId, o as NodeId, p as flattenMarkdownOrString, r as Fqn, s as NoneIcon, t as DeploymentFqn, u as StepEdgeKind, v as splitGlobalFqn, y as stepEdgeId } from "../_chunks/scalar.mjs";
|
|
10
|
+
import { t as FqnRef } from "../_chunks/fqnRef.mjs";
|
|
11
|
+
import { n as FqnExpr, r as RelationExpr, t as Expression } from "../_chunks/expression.mjs";
|
|
12
|
+
import { n as ModelFqnExpr, r as ModelRelationExpr, t as ModelExpression } from "../_chunks/expression-model.mjs";
|
|
13
|
+
import { t as RichText } from "../_chunks/RichText.mjs";
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
const color = typeof spec === "string" ? spec : spec.color;
|
|
14
|
-
return color.startsWith("#") || color.startsWith("rgb");
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { isTagColorSpecified };
|
|
15
|
+
export { BBox, DeploymentFqn, EdgeId, Expression, Fqn, FqnExpr, FqnRef, GlobalFqn, GroupElementKind, ModelExpression, ModelFqnExpr, ModelRelationExpr, NodeId, NoneIcon, ProjectId, RectBox, RelationExpr, RelationId, RichText, StepEdgeKind, Vector, ViewId, _layout, _stage, _type, ensureSizes, exact, extractStep, flattenMarkdownOrString, getParallelStepsPrefix, isAndOperator, isAutoLayoutDirection, isComputedView, isDeployedInstance, isDeploymentNode, isDeploymentView, isDiagramView, isDiagramView as isLayoutedView, isDynamicStep, isDynamicStepsParallel, isDynamicStepsSeries, isDynamicView, isElementView, isExtendsElementView, isGlobalFqn, isGroupElementKind, isKindEqual, isNotOperator, isOnStage, isOrOperator, isParticipantOperator, isScopedElementView, isStepEdgeId, isTagColorSpecified, isTagEqual, isViewRuleAutoLayout, isViewRuleGlobalPredicateRef, isViewRuleGlobalStyle, isViewRuleGroup, isViewRulePredicate, isViewRuleRank, isViewRuleStyle, preferDescription, preferSummary, scalar_exports as scalar, splitGlobalFqn, stepEdgeId, vector, whereOperatorAsPredicate };
|
package/dist/types/scalar.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export {
|
|
1
|
+
import { A as splitGlobalFqn, C as ViewId, D as isGroupElementKind, E as isGlobalFqn, O as isStepEdgeId, S as Tag, T as flattenMarkdownOrString, _ as RelationKind, a as EdgeId, b as StepEdgeIdLiteral, c as GlobalFqn, d as IconUrl, f as MarkdownOrString, g as RelationId, h as ProjectId, i as DeploymentKind, j as stepEdgeId, l as GroupElementKind, m as NoneIcon, n as BuiltInIcon, o as ElementKind, p as NodeId, r as DeploymentFqn, s as Fqn, t as AnyFqn, u as Icon, v as RelationshipKind, w as extractStep, x as StepEdgeKind, y as StepEdgeId } from "../_chunks/scalar.mjs";
|
|
2
|
+
export { AnyFqn, BuiltInIcon, DeploymentFqn, DeploymentKind, EdgeId, ElementKind, Fqn, GlobalFqn, GroupElementKind, Icon, IconUrl, MarkdownOrString, NodeId, NoneIcon, ProjectId, RelationId, RelationKind, RelationshipKind, StepEdgeId, StepEdgeIdLiteral, StepEdgeKind, Tag, ViewId, extractStep, flattenMarkdownOrString, isGlobalFqn, isGroupElementKind, isStepEdgeId, splitGlobalFqn, stepEdgeId };
|
package/dist/types/scalar.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import "../_chunks/libs/natural-compare-lite.mjs";
|
|
2
|
+
import "../_chunks/libs/graphology-dag.mjs";
|
|
3
|
+
import "../_chunks/libs/defu.mjs";
|
|
4
|
+
import "../_chunks/libs/extend.mjs";
|
|
5
|
+
import { a as GroupElementKind, c as ProjectId, d as ViewId, f as extractStep, g as isStepEdgeId, h as isGroupElementKind, i as GlobalFqn, l as RelationId, m as isGlobalFqn, n as EdgeId, o as NodeId, p as flattenMarkdownOrString, r as Fqn, s as NoneIcon, t as DeploymentFqn, u as StepEdgeKind, v as splitGlobalFqn, y as stepEdgeId } from "../_chunks/scalar.mjs";
|
|
6
|
+
|
|
7
|
+
export { DeploymentFqn, EdgeId, Fqn, GlobalFqn, GroupElementKind, NodeId, NoneIcon, ProjectId, RelationId, StepEdgeKind, ViewId, extractStep, flattenMarkdownOrString, isGlobalFqn, isGroupElementKind, isStepEdgeId, splitGlobalFqn, stepEdgeId };
|