@likec4/core 1.48.0 → 1.50.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 (130) hide show
  1. package/dist/THIRD-PARTY-LICENSES.md +1034 -0
  2. package/dist/_chunks/Builder.view-element.mjs +2 -3284
  3. package/dist/_chunks/LikeC4Model.d.mts +21 -25
  4. package/dist/_chunks/_types.d.mts +1 -5
  5. package/dist/_chunks/_types2.d.mts +2 -4
  6. package/dist/_chunks/assignTagColors.mjs +1 -24
  7. package/dist/_chunks/geometry.mjs +1 -335
  8. package/dist/_chunks/index.d.mts +1995 -131
  9. package/dist/_chunks/index2.d.mts +153 -892
  10. package/dist/_chunks/index3.d.mts +15 -13
  11. package/dist/_chunks/index4.d.mts +229 -3
  12. package/dist/_chunks/index5.d.mts +392 -30
  13. package/dist/_chunks/libs/@mantine/colors-generator.mjs +2 -3403
  14. package/dist/_chunks/libs/@radix-ui/colors.mjs +1 -0
  15. package/dist/_chunks/libs/@ungap/structured-clone.mjs +1 -213
  16. package/dist/_chunks/libs/bail.mjs +1 -14
  17. package/dist/_chunks/libs/ccount.mjs +1 -25
  18. package/dist/_chunks/libs/character-entities-html4.mjs +1 -263
  19. package/dist/_chunks/libs/character-entities-legacy.mjs +1 -117
  20. package/dist/_chunks/libs/character-entities.mjs +2 -2136
  21. package/dist/_chunks/libs/comma-separated-tokens.mjs +1 -18
  22. package/dist/_chunks/libs/decode-named-character-reference.mjs +1 -21
  23. package/dist/_chunks/libs/defu.mjs +1 -42
  24. package/dist/_chunks/libs/devlop.mjs +1 -5
  25. package/dist/_chunks/libs/escape-string-regexp.mjs +1 -8
  26. package/dist/_chunks/libs/extend.mjs +1 -77
  27. package/dist/_chunks/libs/graphology-dag.mjs +1 -703
  28. package/dist/_chunks/libs/graphology.mjs +1 -4565
  29. package/dist/_chunks/libs/hast-util-sanitize.mjs +1 -863
  30. package/dist/_chunks/libs/hast-util-to-html.mjs +9 -2696
  31. package/dist/_chunks/libs/is-plain-obj.mjs +1 -9
  32. package/dist/_chunks/libs/longest-streak.mjs +1 -30
  33. package/dist/_chunks/libs/markdown-table.mjs +2 -290
  34. package/dist/_chunks/libs/mdast-util-find-and-replace.mjs +1 -653
  35. package/dist/_chunks/libs/mdast-util-from-markdown.mjs +3 -8522
  36. package/dist/_chunks/libs/mdast-util-gfm.mjs +15 -2393
  37. package/dist/_chunks/libs/mdast-util-to-hast.mjs +11 -1803
  38. package/dist/_chunks/libs/micromark-extension-gfm.mjs +1 -2243
  39. package/dist/_chunks/libs/mnemonist.d.mts +1 -91
  40. package/dist/_chunks/libs/mnemonist.mjs +1 -1978
  41. package/dist/_chunks/libs/natural-compare-lite.mjs +9 -42
  42. package/dist/_chunks/libs/ohash.mjs +1 -0
  43. package/dist/_chunks/libs/rehype-sanitize.mjs +1 -29
  44. package/dist/_chunks/libs/rehype-stringify.mjs +1 -34
  45. package/dist/_chunks/libs/remark-gfm.mjs +1 -36
  46. package/dist/_chunks/libs/remark-github-blockquote-alert.mjs +3 -100
  47. package/dist/_chunks/libs/remark-parse.mjs +1 -39
  48. package/dist/_chunks/libs/remark-rehype.mjs +1 -171
  49. package/dist/_chunks/libs/remeda.mjs +2 -702
  50. package/dist/_chunks/libs/trough.mjs +1 -158
  51. package/dist/_chunks/libs/unified.mjs +1 -2212
  52. package/dist/_chunks/manual-layout.mjs +1 -0
  53. package/dist/_chunks/model.mjs +4 -1898
  54. package/dist/_chunks/rolldown-runtime.mjs +1 -42
  55. package/dist/_chunks/types.mjs +1 -0
  56. package/dist/_chunks/utils.mjs +1 -483
  57. package/dist/builder/index.d.mts +3 -6
  58. package/dist/builder/index.mjs +1 -662
  59. package/dist/compute-view/index.d.mts +85 -13
  60. package/dist/compute-view/index.mjs +2 -262
  61. package/dist/geometry/index.d.mts +2 -2
  62. package/dist/geometry/index.mjs +1 -3
  63. package/dist/index.d.mts +7 -13
  64. package/dist/index.mjs +1 -27
  65. package/dist/model/index.d.mts +4 -11
  66. package/dist/model/index.mjs +1 -11
  67. package/dist/styles/index.d.mts +2 -7
  68. package/dist/styles/index.mjs +1 -30
  69. package/dist/types/index.d.mts +3 -9
  70. package/dist/types/index.mjs +1 -15
  71. package/dist/utils/graphology/index.d.mts +1 -1
  72. package/dist/utils/graphology/index.mjs +1 -3
  73. package/dist/utils/index.d.mts +5 -10
  74. package/dist/utils/index.mjs +1 -17
  75. package/package.json +14 -13
  76. package/dist/_chunks/LikeC4Styles.mjs +0 -691
  77. package/dist/_chunks/RichText.d.mts +0 -84
  78. package/dist/_chunks/RichText.mjs +0 -148
  79. package/dist/_chunks/_aux.d.mts +0 -289
  80. package/dist/_chunks/_aux.mjs +0 -18
  81. package/dist/_chunks/calcDriftsFromSnapshot.mjs +0 -379
  82. package/dist/_chunks/connection.mjs +0 -0
  83. package/dist/_chunks/const.d.mts +0 -43
  84. package/dist/_chunks/const.mjs +0 -33
  85. package/dist/_chunks/expression-model.d.mts +0 -192
  86. package/dist/_chunks/expression-model.mjs +0 -103
  87. package/dist/_chunks/expression.d.mts +0 -347
  88. package/dist/_chunks/expression.mjs +0 -107
  89. package/dist/_chunks/find.d.mts +0 -82
  90. package/dist/_chunks/find.mjs +0 -646
  91. package/dist/_chunks/find2.d.mts +0 -78
  92. package/dist/_chunks/find2.mjs +0 -287
  93. package/dist/_chunks/fqnRef.d.mts +0 -58
  94. package/dist/_chunks/fqnRef.mjs +0 -41
  95. package/dist/_chunks/index6.d.mts +0 -43
  96. package/dist/_chunks/index7.d.mts +0 -268
  97. package/dist/_chunks/index8.d.mts +0 -144
  98. package/dist/_chunks/invariant.mjs +0 -18
  99. package/dist/_chunks/iterable.mjs +0 -146
  100. package/dist/_chunks/libs/graphology-types.d.mts +0 -601
  101. package/dist/_chunks/libs/graphology.d.mts +0 -6
  102. package/dist/_chunks/mnemonist.mjs +0 -0
  103. package/dist/_chunks/model2.mjs +0 -0
  104. package/dist/_chunks/relationships-view.mjs +0 -132
  105. package/dist/_chunks/scalar.d.mts +0 -109
  106. package/dist/_chunks/scalar.mjs +0 -84
  107. package/dist/compute-view/relationships-view/index.d.mts +0 -16
  108. package/dist/compute-view/relationships-view/index.mjs +0 -7
  109. package/dist/model/connection/deployment/index.d.mts +0 -12
  110. package/dist/model/connection/deployment/index.mjs +0 -9
  111. package/dist/model/connection/index.d.mts +0 -14
  112. package/dist/model/connection/index.mjs +0 -10
  113. package/dist/model/connection/model/index.d.mts +0 -12
  114. package/dist/model/connection/model/index.mjs +0 -8
  115. package/dist/types/RichText.d.mts +0 -3
  116. package/dist/types/RichText.mjs +0 -7
  117. package/dist/types/_aux.d.mts +0 -3
  118. package/dist/types/_aux.mjs +0 -3
  119. package/dist/types/expression-model.d.mts +0 -6
  120. package/dist/types/expression-model.mjs +0 -7
  121. package/dist/types/expression.d.mts +0 -5
  122. package/dist/types/expression.mjs +0 -7
  123. package/dist/types/fqnRef.d.mts +0 -4
  124. package/dist/types/fqnRef.mjs +0 -7
  125. package/dist/types/scalar.d.mts +0 -2
  126. package/dist/types/scalar.mjs +0 -7
  127. package/dist/utils/iterable/index.d.mts +0 -9
  128. package/dist/utils/iterable/index.mjs +0 -3
  129. package/dist/utils/mnemonist.d.mts +0 -2
  130. package/dist/utils/mnemonist.mjs +0 -12
@@ -1,132 +0,0 @@
1
- import { Q as t } from "./libs/remeda.mjs";
2
- import { A as sortParentsFirst, C as isAncestor, w as isDescendantOf } from "./utils.mjs";
3
- import { n as nonNullable, t as invariant } from "./invariant.mjs";
4
- import { n as import_default_map } from "./libs/mnemonist.mjs";
5
- import { f as ifilter, n as toArray, o as imap, r as toSet } from "./iterable.mjs";
6
-
7
- //#region src/compute-view/relationships-view/utils.ts
8
- function treeFromElements(elements) {
9
- const sorted = sortParentsFirst([...elements]);
10
- const root = new Set(sorted);
11
- const map = new Map(sorted.map((e) => [e._literalId, e]));
12
- const parents = new import_default_map.default(() => null);
13
- const children = sorted.reduce((acc, parent, index, all) => {
14
- acc.set(parent, all.slice(index + 1).filter(isDescendantOf(parent)).map((e) => {
15
- root.delete(e);
16
- return e;
17
- }).reduce((acc, el) => {
18
- if (!acc.some(isAncestor(el))) {
19
- acc.push(el);
20
- parents.set(el, parent);
21
- }
22
- return acc;
23
- }, []));
24
- return acc;
25
- }, new import_default_map.default(() => []));
26
- return {
27
- sorted,
28
- byId: (id) => nonNullable(map.get(id), `Element not found by id: ${id}`),
29
- root,
30
- parent: (el) => parents.get(el),
31
- children: (el) => children.get(el),
32
- flatten: () => {
33
- return new Set([...root, ...sorted.reduce((acc, el) => {
34
- const _children = children.get(el);
35
- if (_children.length === 0) {
36
- acc.push(el);
37
- return acc;
38
- }
39
- if (_children.length > 1) acc.push(..._children);
40
- return acc;
41
- }, [])]);
42
- }
43
- };
44
- }
45
-
46
- //#endregion
47
- //#region src/compute-view/relationships-view/compute.ts
48
- const finalize = (elements, explicits) => {
49
- if (elements.size > 2 && explicits.size !== elements.size) return new Set(sortParentsFirst([...treeFromElements(elements).flatten(), ...explicits]));
50
- if (elements.size > 1) return new Set(sortParentsFirst([...elements]));
51
- return elements;
52
- };
53
- function computeRelationships(subject, others, relationships) {
54
- const isOther = (e) => others.has(e);
55
- let subjects = new Set([subject]);
56
- const explicits = {
57
- incomers: /* @__PURE__ */ new Set(),
58
- subjects: new Set([subject]),
59
- outgoers: /* @__PURE__ */ new Set()
60
- };
61
- let incomers = new Set(relationships.incoming.flatMap((r) => {
62
- explicits.subjects.add(r.target);
63
- explicits.incomers.add(r.source);
64
- subjects.add(r.target);
65
- if (r.target !== subject) {
66
- let target = r.target.parent;
67
- while (target && target !== subject) {
68
- subjects.add(target);
69
- target = target.parent;
70
- }
71
- }
72
- let source = r.source;
73
- const incomerBranch = [];
74
- while (true) {
75
- incomerBranch.push(source);
76
- if (isOther(source) || !source.parent) break;
77
- source = source.parent;
78
- }
79
- return incomerBranch;
80
- }));
81
- let outgoers = new Set(relationships.outgoing.flatMap((r) => {
82
- explicits.subjects.add(r.source);
83
- explicits.outgoers.add(r.target);
84
- subjects.add(r.source);
85
- if (r.source !== subject) {
86
- let source = r.source.parent;
87
- while (source && source !== subject) {
88
- subjects.add(source);
89
- source = source.parent;
90
- }
91
- }
92
- let target = r.target;
93
- const outgoerBranch = [];
94
- while (true) {
95
- outgoerBranch.push(target);
96
- if (isOther(target) || !target.parent) break;
97
- target = target.parent;
98
- }
99
- return outgoerBranch;
100
- }));
101
- return {
102
- incomers: finalize(incomers, explicits.incomers),
103
- incoming: new Set(relationships.incoming),
104
- subjects: finalize(subjects, explicits.subjects),
105
- outgoing: new Set(relationships.outgoing),
106
- outgoers: finalize(outgoers, explicits.outgoers)
107
- };
108
- }
109
- function computeRelationshipsView(subjectId, likec4model, scopeViewId, scope = "global") {
110
- const view = scopeViewId ? likec4model.findView(scopeViewId) : null;
111
- if (scope === "view") {
112
- invariant(view, "Scope view id is required when scope is \"view\"");
113
- return computeScopedRelationshipsView(subjectId, view, likec4model);
114
- }
115
- const subject = likec4model.element(subjectId);
116
- return computeRelationships(subject, toSet(subject.ascendingSiblings()), {
117
- incoming: [...subject.incoming()],
118
- outgoing: [...subject.outgoing()]
119
- });
120
- }
121
- function computeScopedRelationshipsView(subjectId, view, likec4model) {
122
- const subject = likec4model.element(subjectId);
123
- let relationships = {
124
- incoming: toArray(ifilter(subject.incoming(), (r) => view.includesRelation(r.id))),
125
- outgoing: toArray(ifilter(subject.outgoing(), (r) => view.includesRelation(r.id)))
126
- };
127
- const isDescendant = isDescendantOf(subject);
128
- return computeRelationships(subject, new Set([...subject.ascendingSiblings(), ...t(view.elements(), imap((e) => e.element), ifilter((e) => e !== subject && isDescendant(e)))]), relationships);
129
- }
130
-
131
- //#endregion
132
- export { treeFromElements as n, computeRelationshipsView as t };
@@ -1,109 +0,0 @@
1
- import { Tagged } from "type-fest";
2
-
3
- //#region src/types/scalar.d.ts
4
- declare namespace scalar_d_exports {
5
- 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 };
6
- }
7
- type ProjectId<T = string> = Tagged<T, 'ProjectID'>;
8
- declare function ProjectId(name: string): ProjectId;
9
- type MarkdownOrString = {
10
- txt: string;
11
- md?: never;
12
- } | {
13
- md: string;
14
- txt?: never;
15
- };
16
- /**
17
- * Converts a MarkdownOrString object or a plain string into a simple string representation.
18
- * This utility function handles different types of text content and normalizes them to a string format.
19
- *
20
- * @param value - The content to be flattened.
21
- * Can be one of:
22
- * - A plain string
23
- * - A MarkdownOrString object with either txt or md property
24
- * - undefined or null
25
- *
26
- * @returns The string content contained within the input value.
27
- * - Returns the input directly if it's already a string
28
- * - Returns the txt property if available in a MarkdownOrString object
29
- * - Falls back to the md property if txt is not available
30
- * - Returns null if:
31
- * - The input is null or undefined
32
- * - The resulting string value is empty, whitespace, or null
33
- *
34
- * @example
35
- * // String input
36
- * flattenMarkdownOrString("Hello world") // Returns: "Hello world"
37
- * flattenMarkdownOrString(" ") // Returns: null
38
- *
39
- * // MarkdownOrString with txt property
40
- * flattenMarkdownOrString({ txt: "Plain text" }) // Returns: "Plain text"
41
- * flattenMarkdownOrString({ txt: " " }) // Returns: null
42
- *
43
- * // MarkdownOrString with md property
44
- * flattenMarkdownOrString({ md: "**Bold markdown**" }) // Returns: "**Bold markdown**"
45
- *
46
- * // Null input
47
- * flattenMarkdownOrString(null) // Returns: null
48
- */
49
- declare function flattenMarkdownOrString(value: MarkdownOrString | string): string;
50
- declare function flattenMarkdownOrString(value: MarkdownOrString | string | undefined | null): string | null;
51
- type BuiltInIcon = 'none' | `${'aws' | 'azure' | 'gcp' | 'tech' | 'bootstrap'}:${string}`;
52
- type Icon = Tagged<string, 'Icon'> | BuiltInIcon;
53
- declare const NoneIcon: Icon;
54
- type IconUrl = Icon;
55
- /**
56
- * Full-qualified-name for model elements
57
- *
58
- * @param This - Fqn of the element (specific element)
59
- * @param All - The type of all known FQNs
60
- *
61
- * @example
62
- * ```ts
63
- * type ElementAFqn = Fqn<'a', 'a' | ' | 'b'>
64
- *
65
- * ```
66
- */
67
- type Fqn<Id = string> = Tagged<Id, 'Fqn'>;
68
- declare function Fqn(name: string, parent?: Fqn | null): Fqn;
69
- type ElementKind<Kinds = string> = Tagged<Kinds, 'ElementKind'>;
70
- declare const GroupElementKind: ElementKind<"@group">;
71
- type GroupElementKind = typeof GroupElementKind;
72
- declare function isGroupElementKind<V extends {
73
- kind?: any;
74
- }>(v: V): v is V & {
75
- kind: GroupElementKind;
76
- };
77
- /**
78
- * Full-qualified-name for deployment elements
79
- */
80
- type DeploymentFqn<T = string> = Tagged<T, 'DeploymentFqn'>;
81
- declare function DeploymentFqn(name: string, parent?: DeploymentFqn | null): DeploymentFqn;
82
- type DeploymentKind<Kinds = string> = Tagged<Kinds, 'DeploymentKind'>;
83
- type ViewId<Id = string> = Tagged<Id, 'ViewId'>;
84
- declare function ViewId(id: string): ViewId;
85
- type AnyFqn<T = string> = DeploymentFqn<T> | Fqn<T>;
86
- /**
87
- * @deprecated Use {@link RelationshipKind} instead
88
- */
89
- type RelationKind<Kinds = string> = RelationshipKind<Kinds>;
90
- type RelationshipKind<Kinds = string> = Tagged<Kinds, 'RelationshipKind'>;
91
- type RelationId<Id = string> = Tagged<Id, 'RelationId'>;
92
- declare function RelationId(id: string): RelationId;
93
- type Tag<T = string> = Tagged<T, 'Tag'>;
94
- type GlobalFqn<Id = string> = Tagged<Fqn<Id>, 'GlobalFqn'>;
95
- declare function GlobalFqn<A>(projectId: A | ProjectId<A>, name: string): GlobalFqn<A>;
96
- declare function isGlobalFqn<A extends string>(fqn: A): fqn is GlobalFqn<A>;
97
- declare function splitGlobalFqn<I extends string>(fqn: Fqn<I> | GlobalFqn<I>): [ProjectId | null, Fqn<I>];
98
- type NodeId = Tagged<string, 'NodeId' | 'Fqn' | 'DeploymentFqn'>;
99
- declare function NodeId(id: string): NodeId;
100
- type EdgeId = Tagged<string, 'EdgeId'>;
101
- declare function EdgeId(id: string): EdgeId;
102
- type StepEdgeIdLiteral = `step-${number}` | `step-${number}.${number}`;
103
- type StepEdgeId = Tagged<StepEdgeIdLiteral, 'EdgeId'>;
104
- declare function stepEdgeId(step: number, parallelStep?: number): StepEdgeId;
105
- declare const StepEdgeKind = "@step";
106
- declare function isStepEdgeId(id: string): id is StepEdgeId;
107
- declare function extractStep(id: EdgeId): number;
108
- //#endregion
109
- export { splitGlobalFqn as A, ViewId as C, isGroupElementKind as D, isGlobalFqn as E, isStepEdgeId as O, Tag as S, flattenMarkdownOrString as T, RelationKind as _, EdgeId as a, StepEdgeIdLiteral as b, GlobalFqn as c, IconUrl as d, MarkdownOrString as f, RelationId as g, ProjectId as h, DeploymentKind as i, stepEdgeId as j, scalar_d_exports as k, GroupElementKind as l, NoneIcon as m, BuiltInIcon as n, ElementKind as o, NodeId as p, DeploymentFqn as r, Fqn as s, AnyFqn as t, Icon as u, RelationshipKind as v, extractStep as w, StepEdgeKind as x, StepEdgeId as y };
@@ -1,84 +0,0 @@
1
- import { n as __exportAll } from "./rolldown-runtime.mjs";
2
- import { D as e$1, O as e } from "./libs/remeda.mjs";
3
- import { t as invariant } from "./invariant.mjs";
4
-
5
- //#region src/types/scalar.ts
6
- var scalar_exports = /* @__PURE__ */ __exportAll({
7
- DeploymentFqn: () => DeploymentFqn,
8
- EdgeId: () => EdgeId,
9
- Fqn: () => Fqn,
10
- GlobalFqn: () => GlobalFqn,
11
- GroupElementKind: () => GroupElementKind,
12
- NodeId: () => NodeId,
13
- NoneIcon: () => NoneIcon,
14
- ProjectId: () => ProjectId,
15
- RelationId: () => RelationId,
16
- StepEdgeKind: () => StepEdgeKind,
17
- ViewId: () => ViewId,
18
- extractStep: () => extractStep,
19
- flattenMarkdownOrString: () => flattenMarkdownOrString,
20
- isGlobalFqn: () => isGlobalFqn,
21
- isGroupElementKind: () => isGroupElementKind,
22
- isStepEdgeId: () => isStepEdgeId,
23
- splitGlobalFqn: () => splitGlobalFqn,
24
- stepEdgeId: () => stepEdgeId
25
- });
26
- function ProjectId(name) {
27
- return name;
28
- }
29
- function flattenMarkdownOrString(value) {
30
- if (value === null || value === void 0) return null;
31
- const content = e(value) ? value : value.txt ?? value.md;
32
- return e$1(content?.trim()) ? content : null;
33
- }
34
- const NoneIcon = "none";
35
- function Fqn(name, parent) {
36
- return parent ? parent + "." + name : name;
37
- }
38
- const GroupElementKind = "@group";
39
- function isGroupElementKind(v) {
40
- return v.kind === GroupElementKind;
41
- }
42
- function DeploymentFqn(name, parent) {
43
- return parent ? parent + "." + name : name;
44
- }
45
- function ViewId(id) {
46
- return id;
47
- }
48
- function RelationId(id) {
49
- return id;
50
- }
51
- function GlobalFqn(projectId, name) {
52
- invariant(typeof projectId === "string" && projectId != "");
53
- return "@" + projectId + "." + name;
54
- }
55
- function isGlobalFqn(fqn) {
56
- return fqn.startsWith("@");
57
- }
58
- function splitGlobalFqn(fqn) {
59
- if (!fqn.startsWith("@")) return [null, fqn];
60
- const firstDot = fqn.indexOf(".");
61
- if (firstDot < 2) throw new Error("Invalid global FQN");
62
- return [fqn.slice(1, firstDot), fqn.slice(firstDot + 1)];
63
- }
64
- function NodeId(id) {
65
- return id;
66
- }
67
- function EdgeId(id) {
68
- return id;
69
- }
70
- function stepEdgeId(step, parallelStep) {
71
- const id = `step-${String(step).padStart(2, "0")}`;
72
- return parallelStep ? `${id}.${parallelStep}` : id;
73
- }
74
- const StepEdgeKind = "@step";
75
- function isStepEdgeId(id) {
76
- return id.startsWith("step-");
77
- }
78
- function extractStep(id) {
79
- if (!isStepEdgeId(id)) throw new Error(`Invalid step edge id: ${id}`);
80
- return parseFloat(id.slice(5));
81
- }
82
-
83
- //#endregion
84
- export { scalar_exports as _, GroupElementKind as a, ProjectId as c, ViewId as d, extractStep as f, isStepEdgeId as g, isGroupElementKind as h, GlobalFqn as i, RelationId as l, isGlobalFqn as m, EdgeId as n, NodeId as o, flattenMarkdownOrString as p, Fqn as r, NoneIcon as s, DeploymentFqn as t, StepEdgeKind as u, splitGlobalFqn as v, stepEdgeId as y };
@@ -1,16 +0,0 @@
1
- import "../../_chunks/_aux.mjs";
2
- import "../../_chunks/scalar.mjs";
3
- import "../../_chunks/expression.mjs";
4
- import "../../_chunks/fqnRef.mjs";
5
- import "../../_chunks/expression-model.mjs";
6
- import "../../_chunks/index2.mjs";
7
- import "../../_chunks/RichText.mjs";
8
- import "../../_chunks/index3.mjs";
9
- import "../../_chunks/LikeC4Model.mjs";
10
- import "../../_chunks/const.mjs";
11
- import "../../_chunks/find.mjs";
12
- import "../../_chunks/find2.mjs";
13
- import "../../_chunks/index4.mjs";
14
- import "../../_chunks/index5.mjs";
15
- import { n as computeRelationshipsView, r as RelationshipsViewData, t as treeFromElements } from "../../_chunks/index6.mjs";
16
- export { RelationshipsViewData, computeRelationshipsView, treeFromElements };
@@ -1,7 +0,0 @@
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 { n as treeFromElements, t as computeRelationshipsView } from "../../_chunks/relationships-view.mjs";
6
-
7
- export { computeRelationshipsView, treeFromElements };
@@ -1,12 +0,0 @@
1
- import "../../../_chunks/_aux.mjs";
2
- import "../../../_chunks/scalar.mjs";
3
- import "../../../_chunks/expression.mjs";
4
- import "../../../_chunks/fqnRef.mjs";
5
- import "../../../_chunks/expression-model.mjs";
6
- import "../../../_chunks/index2.mjs";
7
- import "../../../_chunks/RichText.mjs";
8
- import "../../../_chunks/index3.mjs";
9
- import "../../../_chunks/LikeC4Model.mjs";
10
- import { n as Connection } from "../../../_chunks/const.mjs";
11
- import { a as DeploymentConnectionModel, n as findConnectionsBetween, r as findConnectionsWithin, t as findConnection } from "../../../_chunks/find.mjs";
12
- export { Connection, DeploymentConnectionModel, findConnection, findConnectionsBetween, findConnectionsWithin };
@@ -1,9 +0,0 @@
1
- import "../../../_chunks/libs/natural-compare-lite.mjs";
2
- import "../../../_chunks/libs/@mantine/colors-generator.mjs";
3
- import "../../../_chunks/libs/graphology-dag.mjs";
4
- import "../../../_chunks/libs/defu.mjs";
5
- import "../../../_chunks/libs/extend.mjs";
6
- import { a as DeploymentConnectionModel, n as findConnectionsBetween, r as findConnectionsWithin, t as findConnection } from "../../../_chunks/find.mjs";
7
- import { n as Connection } from "../../../_chunks/const.mjs";
8
-
9
- export { Connection, DeploymentConnectionModel, findConnection, findConnectionsBetween, findConnectionsWithin };
@@ -1,14 +0,0 @@
1
- import "../../_chunks/_aux.mjs";
2
- import "../../_chunks/scalar.mjs";
3
- import "../../_chunks/expression.mjs";
4
- import "../../_chunks/fqnRef.mjs";
5
- import "../../_chunks/expression-model.mjs";
6
- import "../../_chunks/index2.mjs";
7
- import "../../_chunks/RichText.mjs";
8
- import "../../_chunks/index3.mjs";
9
- import "../../_chunks/LikeC4Model.mjs";
10
- import { n as Connection } from "../../_chunks/const.mjs";
11
- import { a as DeploymentConnectionModel, i as find_d_exports } from "../../_chunks/find.mjs";
12
- import { a as ConnectionModel, i as find_d_exports$1 } from "../../_chunks/find2.mjs";
13
- import { a as hasSameSource, c as isAnyInOut, d as isOutgoing, f as mergeConnections, i as findDescendantConnections, l as isIncoming, m as sortDeepestFirst, n as findAscendingConnections, o as hasSameSourceTarget, p as sortConnectionsByBoundaryHierarchy, r as findDeepestNestedConnection, s as hasSameTarget, t as differenceConnections, u as isNestedConnection } from "../../_chunks/index4.mjs";
14
- export { Connection, ConnectionModel, DeploymentConnectionModel, find_d_exports as deployment, differenceConnections, findAscendingConnections, findDeepestNestedConnection, findDescendantConnections, hasSameSource, hasSameSourceTarget, hasSameTarget, isAnyInOut, isIncoming, isNestedConnection, isOutgoing, mergeConnections, find_d_exports$1 as model, sortConnectionsByBoundaryHierarchy, sortDeepestFirst };
@@ -1,10 +0,0 @@
1
- import "../../_chunks/libs/natural-compare-lite.mjs";
2
- import "../../_chunks/libs/@mantine/colors-generator.mjs";
3
- import "../../_chunks/libs/graphology-dag.mjs";
4
- import "../../_chunks/libs/defu.mjs";
5
- import "../../_chunks/libs/extend.mjs";
6
- import { a as DeploymentConnectionModel, i as find_exports } from "../../_chunks/find.mjs";
7
- import { n as Connection } from "../../_chunks/const.mjs";
8
- import { _ as mergeConnections, a as ConnectionModel, c as findDeepestNestedConnection, d as hasSameSourceTarget, f as hasSameTarget, g as isOutgoing, h as isNestedConnection, i as find_exports$1, l as findDescendantConnections, m as isIncoming, o as differenceConnections, p as isAnyInOut, s as findAscendingConnections, u as hasSameSource, v as sortConnectionsByBoundaryHierarchy, y as sortDeepestFirst } from "../../_chunks/find2.mjs";
9
-
10
- export { Connection, ConnectionModel, DeploymentConnectionModel, find_exports as deployment, differenceConnections, findAscendingConnections, findDeepestNestedConnection, findDescendantConnections, hasSameSource, hasSameSourceTarget, hasSameTarget, isAnyInOut, isIncoming, isNestedConnection, isOutgoing, mergeConnections, find_exports$1 as model, sortConnectionsByBoundaryHierarchy, sortDeepestFirst };
@@ -1,12 +0,0 @@
1
- import "../../../_chunks/_aux.mjs";
2
- import "../../../_chunks/scalar.mjs";
3
- import "../../../_chunks/expression.mjs";
4
- import "../../../_chunks/fqnRef.mjs";
5
- import "../../../_chunks/expression-model.mjs";
6
- import "../../../_chunks/index2.mjs";
7
- import "../../../_chunks/RichText.mjs";
8
- import "../../../_chunks/index3.mjs";
9
- import "../../../_chunks/LikeC4Model.mjs";
10
- import { n as Connection } from "../../../_chunks/const.mjs";
11
- import { a as ConnectionModel, n as findConnectionsBetween, r as findConnectionsWithin, t as findConnection } from "../../../_chunks/find2.mjs";
12
- export { Connection, ConnectionModel, findConnection, findConnectionsBetween, findConnectionsWithin };
@@ -1,8 +0,0 @@
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 { n as Connection } from "../../../_chunks/const.mjs";
6
- import { a as ConnectionModel, n as findConnectionsBetween, r as findConnectionsWithin, t as findConnection } from "../../../_chunks/find2.mjs";
7
-
8
- export { Connection, ConnectionModel, findConnection, findConnectionsBetween, findConnectionsWithin };
@@ -1,3 +0,0 @@
1
- import "../_chunks/scalar.mjs";
2
- import { i as RichTextOrEmpty, n as RichTextEmpty, r as RichTextNonEmpty, t as RichText } from "../_chunks/RichText.mjs";
3
- export { RichText, RichTextEmpty, RichTextNonEmpty, RichTextOrEmpty };
@@ -1,7 +0,0 @@
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 RichText } from "../_chunks/RichText.mjs";
6
-
7
- export { RichText };
@@ -1,3 +0,0 @@
1
- import { $ as WithNotation, A as PickByStage, B as StrictRelationKind, C as LooseTags, D as Never, E as MetadataKey, F as SpecAux, G as Unknown, H as StrictViewId, I as Stage, J as UnknownParsed, K as UnknownComputed, L as StrictDeploymentKind, M as RelationId, N as RelationKind, O as NodeId, P as Spec, Q as WithMetadata, R as StrictElementKind, S as LooseTag, T as Metadata, U as Tag, V as StrictTag, W as Tags, X as WithDescriptionAndTech, Y as ViewId, Z as WithLinks, _ as LooseDeploymentKind, a as AnyOnStage, at as preferSummary, b as LooseLiteral, c as Aux, ct as toComputed, d as DeploymentKind, et as WithOptionalLinks, f as EdgeId, g as LooseDeploymentId, h as Fqn, i as AnyLayouted, it as preferDescription, j as ProjectId, k as OrString, l as DeploymentFqn, lt as toLayouted, m as ElementKind, n as Any, nt as WithTags, o as AnyParsed, ot as setProject, p as ElementId, q as UnknownLayouted, r as AnyComputed, s as AnySpec, st as setStage, t as AllKinds, tt as WithOptionalTags, u as DeploymentId, ut as toParsed, v as LooseElementId, w as LooseViewId, x as LooseRelationKind, y as LooseElementKind, z as StrictProjectId } from "../_chunks/_aux.mjs";
2
- import "../_chunks/scalar.mjs";
3
- export { AllKinds, Any, Any as AnyAux, AnyComputed, AnyLayouted, AnyOnStage, AnyParsed, AnySpec, Aux, DeploymentFqn, DeploymentFqn as StrictDeploymentFqn, DeploymentId, DeploymentKind, EdgeId, ElementId, ElementKind, Fqn, Fqn as StrictFqn, LooseDeploymentId, LooseDeploymentKind, LooseElementId, LooseElementKind, LooseLiteral, LooseRelationKind, LooseTag, LooseTags, LooseViewId, Metadata, MetadataKey, Never, NodeId, OrString, PickByStage, ProjectId, RelationId, RelationKind, Spec, SpecAux, Stage, StrictDeploymentKind, StrictElementKind, StrictProjectId, StrictRelationKind, StrictTag, StrictViewId, Tag, Tags, Unknown, UnknownComputed, UnknownLayouted, UnknownParsed, ViewId, WithDescriptionAndTech, WithLinks, WithMetadata, WithNotation, WithOptionalLinks, WithOptionalTags, WithTags, preferDescription, preferSummary, setProject, setStage, toComputed, toLayouted, toParsed };
@@ -1,3 +0,0 @@
1
- import { n as preferSummary, t as preferDescription } from "../_chunks/_aux.mjs";
2
-
3
- export { preferDescription, preferSummary };
@@ -1,6 +0,0 @@
1
- import "../_chunks/_aux.mjs";
2
- import "../_chunks/scalar.mjs";
3
- import "../_chunks/expression.mjs";
4
- import "../_chunks/fqnRef.mjs";
5
- import { n as ModelFqnExpr, r as ModelRelationExpr, t as ModelExpression } from "../_chunks/expression-model.mjs";
6
- export { ModelExpression, ModelFqnExpr, ModelRelationExpr };
@@ -1,7 +0,0 @@
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 { n as ModelFqnExpr, r as ModelRelationExpr, t as ModelExpression } from "../_chunks/expression-model.mjs";
6
-
7
- export { ModelExpression, ModelFqnExpr, ModelRelationExpr };
@@ -1,5 +0,0 @@
1
- import "../_chunks/_aux.mjs";
2
- import "../_chunks/scalar.mjs";
3
- import { i as RelationExpr, n as FqnExpr, r as PredicateSelector, t as Expression } from "../_chunks/expression.mjs";
4
- import "../_chunks/fqnRef.mjs";
5
- export { Expression, FqnExpr, PredicateSelector, RelationExpr };
@@ -1,7 +0,0 @@
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 { n as FqnExpr, r as RelationExpr, t as Expression } from "../_chunks/expression.mjs";
6
-
7
- export { Expression, FqnExpr, RelationExpr };
@@ -1,4 +0,0 @@
1
- import "../_chunks/_aux.mjs";
2
- import "../_chunks/scalar.mjs";
3
- import { t as FqnRef } from "../_chunks/fqnRef.mjs";
4
- export { FqnRef };
@@ -1,7 +0,0 @@
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";
6
-
7
- export { FqnRef };
@@ -1,2 +0,0 @@
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 };
@@ -1,7 +0,0 @@
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 };
@@ -1,9 +0,0 @@
1
- import "../../_chunks/_aux.mjs";
2
- import "../../_chunks/scalar.mjs";
3
- import "../../_chunks/expression.mjs";
4
- import "../../_chunks/fqnRef.mjs";
5
- import "../../_chunks/expression-model.mjs";
6
- import "../../_chunks/index2.mjs";
7
- import "../../_chunks/RichText.mjs";
8
- import { a as ireduce, c as iflatMap, d as ifind, f as ifilter, i as isome, l as iflat, n as toArray, o as imap, p as isIterable, r as toSet, s as ihead, t as iunique, u as ifirst } from "../../_chunks/index8.mjs";
9
- export { ifilter, ifind, ifirst, iflat, iflatMap, ihead, imap, ireduce, isIterable, isome, iunique, toArray, toSet };
@@ -1,3 +0,0 @@
1
- import { a as ireduce, c as iflatMap, d as ifind, f as ifilter, i as isome, l as iflat, n as toArray, o as imap, p as isIterable, r as toSet, s as ihead, t as iunique, u as ifirst } from "../../_chunks/iterable.mjs";
2
-
3
- export { ifilter, ifind, ifirst, iflat, iflatMap, ihead, imap, ireduce, isIterable, isome, iunique, toArray, toSet };
@@ -1,2 +0,0 @@
1
- import { a as Queue, c as DefaultMap, i as MultiMap, n as BiMap, o as LinkedList, r as Stack, s as DefaultWeakMap, t as LRUMap } from "../_chunks/libs/mnemonist.mjs";
2
- export { BiMap, DefaultMap, DefaultWeakMap, LRUMap, LinkedList, MultiMap, Queue, Stack };
@@ -1,12 +0,0 @@
1
- import "../_chunks/libs/graphology-dag.mjs";
2
- import { a as import_lru_map, i as import_linked_list, l as import_stack, n as import_default_map, o as import_multi_map, r as import_default_weak_map, s as import_queue, t as import_bi_map } from "../_chunks/libs/mnemonist.mjs";
3
-
4
- var BiMap = import_bi_map.default;
5
- var DefaultMap = import_default_map.default;
6
- var DefaultWeakMap = import_default_weak_map.default;
7
- var LRUMap = import_lru_map.default;
8
- var LinkedList = import_linked_list.default;
9
- var MultiMap = import_multi_map.default;
10
- var Queue = import_queue.default;
11
- var Stack = import_stack.default;
12
- export { BiMap, DefaultMap, DefaultWeakMap, LRUMap, LinkedList, MultiMap, Queue, Stack };