@likec4/language-server 1.48.0 → 1.49.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 (78) hide show
  1. package/browser/package.json +2 -2
  2. package/browser-worker/package.json +2 -2
  3. package/dist/THIRD-PARTY-LICENSES.md +178 -0
  4. package/dist/_chunks/ConfigurableLayouter.mjs +1 -1956
  5. package/dist/_chunks/LikeC4FileSystem.mjs +3 -0
  6. package/dist/_chunks/LikeC4Views.mjs +34 -0
  7. package/dist/_chunks/ProjectsManager.mjs +1 -0
  8. package/dist/_chunks/WithMCPServer.mjs +481 -0
  9. package/dist/_chunks/icons.mjs +2 -5211
  10. package/dist/_chunks/{LikeC4LanguageServices.d.mts → index.d.mts} +1836 -707
  11. package/dist/_chunks/libs/@msgpack/msgpack.mjs +1 -805
  12. package/dist/_chunks/libs/eventemitter3.mjs +1 -243
  13. package/dist/_chunks/libs/fast-equals.mjs +1 -446
  14. package/dist/_chunks/libs/p-queue.mjs +1 -449
  15. package/dist/_chunks/libs/parse-ms.mjs +1 -36
  16. package/dist/_chunks/libs/picomatch.mjs +1 -1673
  17. package/dist/_chunks/libs/pretty-ms.mjs +1 -80
  18. package/dist/_chunks/libs/remeda.mjs +1 -482
  19. package/dist/_chunks/libs/strip-indent.mjs +1 -15
  20. package/dist/_chunks/libs/ufo.mjs +1 -166
  21. package/dist/_chunks/logger.mjs +1 -0
  22. package/dist/_chunks/rolldown-runtime.mjs +1 -42
  23. package/dist/_chunks/utils.mjs +1 -0
  24. package/dist/browser/index.d.mts +10 -0
  25. package/dist/browser/index.mjs +1 -0
  26. package/dist/browser/worker.mjs +1 -0
  27. package/dist/bundled.d.mts +2 -3
  28. package/dist/bundled.mjs +1 -51
  29. package/dist/filesystem/index.d.mts +2 -4
  30. package/dist/filesystem/index.mjs +1 -3
  31. package/dist/index.d.mts +38 -3
  32. package/dist/index.mjs +1 -48
  33. package/dist/likec4lib.d.mts +10 -3
  34. package/dist/likec4lib.mjs +1 -4
  35. package/dist/mcp/index.d.mts +2 -4
  36. package/dist/mcp/index.mjs +1 -3
  37. package/dist/module.d.mts +126 -4
  38. package/dist/module.mjs +1 -3
  39. package/dist/protocol.d.mts +314 -1
  40. package/dist/protocol.mjs +1 -3
  41. package/filesystem/package.json +4 -0
  42. package/mcp/package.json +4 -0
  43. package/module/package.json +4 -0
  44. package/package.json +79 -56
  45. package/LICENSE +0 -21
  46. package/dist/LikeC4LanguageServices.d.mts +0 -4
  47. package/dist/LikeC4LanguageServices.mjs +0 -3
  48. package/dist/_chunks/LikeC4LanguageServices.mjs +0 -725
  49. package/dist/_chunks/ast.d.mts +0 -1444
  50. package/dist/_chunks/ast.mjs +0 -2375
  51. package/dist/_chunks/ast2.mjs +0 -176
  52. package/dist/_chunks/common-exports.mjs +0 -0
  53. package/dist/_chunks/filesystem.mjs +0 -58
  54. package/dist/_chunks/grammar.mjs +0 -8
  55. package/dist/_chunks/libs/@hono/node-server.mjs +0 -436
  56. package/dist/_chunks/libs/hono.mjs +0 -1829
  57. package/dist/_chunks/likec4lib.mjs +0 -9
  58. package/dist/_chunks/mcp.mjs +0 -33
  59. package/dist/_chunks/module.mjs +0 -28
  60. package/dist/_chunks/module2.mjs +0 -6576
  61. package/dist/_chunks/protocol.d.mts +0 -311
  62. package/dist/_chunks/protocol.mjs +0 -78
  63. package/dist/ast.d.mts +0 -4
  64. package/dist/ast.mjs +0 -4
  65. package/dist/browser-worker.mjs +0 -6
  66. package/dist/browser.d.mts +0 -11
  67. package/dist/browser.mjs +0 -27
  68. package/dist/common-exports.d.mts +0 -4
  69. package/dist/common-exports.mjs +0 -5
  70. package/dist/generated/ast.d.mts +0 -2
  71. package/dist/generated/ast.mjs +0 -3
  72. package/dist/generated/grammar.d.mts +0 -6
  73. package/dist/generated/grammar.mjs +0 -3
  74. package/dist/generated/module.d.mts +0 -14
  75. package/dist/generated/module.mjs +0 -3
  76. package/dist/generated-lib/icons.d.mts +0 -4
  77. package/dist/generated-lib/icons.mjs +0 -3
  78. /package/dist/{browser-worker.d.mts → browser/worker.d.mts} +0 -0
@@ -1,311 +0,0 @@
1
- import { DiagnosticSeverity, DocumentUri, Location, Position, Range, URI } from "vscode-languageserver-types";
2
- import { LikeC4ProjectJsonConfig } from "@likec4/config";
3
- import { ComputedLikeC4ModelData, DeploymentFqn, DiagramView, Fqn, LayoutedLikeC4ModelData, LayoutedProjectsView, NonEmptyArray, ProjectId, RelationId, ViewChange, ViewId } from "@likec4/core";
4
- import { NotificationType, NotificationType0, RequestType, RequestType0 } from "vscode-jsonrpc";
5
-
6
- //#region src/protocol.d.ts
7
- declare namespace DidChangeModelNotification {
8
- const type: NotificationType<string>;
9
- type Type = typeof type;
10
- }
11
- /**
12
- * Triggered by the language server when projects changed
13
- * (number of projects changed, names changed, etc)
14
- */
15
- declare namespace DidChangeProjectsNotification {
16
- const type: NotificationType0;
17
- type Type = typeof type;
18
- }
19
- /**
20
- * When the snapshot of a manual layout changes
21
- * Send by the editor to the language server
22
- */
23
- declare namespace DidChangeSnapshotNotification {
24
- type Params = {
25
- snapshotUri: DocumentUri;
26
- };
27
- const Method: "likec4/onDidChangeSnapshot";
28
- const type: NotificationType<Params>;
29
- type Type = typeof type;
30
- }
31
- /**
32
- * When server requests to open a likec4 preview panel
33
- * (available only in the editor).
34
- * (not the best place, but seems to be working)
35
- */
36
- declare namespace DidRequestOpenViewNotification {
37
- type Params = {
38
- viewId: ViewId;
39
- projectId: ProjectId;
40
- };
41
- const type: NotificationType<Params>;
42
- type Type = typeof type;
43
- }
44
- /**
45
- * Request to fetch the computed model data
46
- * If LSP has multiple projects, the projectId is required.
47
- * otherwise throws an error.
48
- */
49
- declare namespace FetchComputedModel {
50
- type Params = {
51
- projectId?: string | undefined;
52
- cleanCaches?: boolean | undefined;
53
- };
54
- type Res = {
55
- model: ComputedLikeC4ModelData | null;
56
- };
57
- const req: RequestType<Params, Res, void>;
58
- type Req = typeof req;
59
- }
60
- /**
61
- * Request to fetch all views of all projects
62
- */
63
- declare namespace FetchViewsFromAllProjects {
64
- type Res = {
65
- views: Array<{
66
- id: ViewId;
67
- title: string;
68
- projectId: ProjectId;
69
- }>;
70
- };
71
- const req: RequestType0<Res, void>;
72
- type Req = typeof req;
73
- }
74
- /**
75
- * Request to fetch the layouted model data
76
- * If LSP has multiple projects, the projectId is required.
77
- * otherwise throws an error.
78
- */
79
- declare namespace FetchLayoutedModel {
80
- type Params = {
81
- projectId?: string | undefined;
82
- };
83
- type Res = {
84
- model: LayoutedLikeC4ModelData | null;
85
- };
86
- const req: RequestType<Params, Res, void>;
87
- type Req = typeof req;
88
- }
89
- /**
90
- * Request to layout a view.
91
- * If LSP has multiple projects, the projectId is required.
92
- */
93
- declare namespace LayoutView {
94
- type Params = {
95
- viewId: ViewId;
96
- projectId?: string | undefined;
97
- layoutType?: 'auto' | 'manual' | undefined;
98
- };
99
- type Res = {
100
- result: {
101
- dot: string;
102
- diagram: DiagramView;
103
- } | null;
104
- };
105
- const req: RequestType<Params, Res, void>;
106
- type Req = typeof req;
107
- }
108
- /**
109
- * Request to validate all views
110
- * If projects ID is provided, it will validate only the views of that project.
111
- */
112
- declare namespace ValidateLayout {
113
- type Params = {
114
- projectId?: string;
115
- };
116
- type Res = {
117
- result: {
118
- uri: string;
119
- viewId: ViewId;
120
- message: string;
121
- severity: DiagnosticSeverity;
122
- range: {
123
- start: Position;
124
- end: Position;
125
- };
126
- }[] | null;
127
- };
128
- const req: RequestType<Params, Res, void>;
129
- type Req = typeof req;
130
- }
131
- /**
132
- * Request to reload projects.
133
- */
134
- declare namespace ReloadProjects {
135
- type Params = never;
136
- type Res = void;
137
- const req: RequestType0<void, void>;
138
- type Req = typeof req;
139
- }
140
- /**
141
- * Fetch all non-empty projects.
142
- */
143
- declare namespace FetchProjects {
144
- type Params = never;
145
- type Res = {
146
- projects: {
147
- [projectId: ProjectId]: {
148
- folder: URI;
149
- config: {
150
- name: string;
151
- title?: string | undefined;
152
- };
153
- docs: NonEmptyArray<DocumentUri>;
154
- };
155
- };
156
- };
157
- const req: RequestType0<Res, void>;
158
- type Req = typeof req;
159
- }
160
- /**
161
- * Request from the client to register a project.
162
- */
163
- declare namespace RegisterProject {
164
- type Params = {
165
- folderUri: URI;
166
- config: LikeC4ProjectJsonConfig;
167
- configUri?: never;
168
- } | {
169
- configUri: URI;
170
- folderUri?: never;
171
- config?: never;
172
- };
173
- type Res = {
174
- id: ProjectId;
175
- };
176
- const req: RequestType<Params, Res, void>;
177
- type Req = typeof req;
178
- }
179
- /**
180
- * Request to build documents.
181
- */
182
- declare namespace BuildDocuments {
183
- type Params = {
184
- docs: DocumentUri[];
185
- };
186
- const req: RequestType<Params, void, void>;
187
- type Req = typeof req;
188
- }
189
- /**
190
- * Request to locate an element, relation, deployment or view.
191
- * If LSP has multiple projects, the projectId is required.
192
- */
193
- declare namespace Locate {
194
- type Params =
195
- /**
196
- * Locate an element by its fqn
197
- */
198
- {
199
- element: Fqn;
200
- projectId?: string | undefined;
201
- property?: string;
202
- }
203
- /**
204
- * Locate a relation by its id
205
- */
206
- | {
207
- projectId?: string | undefined;
208
- relation: RelationId;
209
- }
210
- /**
211
- * Locate a deployment by its fqn
212
- */
213
- | {
214
- deployment: DeploymentFqn;
215
- projectId?: string | undefined;
216
- property?: string;
217
- }
218
- /**
219
- * Locate a step in a dynamic view by its astPath
220
- */
221
- | {
222
- view: ViewId;
223
- astPath: string;
224
- projectId?: string | undefined;
225
- }
226
- /**
227
- * Locate a view by its id
228
- */
229
- | {
230
- view: ViewId;
231
- projectId?: string | undefined;
232
- };
233
- type Res = Location | null;
234
- const req: RequestType<Params, Res, void>;
235
- type Req = typeof req;
236
- }
237
- /**
238
- * Request to change the view
239
- * If LSP has multiple projects, the projectId is required.
240
- */
241
- declare namespace ChangeView {
242
- type Params = {
243
- viewId: ViewId;
244
- change: ViewChange;
245
- projectId?: string | undefined;
246
- };
247
- type Res = {
248
- success: true;
249
- location: Location | null;
250
- } | {
251
- success: false;
252
- location?: Location | null;
253
- error: string;
254
- };
255
- const req: RequestType<Params, Res, void>;
256
- type Req = typeof req;
257
- }
258
- /**
259
- * Request to fetch telemetry metrics
260
- */
261
- declare namespace FetchTelemetryMetrics {
262
- type Res = {
263
- metrics: null | {
264
- elementKinds: number;
265
- deploymentKinds: number;
266
- relationshipKinds: number;
267
- tags: number;
268
- customColors: number;
269
- elements: number;
270
- deploymentNodes: number;
271
- relationships: number;
272
- views: number;
273
- projects: number;
274
- };
275
- };
276
- const req: RequestType0<Res, void>;
277
- type Req = typeof req;
278
- }
279
- /**
280
- * Request to fetch all tags of a document
281
- */
282
- declare namespace GetDocumentTags {
283
- type Params = {
284
- documentUri: DocumentUri;
285
- };
286
- type Res = {
287
- /**
288
- * Used tags in the document
289
- */
290
- tags: Array<{
291
- name: string;
292
- range: Range;
293
- color: string;
294
- isSpecification?: boolean;
295
- }>;
296
- };
297
- const req: RequestType<Params, Res, void>;
298
- type Req = typeof req;
299
- }
300
- /**
301
- * Request to fetch projects overview diagram
302
- */
303
- declare namespace FetchProjectsOverview {
304
- type Res = {
305
- projectsView: LayoutedProjectsView | null;
306
- };
307
- const req: RequestType0<Res, void>;
308
- type Req = typeof req;
309
- }
310
- //#endregion
311
- export { ReloadProjects as _, DidChangeSnapshotNotification as a, FetchLayoutedModel as c, FetchTelemetryMetrics as d, FetchViewsFromAllProjects as f, RegisterProject as g, Locate as h, DidChangeProjectsNotification as i, FetchProjects as l, LayoutView as m, ChangeView as n, DidRequestOpenViewNotification as o, GetDocumentTags as p, DidChangeModelNotification as r, FetchComputedModel as s, BuildDocuments as t, FetchProjectsOverview as u, ValidateLayout as v };
@@ -1,78 +0,0 @@
1
- import { NotificationType, NotificationType0, RequestType, RequestType0 } from "vscode-jsonrpc";
2
-
3
- //#region src/protocol.ts
4
- let DidChangeModelNotification;
5
- (function(_DidChangeModelNotification) {
6
- _DidChangeModelNotification.type = new NotificationType("likec4/onDidChangeModel");
7
- })(DidChangeModelNotification || (DidChangeModelNotification = {}));
8
- let DidChangeProjectsNotification;
9
- (function(_DidChangeProjectsNotification) {
10
- _DidChangeProjectsNotification.type = new NotificationType0("likec4/onDidChangeProjects");
11
- })(DidChangeProjectsNotification || (DidChangeProjectsNotification = {}));
12
- let DidChangeSnapshotNotification;
13
- (function(_DidChangeSnapshotNotification) {
14
- _DidChangeSnapshotNotification.type = new NotificationType(_DidChangeSnapshotNotification.Method = "likec4/onDidChangeSnapshot");
15
- })(DidChangeSnapshotNotification || (DidChangeSnapshotNotification = {}));
16
- let DidRequestOpenViewNotification;
17
- (function(_DidRequestOpenViewNotification) {
18
- _DidRequestOpenViewNotification.type = new NotificationType("likec4/onRequestOpenView");
19
- })(DidRequestOpenViewNotification || (DidRequestOpenViewNotification = {}));
20
- let FetchComputedModel;
21
- (function(_FetchComputedModel) {
22
- _FetchComputedModel.req = new RequestType("likec4/fetchComputedModel");
23
- })(FetchComputedModel || (FetchComputedModel = {}));
24
- let FetchViewsFromAllProjects;
25
- (function(_FetchViewsFromAllProjects) {
26
- _FetchViewsFromAllProjects.req = new RequestType0("likec4/fetchViewsFromAllProjects");
27
- })(FetchViewsFromAllProjects || (FetchViewsFromAllProjects = {}));
28
- let FetchLayoutedModel;
29
- (function(_FetchLayoutedModel) {
30
- _FetchLayoutedModel.req = new RequestType("likec4/fetchLayoutedModel");
31
- })(FetchLayoutedModel || (FetchLayoutedModel = {}));
32
- let LayoutView;
33
- (function(_LayoutView) {
34
- _LayoutView.req = new RequestType("likec4/layout-view");
35
- })(LayoutView || (LayoutView = {}));
36
- let ValidateLayout;
37
- (function(_ValidateLayout) {
38
- _ValidateLayout.req = new RequestType("likec4/validate-layout");
39
- })(ValidateLayout || (ValidateLayout = {}));
40
- let ReloadProjects;
41
- (function(_ReloadProjects) {
42
- _ReloadProjects.req = new RequestType0("likec4/reload-projects");
43
- })(ReloadProjects || (ReloadProjects = {}));
44
- let FetchProjects;
45
- (function(_FetchProjects) {
46
- _FetchProjects.req = new RequestType0("likec4/fetch-projects");
47
- })(FetchProjects || (FetchProjects = {}));
48
- let RegisterProject;
49
- (function(_RegisterProject) {
50
- _RegisterProject.req = new RequestType("likec4/register-project");
51
- })(RegisterProject || (RegisterProject = {}));
52
- let BuildDocuments;
53
- (function(_BuildDocuments) {
54
- _BuildDocuments.req = new RequestType("likec4/build");
55
- })(BuildDocuments || (BuildDocuments = {}));
56
- let Locate;
57
- (function(_Locate) {
58
- _Locate.req = new RequestType("likec4/locate");
59
- })(Locate || (Locate = {}));
60
- let ChangeView;
61
- (function(_ChangeView) {
62
- _ChangeView.req = new RequestType("likec4/change-view");
63
- })(ChangeView || (ChangeView = {}));
64
- let FetchTelemetryMetrics;
65
- (function(_FetchTelemetryMetrics) {
66
- _FetchTelemetryMetrics.req = new RequestType0("likec4/metrics");
67
- })(FetchTelemetryMetrics || (FetchTelemetryMetrics = {}));
68
- let GetDocumentTags;
69
- (function(_GetDocumentTags) {
70
- _GetDocumentTags.req = new RequestType("likec4/document-tags");
71
- })(GetDocumentTags || (GetDocumentTags = {}));
72
- let FetchProjectsOverview;
73
- (function(_FetchProjectsOverview) {
74
- _FetchProjectsOverview.req = new RequestType0("likec4/fetch-projects-overview");
75
- })(FetchProjectsOverview || (FetchProjectsOverview = {}));
76
-
77
- //#endregion
78
- export { ReloadProjects as _, DidChangeSnapshotNotification as a, FetchLayoutedModel as c, FetchTelemetryMetrics as d, FetchViewsFromAllProjects as f, RegisterProject as g, Locate as h, DidChangeProjectsNotification as i, FetchProjects as l, LayoutView as m, ChangeView as n, DidRequestOpenViewNotification as o, GetDocumentTags as p, DidChangeModelNotification as r, FetchComputedModel as s, BuildDocuments as t, FetchProjectsOverview as u, ValidateLayout as v };
package/dist/ast.d.mts DELETED
@@ -1,4 +0,0 @@
1
- import { kr as ast_d_exports } from "./_chunks/ast.mjs";
2
- import { A as ParsedElementStyle, B as parseAstOpacityProperty, C as ParsedAstElementView, D as ParsedAstRelation, E as ParsedAstGlobals, F as isFqnRefInsideGlobals, G as toAutoLayout, H as parseAstSizeValue, I as isFqnRefInsideModel, K as toColor, L as isLikeC4LangiumDocument, M as ViewOps, N as getViewRulePredicateContainer, O as ParsedAstSpecification, P as isFqnRefInsideDeployment, R as isParsedLikeC4LangiumDocument, S as ParsedAstElement, T as ParsedAstExtendRelation, U as parseMarkdownAsString, V as parseAstPercent, W as toAstViewLayoutDirection, _ as LikeC4LangiumDocument, b as ParsedAstDeploymentView, g as LikeC4DocumentProps, h as LikeC4AstNode, j as ParsedLikeC4LangiumDocument, k as ParsedAstView, m as ElementOps, p as AstNodeDescriptionWithFqn, q as toRelationshipStyle, v as ParsedAstDeployment, w as ParsedAstExtend, x as ParsedAstDynamicView, y as ParsedAstDeploymentRelation, z as parseAstIconPositionValue } from "./_chunks/LikeC4LanguageServices.mjs";
3
- import "./_chunks/protocol.mjs";
4
- export { AstNodeDescriptionWithFqn, ElementOps, LikeC4AstNode, LikeC4DocumentProps, LikeC4LangiumDocument, ParsedAstDeployment, ParsedAstDeploymentRelation, ParsedAstDeploymentView, ParsedAstDynamicView, ParsedAstElement, ParsedAstElementView, ParsedAstExtend, ParsedAstExtendRelation, ParsedAstGlobals, ParsedAstRelation, ParsedAstSpecification, ParsedAstView, ParsedElementStyle, ParsedLikeC4LangiumDocument, ViewOps, ast_d_exports as ast, getViewRulePredicateContainer, isFqnRefInsideDeployment, isFqnRefInsideGlobals, isFqnRefInsideModel, isLikeC4LangiumDocument, isParsedLikeC4LangiumDocument, parseAstIconPositionValue, parseAstOpacityProperty, parseAstPercent, parseAstSizeValue, parseMarkdownAsString, toAstViewLayoutDirection, toAutoLayout, toColor, toRelationshipStyle };
package/dist/ast.mjs DELETED
@@ -1,4 +0,0 @@
1
- import { ur as ast_exports } from "./_chunks/ast.mjs";
2
- import { _ as toRelationshipStyle, a as isFqnRefInsideGlobals, c as isParsedLikeC4LangiumDocument, d as parseAstPercent, f as parseAstSizeValue, g as toColor, h as toAutoLayout, i as isFqnRefInsideDeployment, l as parseAstIconPositionValue, m as toAstViewLayoutDirection, n as ViewOps, o as isFqnRefInsideModel, p as parseMarkdownAsString, r as getViewRulePredicateContainer, s as isLikeC4LangiumDocument, t as ElementOps, u as parseAstOpacityProperty } from "./_chunks/ast2.mjs";
3
-
4
- export { ElementOps, ViewOps, ast_exports as ast, getViewRulePredicateContainer, isFqnRefInsideDeployment, isFqnRefInsideGlobals, isFqnRefInsideModel, isLikeC4LangiumDocument, isParsedLikeC4LangiumDocument, parseAstIconPositionValue, parseAstOpacityProperty, parseAstPercent, parseAstSizeValue, parseMarkdownAsString, toAstViewLayoutDirection, toAutoLayout, toColor, toRelationshipStyle };
@@ -1,6 +0,0 @@
1
- import { startLanguageServer } from "./browser.mjs";
2
-
3
- //#region src/browser-worker.ts
4
- startLanguageServer(self);
5
-
6
- //#endregion
@@ -1,11 +0,0 @@
1
- import "./_chunks/ast.mjs";
2
- import { J as LanguageServicesContext, Q as createLanguageServices, X as LikeC4Services, Y as LikeC4AddedServices, Z as LikeC4SharedServices, _t as LikeC4ManualLayoutsModuleContext, bt as ProjectsManager, ct as NoFileSystem, d as LikeC4ModelBuilder, f as FqnIndex, ft as FileSystemModuleContext, gt as LikeC4ManualLayouts, ht as FileSystemWatcherModuleContext, i as LikeC4ModelParser, l as LikeC4ModelLocator, lt as NoFileSystemWatcher, mt as FileSystemWatcher, n as LikeC4LanguageServices, nt as NoMCPServer, ot as LikeC4WorkspaceManager, pt as FileSystemProvider, r as DocumentParser, st as LangiumDocuments, tt as LikeC4Views, u as ViewLocateResult, ut as NoLikeC4ManualLayouts, vt as Project, yt as ProjectData } from "./_chunks/LikeC4LanguageServices.mjs";
3
- import "./_chunks/protocol.mjs";
4
-
5
- //#region src/browser.d.ts
6
- declare function startLanguageServer(port: MessagePort | DedicatedWorkerGlobalScope): {
7
- shared: LikeC4SharedServices;
8
- likec4: LikeC4Services;
9
- };
10
- //#endregion
11
- export { DocumentParser, FileSystemModuleContext, FileSystemProvider, FileSystemWatcher, FileSystemWatcherModuleContext, FqnIndex, LangiumDocuments, LanguageServicesContext, LikeC4AddedServices, LikeC4LanguageServices, LikeC4ManualLayouts, LikeC4ManualLayoutsModuleContext, LikeC4ModelBuilder, LikeC4ModelLocator, LikeC4ModelParser, LikeC4Services, LikeC4SharedServices, LikeC4Views, LikeC4WorkspaceManager, NoFileSystem, NoFileSystemWatcher, NoLikeC4ManualLayouts, NoMCPServer, Project, ProjectData, ProjectsManager, ViewLocateResult, createLanguageServices, startLanguageServer };
package/dist/browser.mjs DELETED
@@ -1,27 +0,0 @@
1
- import { n as NoFileSystemWatcher, r as NoLikeC4ManualLayouts, t as NoFileSystem } from "./_chunks/filesystem.mjs";
2
- import { t as createLanguageServices } from "./_chunks/module2.mjs";
3
- import { t as NoMCPServer } from "./_chunks/mcp.mjs";
4
- import { configureLogger, getConsoleSink, getTextFormatter } from "@likec4/log";
5
- import { startLanguageServer as startLanguageServer$1 } from "langium/lsp";
6
- import { BrowserMessageReader, BrowserMessageWriter, createConnection } from "vscode-languageserver/browser";
7
-
8
- //#region src/browser.ts
9
- function startLanguageServer(port) {
10
- const connection = createConnection(new BrowserMessageReader(port), new BrowserMessageWriter(port));
11
- configureLogger({
12
- sinks: { console: getConsoleSink({ formatter: getTextFormatter({ format: ({ level, category, message }) => {
13
- return `${level} ${category} ${message}`;
14
- } }) }) },
15
- loggers: [{
16
- category: "likec4",
17
- sinks: ["console"],
18
- lowestLevel: "debug"
19
- }]
20
- });
21
- const services = createLanguageServices({ connection });
22
- startLanguageServer$1(services.shared);
23
- return services;
24
- }
25
-
26
- //#endregion
27
- export { NoFileSystem, NoFileSystemWatcher, NoLikeC4ManualLayouts, NoMCPServer, createLanguageServices, startLanguageServer };
@@ -1,4 +0,0 @@
1
- import "./_chunks/ast.mjs";
2
- import { J as LanguageServicesContext, Q as createLanguageServices, X as LikeC4Services, Y as LikeC4AddedServices, Z as LikeC4SharedServices, _t as LikeC4ManualLayoutsModuleContext, bt as ProjectsManager, ct as NoFileSystem, d as LikeC4ModelBuilder, f as FqnIndex, ft as FileSystemModuleContext, gt as LikeC4ManualLayouts, ht as FileSystemWatcherModuleContext, i as LikeC4ModelParser, l as LikeC4ModelLocator, lt as NoFileSystemWatcher, mt as FileSystemWatcher, n as LikeC4LanguageServices, nt as NoMCPServer, ot as LikeC4WorkspaceManager, pt as FileSystemProvider, r as DocumentParser, st as LangiumDocuments, tt as LikeC4Views, u as ViewLocateResult, ut as NoLikeC4ManualLayouts, vt as Project, yt as ProjectData } from "./_chunks/LikeC4LanguageServices.mjs";
3
- import "./_chunks/protocol.mjs";
4
- export { DocumentParser, FileSystemModuleContext, FileSystemProvider, FileSystemWatcher, FileSystemWatcherModuleContext, FqnIndex, LangiumDocuments, LanguageServicesContext, LikeC4AddedServices, LikeC4LanguageServices, LikeC4ManualLayouts, LikeC4ManualLayoutsModuleContext, LikeC4ModelBuilder, LikeC4ModelLocator, LikeC4ModelParser, LikeC4Services, LikeC4SharedServices, LikeC4Views, LikeC4WorkspaceManager, NoFileSystem, NoFileSystemWatcher, NoLikeC4ManualLayouts, NoMCPServer, Project, ProjectData, ProjectsManager, ViewLocateResult, createLanguageServices };
@@ -1,5 +0,0 @@
1
- import { n as NoFileSystemWatcher, r as NoLikeC4ManualLayouts, t as NoFileSystem } from "./_chunks/filesystem.mjs";
2
- import { t as createLanguageServices } from "./_chunks/module2.mjs";
3
- import { t as NoMCPServer } from "./_chunks/mcp.mjs";
4
-
5
- export { NoFileSystem, NoFileSystemWatcher, NoLikeC4ManualLayouts, NoMCPServer, createLanguageServices };
@@ -1,2 +0,0 @@
1
- import { $ as ElementViewRef, $a as isRelationshipStyleProperty, $i as isGlobals, $n as ViewLayoutDirection, $r as isDeploymentViewRule, $t as MetadataBody, A as DynamicView, Aa as isNavigateToProperty, Ai as isExpressions, An as RelationshipStyleProperty, Ao as isViewRulePredicate, Ar as isAbstractDynamicStep, At as IconProperty, B as DynamicViewStep, Ba as isRelation, Bi as isFqnExprOrWhere, Bn as SpecificationRelationshipStringProperty, Bo as isWhereElementTag, Br as isCustomElementProperties, Bt as LikeC4Grammar, C as DeploymentViewBody, Ca as isMetadataProperty, Ci as isElementStringProperty, Cn as RelationExprWith, Co as isViewProperty, Cr as WhereRelationNegation, Ct as GlobalStyleId, D as DirectedRelationExpr, Da as isModelReferenceable, Di as isElementViewBody, Dn as RelationStringProperty, Do as isViewRuleGlobalPredicateRef, Dr as WhereTagEqual, Dt as IconId, E as DeploymentViewRuleStyle, Ea as isModelDeployments, Ei as isElementView, En as RelationProperty, Eo as isViewRuleAutoLayout, Er as WhereRelationTag, Et as IconColorProperty, F as DynamicViewIncludePredicate, Fa as isPaddingSizeProperty, Fi as isExtendElementProperty, Fn as SpecificationColor, Fo as isWhereBinaryExpression, Fr as isBorderStyleValue, Ft as InOutRelationExpr, G as ElementProperty, Ga as isRelationExprWhere, Gi as isFqnRef, Gn as StringProperty, Go as isWhereRelationKind, Gr as isDeploymentNode, Gt as LikeC4TokenNames, H as ElementBody, Ha as isRelationExpr, Hi as isFqnExprWhere, Hn as SpecificationTag, Ho as isWhereKindEqual, Hr as isDeployedInstance, Ht as LikeC4Lib, I as DynamicViewParallelSteps, Ia as isParticipant, Ii as isExtendRelation, In as SpecificationDeploymentNodeKind, Io as isWhereElement, Ir as isColorLiteral, It as IncomingRelationExpr, J as ElementStringProperty, Ja as isRelationNavigateToProperty, Ji as isGlobalDynamicPredicateGroup, Jn as TagRef, Jo as isWhereRelationParticipantTag, Jr as isDeploymentNodeOrElementKind, Jt as LineProperty, K as ElementRef, Ka as isRelationExprWith, Ki as isFqnRefExpr, Kn as StyleProperty, Ko as isWhereRelationNegation, Kr as isDeploymentNodeBody, Kt as LikeC4View, L as DynamicViewProperty, La as isRGBAColor, Li as isExtendRelationBody, Ln as SpecificationElementKind, Lo as isWhereElementExpression, Lr as isColorProperty, Lt as LibIcon, M as DynamicViewDisplayVariantProperty, Ma as isNotesProperty, Mi as isExtendDeploymentBody, Mn as ShapeSizeProperty, Mo as isViewRuleStyle, Mr as isArrowProperty, Mt as Id, N as DynamicViewDisplayVariantValue, Na as isOpacityProperty, Ni as isExtendElement, Nn as SizeProperty, No as isViewRuleStyleOrGlobalRef, Nr as isArrowType, Nt as Imported, O as DynamicStepChain, Oa as isModelViews, Oi as isElementViewRef, On as RelationStyleProperty, Oo as isViewRuleGlobalStyle, Or as WildcardExpression, Ot as IconPositionProperty, P as DynamicViewGlobalPredicateRef, Pa as isOutgoingRelationExpr, Pi as isExtendElementBody, Pn as SizeValue, Po as isViewStringProperty, Pr as isBorderProperty, Pt as ImportsFromPoject, Q as ElementViewBody, Qa as isRelationshipKind, Qi as isGlobalStyleId, Qn as Uri, Qo as reflection, Qr as isDeploymentViewBody, Qt as MetadataAttribute, R as DynamicViewRef, Ra as isRankValue, Ri as isExtendRelationProperty, Rn as SpecificationElementStringProperty, Ro as isWhereElementKind, Rr as isCustomColor, Rt as LikeC4AstReflection, S as DeploymentView, Sa as isMetadataBody, Si as isElementShape, Sn as RelationExprWhere, So as isViewLayoutDirection, Sr as WhereRelationKind, St as GlobalStyleGroup, T as DeploymentViewRulePredicate, Ta as isModel, Ti as isElementTagExpression, Tn as RelationNavigateToProperty, To as isViewRule, Tr as WhereRelationParticipantTag, Tt as HexColor, U as ElementKind, Ua as isRelationExprOrWhere, Ui as isFqnExprWith, Un as StrictFqnElementRef, Uo as isWhereRelation, Ur as isDeployedInstanceBody, Ut as LikeC4TerminalNames, V as Element, Va as isRelationBody, Vi as isFqnExprOrWith, Vn as SpecificationRule, Vo as isWhereExpression, Vr as isCustomRelationProperties, Vt as LikeC4KeywordNames, W as ElementKindExpression, Wa as isRelationExprOrWith, Wi as isFqnExpressions, Wn as StrictFqnRef, Wo as isWhereRelationExpression, Wr as isDeploymentElement, Wt as LikeC4Terminals, X as ElementTagExpression, Xa as isRelationStringProperty, Xi as isGlobalStyle, Xn as TextSizeProperty, Xo as isWhereTagEqual, Xr as isDeploymentRelationBody, Xt as MarkdownOrString, Y as ElementStyleProperty, Ya as isRelationProperty, Yi as isGlobalPredicateGroup, Yn as Tags, Yo as isWhereRelationTag, Yr as isDeploymentRelation, Yt as LinkProperty, Z as ElementView, Za as isRelationStyleProperty, Zi as isGlobalStyleGroup, Zn as ThemeColor, Zo as isWildcardExpression, Zr as isDeploymentView, Zt as MetadataArray, _ as DeploymentNodeBody, _a as isLineProperty, _i as isElementBody, _n as Relation, _o as isTagRef, _r as WhereElementTag, _t as FqnRefExpr, a as BorderProperty, aa as isIconProperty, ai as isDynamicView, an as ModelViews, ao as isSpecificationDeploymentNodeKind, ar as ViewRuleGlobalStyle, at as ExtendElementBody, b as DeploymentRelation, ba as isMetadataArray, bi as isElementProperty, bn as RelationExprOrWhere, bo as isThemeColor, br as WhereRelation, bt as GlobalPredicateGroup, c as ColorProperty, ca as isImported, ci as isDynamicViewDisplayVariantValue, cn as NotationProperty, co as isSpecificationRelationshipKind, cr as ViewRuleRank, ct as ExtendRelationBody, d as CustomElementProperties, da as isIncomingRelationExpr, di as isDynamicViewParallelSteps, dn as OutgoingRelationExpr, do as isSpecificationTag, dr as ViewStringProperty, dt as FqnExprOrWhere, ea as isHexColor, ei as isDeploymentViewRulePredicate, en as MetadataProperty, eo as isShapeProperty, er as ViewProperty, et as ExpressionV2, f as CustomRelationProperties, fa as isLibIcon, fi as isDynamicViewProperty, fn as PaddingSizeProperty, fo as isStrictFqnElementRef, fr as WhereBinaryExpression, ft as FqnExprOrWith, g as DeploymentNode, ga as isLineOptions, gi as isElement, gn as Referenceable, go as isTag, gr as WhereElementNegation, gt as FqnRef, h as DeploymentElement, ha as isLikeC4View, hi as isDynamicViewStep, hn as RankValue, ho as isStyleProperty, hr as WhereElementKind, ht as FqnExpressions, i as ArrowType, ia as isIconPositionValue, ii as isDynamicStepSingle, in as ModelReferenceable, io as isSpecificationColor, ir as ViewRuleGlobalPredicateRef, it as ExtendElement, j as DynamicViewBody, ja as isNotationProperty, ji as isExtendDeployment, jn as ShapeProperty, jo as isViewRuleRank, jr as isAnyProperty, jt as IconSizeProperty, k as DynamicStepSingle, ka as isMultipleProperty, ki as isExpressionV2, kn as RelationshipKind, ko as isViewRuleGroup, kt as IconPositionValue, l as CustomColor, la as isImportsFromPoject, li as isDynamicViewGlobalPredicateRef, ln as NotesProperty, lo as isSpecificationRelationshipStringProperty, lr as ViewRuleStyle, lt as ExtendRelationProperty, m as DeployedInstanceBody, ma as isLikeC4Lib, mi as isDynamicViewRule, mn as RGBAColor, mo as isStringProperty, mr as WhereElementExpression, mt as FqnExprWith, n as AnyProperty, na as isIconId, ni as isDirectedRelationExpr, nn as Model, no as isSizeProperty, nr as ViewRule, nt as ExtendDeployment, o as BorderStyleValue, oa as isIconSizeProperty, oi as isDynamicViewBody, on as MultipleProperty, oo as isSpecificationElementKind, or as ViewRuleGroup, ot as ExtendElementProperty, p as DeployedInstance, pa as isLikeC4Grammar, pi as isDynamicViewRef, pn as Participant, po as isStrictFqnRef, pr as WhereElement, pt as FqnExprWhere, q as ElementShape, qa as isRelationKindDotRef, qi as isFqnReferenceable, qn as Tag, qo as isWhereRelationParticipantKind, qr as isDeploymentNodeKind, qt as LineOptions, r as ArrowProperty, ra as isIconPositionProperty, ri as isDynamicStepChain, rn as ModelDeployments, ro as isSizeValue, rr as ViewRuleAutoLayout, rt as ExtendDeploymentBody, s as ColorLiteral, sa as isId, si as isDynamicViewDisplayVariantProperty, sn as NavigateToProperty, so as isSpecificationElementStringProperty, sr as ViewRulePredicate, st as ExtendRelation, t as AbstractDynamicStep, ta as isIconColorProperty, ti as isDeploymentViewRuleStyle, tn as MetadataValue, to as isShapeSizeProperty, tr as ViewRef, tt as Expressions, u as CustomColorId, ua as isInOutRelationExpr, ui as isDynamicViewIncludePredicate, un as OpacityProperty, uo as isSpecificationRule, ur as ViewRuleStyleOrGlobalRef, ut as FqnExpr, v as DeploymentNodeKind, va as isLinkProperty, vi as isElementKind, vn as RelationBody, vo as isTags, vr as WhereExpression, vt as FqnReferenceable, w as DeploymentViewRule, wa as isMetadataValue, wi as isElementStyleProperty, wn as RelationKindDotRef, wo as isViewRef, wr as WhereRelationParticipantKind, wt as Globals, x as DeploymentRelationBody, xa as isMetadataAttribute, xi as isElementRef, xn as RelationExprOrWith, xo as isUri, xr as WhereRelationExpression, xt as GlobalStyle, y as DeploymentNodeOrElementKind, ya as isMarkdownOrString, yi as isElementKindExpression, yn as RelationExpr, yo as isTextSizeProperty, yr as WhereKindEqual, yt as GlobalDynamicPredicateGroup, z as DynamicViewRule, za as isReferenceable, zi as isFqnExpr, zn as SpecificationRelationshipKind, zo as isWhereElementNegation, zr as isCustomColorId, zt as LikeC4AstType } from "../_chunks/ast.mjs";
2
- export { AbstractDynamicStep, AnyProperty, ArrowProperty, ArrowType, BorderProperty, BorderStyleValue, ColorLiteral, ColorProperty, CustomColor, CustomColorId, CustomElementProperties, CustomRelationProperties, DeployedInstance, DeployedInstanceBody, DeploymentElement, DeploymentNode, DeploymentNodeBody, DeploymentNodeKind, DeploymentNodeOrElementKind, DeploymentRelation, DeploymentRelationBody, DeploymentView, DeploymentViewBody, DeploymentViewRule, DeploymentViewRulePredicate, DeploymentViewRuleStyle, DirectedRelationExpr, DynamicStepChain, DynamicStepSingle, DynamicView, DynamicViewBody, DynamicViewDisplayVariantProperty, DynamicViewDisplayVariantValue, DynamicViewGlobalPredicateRef, DynamicViewIncludePredicate, DynamicViewParallelSteps, DynamicViewProperty, DynamicViewRef, DynamicViewRule, DynamicViewStep, Element, ElementBody, ElementKind, ElementKindExpression, ElementProperty, ElementRef, ElementShape, ElementStringProperty, ElementStyleProperty, ElementTagExpression, ElementView, ElementViewBody, ElementViewRef, ExpressionV2, Expressions, ExtendDeployment, ExtendDeploymentBody, ExtendElement, ExtendElementBody, ExtendElementProperty, ExtendRelation, ExtendRelationBody, ExtendRelationProperty, FqnExpr, FqnExprOrWhere, FqnExprOrWith, FqnExprWhere, FqnExprWith, FqnExpressions, FqnRef, FqnRefExpr, FqnReferenceable, GlobalDynamicPredicateGroup, GlobalPredicateGroup, GlobalStyle, GlobalStyleGroup, GlobalStyleId, Globals, HexColor, IconColorProperty, IconId, IconPositionProperty, IconPositionValue, IconProperty, IconSizeProperty, Id, Imported, ImportsFromPoject, InOutRelationExpr, IncomingRelationExpr, LibIcon, LikeC4AstReflection, LikeC4AstType, LikeC4Grammar, LikeC4KeywordNames, LikeC4Lib, LikeC4TerminalNames, LikeC4Terminals, LikeC4TokenNames, LikeC4View, LineOptions, LineProperty, LinkProperty, MarkdownOrString, MetadataArray, MetadataAttribute, MetadataBody, MetadataProperty, MetadataValue, Model, ModelDeployments, ModelReferenceable, ModelViews, MultipleProperty, NavigateToProperty, NotationProperty, NotesProperty, OpacityProperty, OutgoingRelationExpr, PaddingSizeProperty, Participant, RGBAColor, RankValue, Referenceable, Relation, RelationBody, RelationExpr, RelationExprOrWhere, RelationExprOrWith, RelationExprWhere, RelationExprWith, RelationKindDotRef, RelationNavigateToProperty, RelationProperty, RelationStringProperty, RelationStyleProperty, RelationshipKind, RelationshipStyleProperty, ShapeProperty, ShapeSizeProperty, SizeProperty, SizeValue, SpecificationColor, SpecificationDeploymentNodeKind, SpecificationElementKind, SpecificationElementStringProperty, SpecificationRelationshipKind, SpecificationRelationshipStringProperty, SpecificationRule, SpecificationTag, StrictFqnElementRef, StrictFqnRef, StringProperty, StyleProperty, Tag, TagRef, Tags, TextSizeProperty, ThemeColor, Uri, ViewLayoutDirection, ViewProperty, ViewRef, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRuleGroup, ViewRulePredicate, ViewRuleRank, ViewRuleStyle, ViewRuleStyleOrGlobalRef, ViewStringProperty, WhereBinaryExpression, WhereElement, WhereElementExpression, WhereElementKind, WhereElementNegation, WhereElementTag, WhereExpression, WhereKindEqual, WhereRelation, WhereRelationExpression, WhereRelationKind, WhereRelationNegation, WhereRelationParticipantKind, WhereRelationParticipantTag, WhereRelationTag, WhereTagEqual, WildcardExpression, isAbstractDynamicStep, isAnyProperty, isArrowProperty, isArrowType, isBorderProperty, isBorderStyleValue, isColorLiteral, isColorProperty, isCustomColor, isCustomColorId, isCustomElementProperties, isCustomRelationProperties, isDeployedInstance, isDeployedInstanceBody, isDeploymentElement, isDeploymentNode, isDeploymentNodeBody, isDeploymentNodeKind, isDeploymentNodeOrElementKind, isDeploymentRelation, isDeploymentRelationBody, isDeploymentView, isDeploymentViewBody, isDeploymentViewRule, isDeploymentViewRulePredicate, isDeploymentViewRuleStyle, isDirectedRelationExpr, isDynamicStepChain, isDynamicStepSingle, isDynamicView, isDynamicViewBody, isDynamicViewDisplayVariantProperty, isDynamicViewDisplayVariantValue, isDynamicViewGlobalPredicateRef, isDynamicViewIncludePredicate, isDynamicViewParallelSteps, isDynamicViewProperty, isDynamicViewRef, isDynamicViewRule, isDynamicViewStep, isElement, isElementBody, isElementKind, isElementKindExpression, isElementProperty, isElementRef, isElementShape, isElementStringProperty, isElementStyleProperty, isElementTagExpression, isElementView, isElementViewBody, isElementViewRef, isExpressionV2, isExpressions, isExtendDeployment, isExtendDeploymentBody, isExtendElement, isExtendElementBody, isExtendElementProperty, isExtendRelation, isExtendRelationBody, isExtendRelationProperty, isFqnExpr, isFqnExprOrWhere, isFqnExprOrWith, isFqnExprWhere, isFqnExprWith, isFqnExpressions, isFqnRef, isFqnRefExpr, isFqnReferenceable, isGlobalDynamicPredicateGroup, isGlobalPredicateGroup, isGlobalStyle, isGlobalStyleGroup, isGlobalStyleId, isGlobals, isHexColor, isIconColorProperty, isIconId, isIconPositionProperty, isIconPositionValue, isIconProperty, isIconSizeProperty, isId, isImported, isImportsFromPoject, isInOutRelationExpr, isIncomingRelationExpr, isLibIcon, isLikeC4Grammar, isLikeC4Lib, isLikeC4View, isLineOptions, isLineProperty, isLinkProperty, isMarkdownOrString, isMetadataArray, isMetadataAttribute, isMetadataBody, isMetadataProperty, isMetadataValue, isModel, isModelDeployments, isModelReferenceable, isModelViews, isMultipleProperty, isNavigateToProperty, isNotationProperty, isNotesProperty, isOpacityProperty, isOutgoingRelationExpr, isPaddingSizeProperty, isParticipant, isRGBAColor, isRankValue, isReferenceable, isRelation, isRelationBody, isRelationExpr, isRelationExprOrWhere, isRelationExprOrWith, isRelationExprWhere, isRelationExprWith, isRelationKindDotRef, isRelationNavigateToProperty, isRelationProperty, isRelationStringProperty, isRelationStyleProperty, isRelationshipKind, isRelationshipStyleProperty, isShapeProperty, isShapeSizeProperty, isSizeProperty, isSizeValue, isSpecificationColor, isSpecificationDeploymentNodeKind, isSpecificationElementKind, isSpecificationElementStringProperty, isSpecificationRelationshipKind, isSpecificationRelationshipStringProperty, isSpecificationRule, isSpecificationTag, isStrictFqnElementRef, isStrictFqnRef, isStringProperty, isStyleProperty, isTag, isTagRef, isTags, isTextSizeProperty, isThemeColor, isUri, isViewLayoutDirection, isViewProperty, isViewRef, isViewRule, isViewRuleAutoLayout, isViewRuleGlobalPredicateRef, isViewRuleGlobalStyle, isViewRuleGroup, isViewRulePredicate, isViewRuleRank, isViewRuleStyle, isViewRuleStyleOrGlobalRef, isViewStringProperty, isWhereBinaryExpression, isWhereElement, isWhereElementExpression, isWhereElementKind, isWhereElementNegation, isWhereElementTag, isWhereExpression, isWhereKindEqual, isWhereRelation, isWhereRelationExpression, isWhereRelationKind, isWhereRelationNegation, isWhereRelationParticipantKind, isWhereRelationParticipantTag, isWhereRelationTag, isWhereTagEqual, isWildcardExpression, reflection };
@@ -1,3 +0,0 @@
1
- import { $ as ExtendElement, $a as isTags, $i as isLinkProperty, $n as WhereExpression, $r as isElementKind, $t as PaddingSizeProperty, A as DynamicViewGlobalPredicateRef, Aa as isRelationProperty, Ai as isGlobalPredicateGroup, An as StyleProperty, Ao as isWhereRelationTag, Ar as isDeploymentRelation, At as LikeC4AstReflection, B as ElementKindExpression, Ba as isSpecificationDeploymentNodeKind, Bi as isIconProperty, Bn as ViewRuleGlobalStyle, Br as isDynamicView, Bt as MetadataBody, C as DeploymentViewRuleStyle, Ca as isRelationExpr, Ci as isFqnExprWhere, Cn as SpecificationRelationshipKind, Co as isWhereKindEqual, Cr as isDeployedInstance, Ct as IconProperty, D as DynamicView, Da as isRelationExprWith, Di as isFqnRefExpr, Dn as StrictFqnElementRef, Do as isWhereRelationNegation, Dr as isDeploymentNodeBody, Dt as InOutRelationExpr, E as DynamicStepSingle, Ea as isRelationExprWhere, Ei as isFqnRef, En as SpecificationTag, Eo as isWhereRelationKind, Er as isDeploymentNode, Et as ImportsFromPoject, F as DynamicViewRule, Fa as isShapeProperty, Fi as isHexColor, Fn as ViewProperty, Fr as isDeploymentViewRulePredicate, Ft as LineProperty, G as ElementTagExpression, Ga as isSpecificationRule, Gi as isInOutRelationExpr, Gn as ViewRuleStyleOrGlobalRef, Gr as isDynamicViewIncludePredicate, Gt as ModelReferenceable, H as ElementRef, Ha as isSpecificationElementStringProperty, Hi as isId, Hn as ViewRulePredicate, Hr as isDynamicViewDisplayVariantProperty, Ht as MetadataValue, I as DynamicViewStep, Ia as isShapeSizeProperty, Ii as isIconColorProperty, In as ViewRef, Ir as isDeploymentViewRuleStyle, It as LinkProperty, J as ElementViewRef, Ja as isStrictFqnRef, Ji as isLikeC4Grammar, Jn as WhereElement, Jr as isDynamicViewRef, Jt as NavigateToProperty, K as ElementView, Ka as isSpecificationTag, Ki as isIncomingRelationExpr, Kn as ViewStringProperty, Kr as isDynamicViewParallelSteps, Kt as ModelViews, L as Element, La as isSizeProperty, Li as isIconId, Ln as ViewRule, Lr as isDirectedRelationExpr, Lt as MarkdownOrString, M as DynamicViewParallelSteps, Ma as isRelationStyleProperty, Mi as isGlobalStyleGroup, Mn as TagRef, Mo as isWildcardExpression, Mr as isDeploymentView, Mt as LikeC4Lib, N as DynamicViewProperty, Na as isRelationshipKind, Ni as isGlobalStyleId, Nn as Tags, No as reflection, Nr as isDeploymentViewBody, Nt as LikeC4Terminals, O as DynamicViewBody, Oa as isRelationKindDotRef, Oi as isFqnReferenceable, On as StrictFqnRef, Oo as isWhereRelationParticipantKind, Or as isDeploymentNodeKind, Ot as IncomingRelationExpr, P as DynamicViewRef, Pa as isRelationshipStyleProperty, Pi as isGlobals, Pn as TextSizeProperty, Pr as isDeploymentViewRule, Pt as LikeC4View, Q as ExtendDeploymentBody, Qa as isTagRef, Qi as isLineProperty, Qn as WhereElementTag, Qr as isElementBody, Qt as OutgoingRelationExpr, R as ElementBody, Ra as isSizeValue, Ri as isIconPositionProperty, Rn as ViewRuleAutoLayout, Rr as isDynamicStepChain, Rt as MetadataArray, S as DeploymentViewRulePredicate, Sa as isRelationBody, Si as isFqnExprOrWith, Sn as SpecificationElementStringProperty, So as isWhereExpression, Sr as isCustomRelationProperties, St as IconPositionProperty, T as DynamicStepChain, Ta as isRelationExprOrWith, Ti as isFqnExpressions, Tn as SpecificationRule, To as isWhereRelationExpression, Tr as isDeploymentElement, Tt as Imported, U as ElementStringProperty, Ua as isSpecificationRelationshipKind, Ui as isImported, Un as ViewRuleRank, Ur as isDynamicViewDisplayVariantValue, Ut as Model, V as ElementProperty, Va as isSpecificationElementKind, Vi as isIconSizeProperty, Vn as ViewRuleGroup, Vr as isDynamicViewBody, Vt as MetadataProperty, W as ElementStyleProperty, Wa as isSpecificationRelationshipStringProperty, Wi as isImportsFromPoject, Wn as ViewRuleStyle, Wr as isDynamicViewGlobalPredicateRef, Wt as ModelDeployments, X as Expressions, Xa as isStyleProperty, Xi as isLikeC4View, Xn as WhereElementKind, Xr as isDynamicViewStep, Xt as NotesProperty, Y as ExpressionV2, Ya as isStringProperty, Yi as isLikeC4Lib, Yn as WhereElementExpression, Yr as isDynamicViewRule, Yt as NotationProperty, Z as ExtendDeployment, Za as isTag, Zi as isLineOptions, Zn as WhereElementNegation, Zr as isElement, Zt as OpacityProperty, _ as DeploymentRelation, _a as isParticipant, _i as isExtendRelation, _n as ShapeSizeProperty, _o as isWhereElement, _r as isColorLiteral, _t as GlobalStyleGroup, a as ColorLiteral, aa as isMetadataValue, ai as isElementStyleProperty, an as RelationExprOrWhere, ao as isViewRef, ar as WhereRelationParticipantKind, at as FqnExpr, b as DeploymentViewBody, ba as isReferenceable, bi as isFqnExpr, bn as SpecificationDeploymentNodeKind, bo as isWhereElementNegation, br as isCustomColorId, bt as HexColor, c as CustomElementProperties, ca as isModelReferenceable, ci as isElementViewBody, cn as RelationExprWith, co as isViewRuleGlobalPredicateRef, cr as WhereTagEqual, ct as FqnExprWhere, d as DeployedInstanceBody, da as isNavigateToProperty, di as isExpressions, dn as RelationProperty, do as isViewRulePredicate, dr as isAbstractDynamicStep, dt as FqnRef, ea as isMarkdownOrString, ei as isElementKindExpression, en as RGBAColor, eo as isTextSizeProperty, er as WhereKindEqual, et as ExtendElementBody, f as DeploymentElement, fa as isNotationProperty, fi as isExtendDeployment, fn as RelationStringProperty, fo as isViewRuleRank, fr as isAnyProperty, ft as FqnRefExpr, g as DeploymentNodeOrElementKind, ga as isPaddingSizeProperty, gi as isExtendElementProperty, gn as ShapeProperty, go as isWhereBinaryExpression, gr as isBorderStyleValue, gt as GlobalStyle, h as DeploymentNodeKind, ha as isOutgoingRelationExpr, hi as isExtendElementBody, hn as RelationshipStyleProperty, ho as isViewStringProperty, hr as isBorderProperty, ht as GlobalPredicateGroup, i as BorderProperty, ia as isMetadataProperty, ii as isElementStringProperty, in as RelationExpr, io as isViewProperty, ir as WhereRelationNegation, it as ExtendRelationProperty, j as DynamicViewIncludePredicate, ja as isRelationStringProperty, ji as isGlobalStyle, jn as Tag, jo as isWhereTagEqual, jr as isDeploymentRelationBody, jt as LikeC4Grammar, k as DynamicViewDisplayVariantProperty, ka as isRelationNavigateToProperty, ki as isGlobalDynamicPredicateGroup, kn as StringProperty, ko as isWhereRelationParticipantTag, kr as isDeploymentNodeOrElementKind, kt as LibIcon, l as CustomRelationProperties, la as isModelViews, li as isElementViewRef, ln as RelationKindDotRef, lo as isViewRuleGlobalStyle, lr as WildcardExpression, lt as FqnExprWith, m as DeploymentNodeBody, ma as isOpacityProperty, mi as isExtendElement, mn as RelationshipKind, mo as isViewRuleStyleOrGlobalRef, mr as isArrowType, mt as GlobalDynamicPredicateGroup, n as AnyProperty, na as isMetadataAttribute, ni as isElementRef, nn as Relation, no as isUri, nr as WhereRelationExpression, nt as ExtendRelation, o as ColorProperty, oa as isModel, oi as isElementTagExpression, on as RelationExprOrWith, oo as isViewRule, or as WhereRelationParticipantTag, ot as FqnExprOrWhere, p as DeploymentNode, pa as isNotesProperty, pi as isExtendDeploymentBody, pn as RelationStyleProperty, po as isViewRuleStyle, pr as isArrowProperty, pt as FqnReferenceable, q as ElementViewBody, qa as isStrictFqnElementRef, qi as isLibIcon, qn as WhereBinaryExpression, qr as isDynamicViewProperty, qt as MultipleProperty, r as ArrowProperty, ra as isMetadataBody, ri as isElementShape, rn as RelationBody, ro as isViewLayoutDirection, rr as WhereRelationKind, rt as ExtendRelationBody, s as CustomColor, sa as isModelDeployments, si as isElementView, sn as RelationExprWhere, so as isViewRuleAutoLayout, sr as WhereRelationTag, st as FqnExprOrWith, t as AbstractDynamicStep, ta as isMetadataArray, ti as isElementProperty, tn as Referenceable, to as isThemeColor, tr as WhereRelation, tt as ExtendElementProperty, u as DeployedInstance, ua as isMultipleProperty, ui as isExpressionV2, un as RelationNavigateToProperty, uo as isViewRuleGroup, ut as FqnExpressions, v as DeploymentRelationBody, va as isRGBAColor, vi as isExtendRelationBody, vn as SizeProperty, vo as isWhereElementExpression, vr as isColorProperty, vt as GlobalStyleId, w as DirectedRelationExpr, wa as isRelationExprOrWhere, wi as isFqnExprWith, wn as SpecificationRelationshipStringProperty, wo as isWhereRelation, wr as isDeployedInstanceBody, wt as IconSizeProperty, x as DeploymentViewRule, xa as isRelation, xi as isFqnExprOrWhere, xn as SpecificationElementKind, xo as isWhereElementTag, xr as isCustomElementProperties, xt as IconColorProperty, y as DeploymentView, ya as isRankValue, yi as isExtendRelationProperty, yn as SpecificationColor, yo as isWhereElementKind, yr as isCustomColor, yt as Globals, z as ElementKind, za as isSpecificationColor, zi as isIconPositionValue, zn as ViewRuleGlobalPredicateRef, zr as isDynamicStepSingle, zt as MetadataAttribute } from "../_chunks/ast.mjs";
2
-
3
- export { AbstractDynamicStep, AnyProperty, ArrowProperty, BorderProperty, ColorLiteral, ColorProperty, CustomColor, CustomElementProperties, CustomRelationProperties, DeployedInstance, DeployedInstanceBody, DeploymentElement, DeploymentNode, DeploymentNodeBody, DeploymentNodeKind, DeploymentNodeOrElementKind, DeploymentRelation, DeploymentRelationBody, DeploymentView, DeploymentViewBody, DeploymentViewRule, DeploymentViewRulePredicate, DeploymentViewRuleStyle, DirectedRelationExpr, DynamicStepChain, DynamicStepSingle, DynamicView, DynamicViewBody, DynamicViewDisplayVariantProperty, DynamicViewGlobalPredicateRef, DynamicViewIncludePredicate, DynamicViewParallelSteps, DynamicViewProperty, DynamicViewRef, DynamicViewRule, DynamicViewStep, Element, ElementBody, ElementKind, ElementKindExpression, ElementProperty, ElementRef, ElementStringProperty, ElementStyleProperty, ElementTagExpression, ElementView, ElementViewBody, ElementViewRef, ExpressionV2, Expressions, ExtendDeployment, ExtendDeploymentBody, ExtendElement, ExtendElementBody, ExtendElementProperty, ExtendRelation, ExtendRelationBody, ExtendRelationProperty, FqnExpr, FqnExprOrWhere, FqnExprOrWith, FqnExprWhere, FqnExprWith, FqnExpressions, FqnRef, FqnRefExpr, FqnReferenceable, GlobalDynamicPredicateGroup, GlobalPredicateGroup, GlobalStyle, GlobalStyleGroup, GlobalStyleId, Globals, HexColor, IconColorProperty, IconPositionProperty, IconProperty, IconSizeProperty, Imported, ImportsFromPoject, InOutRelationExpr, IncomingRelationExpr, LibIcon, LikeC4AstReflection, LikeC4Grammar, LikeC4Lib, LikeC4Terminals, LikeC4View, LineProperty, LinkProperty, MarkdownOrString, MetadataArray, MetadataAttribute, MetadataBody, MetadataProperty, MetadataValue, Model, ModelDeployments, ModelReferenceable, ModelViews, MultipleProperty, NavigateToProperty, NotationProperty, NotesProperty, OpacityProperty, OutgoingRelationExpr, PaddingSizeProperty, RGBAColor, Referenceable, Relation, RelationBody, RelationExpr, RelationExprOrWhere, RelationExprOrWith, RelationExprWhere, RelationExprWith, RelationKindDotRef, RelationNavigateToProperty, RelationProperty, RelationStringProperty, RelationStyleProperty, RelationshipKind, RelationshipStyleProperty, ShapeProperty, ShapeSizeProperty, SizeProperty, SpecificationColor, SpecificationDeploymentNodeKind, SpecificationElementKind, SpecificationElementStringProperty, SpecificationRelationshipKind, SpecificationRelationshipStringProperty, SpecificationRule, SpecificationTag, StrictFqnElementRef, StrictFqnRef, StringProperty, StyleProperty, Tag, TagRef, Tags, TextSizeProperty, ViewProperty, ViewRef, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRuleGroup, ViewRulePredicate, ViewRuleRank, ViewRuleStyle, ViewRuleStyleOrGlobalRef, ViewStringProperty, WhereBinaryExpression, WhereElement, WhereElementExpression, WhereElementKind, WhereElementNegation, WhereElementTag, WhereExpression, WhereKindEqual, WhereRelation, WhereRelationExpression, WhereRelationKind, WhereRelationNegation, WhereRelationParticipantKind, WhereRelationParticipantTag, WhereRelationTag, WhereTagEqual, WildcardExpression, isAbstractDynamicStep, isAnyProperty, isArrowProperty, isArrowType, isBorderProperty, isBorderStyleValue, isColorLiteral, isColorProperty, isCustomColor, isCustomColorId, isCustomElementProperties, isCustomRelationProperties, isDeployedInstance, isDeployedInstanceBody, isDeploymentElement, isDeploymentNode, isDeploymentNodeBody, isDeploymentNodeKind, isDeploymentNodeOrElementKind, isDeploymentRelation, isDeploymentRelationBody, isDeploymentView, isDeploymentViewBody, isDeploymentViewRule, isDeploymentViewRulePredicate, isDeploymentViewRuleStyle, isDirectedRelationExpr, isDynamicStepChain, isDynamicStepSingle, isDynamicView, isDynamicViewBody, isDynamicViewDisplayVariantProperty, isDynamicViewDisplayVariantValue, isDynamicViewGlobalPredicateRef, isDynamicViewIncludePredicate, isDynamicViewParallelSteps, isDynamicViewProperty, isDynamicViewRef, isDynamicViewRule, isDynamicViewStep, isElement, isElementBody, isElementKind, isElementKindExpression, isElementProperty, isElementRef, isElementShape, isElementStringProperty, isElementStyleProperty, isElementTagExpression, isElementView, isElementViewBody, isElementViewRef, isExpressionV2, isExpressions, isExtendDeployment, isExtendDeploymentBody, isExtendElement, isExtendElementBody, isExtendElementProperty, isExtendRelation, isExtendRelationBody, isExtendRelationProperty, isFqnExpr, isFqnExprOrWhere, isFqnExprOrWith, isFqnExprWhere, isFqnExprWith, isFqnExpressions, isFqnRef, isFqnRefExpr, isFqnReferenceable, isGlobalDynamicPredicateGroup, isGlobalPredicateGroup, isGlobalStyle, isGlobalStyleGroup, isGlobalStyleId, isGlobals, isHexColor, isIconColorProperty, isIconId, isIconPositionProperty, isIconPositionValue, isIconProperty, isIconSizeProperty, isId, isImported, isImportsFromPoject, isInOutRelationExpr, isIncomingRelationExpr, isLibIcon, isLikeC4Grammar, isLikeC4Lib, isLikeC4View, isLineOptions, isLineProperty, isLinkProperty, isMarkdownOrString, isMetadataArray, isMetadataAttribute, isMetadataBody, isMetadataProperty, isMetadataValue, isModel, isModelDeployments, isModelReferenceable, isModelViews, isMultipleProperty, isNavigateToProperty, isNotationProperty, isNotesProperty, isOpacityProperty, isOutgoingRelationExpr, isPaddingSizeProperty, isParticipant, isRGBAColor, isRankValue, isReferenceable, isRelation, isRelationBody, isRelationExpr, isRelationExprOrWhere, isRelationExprOrWith, isRelationExprWhere, isRelationExprWith, isRelationKindDotRef, isRelationNavigateToProperty, isRelationProperty, isRelationStringProperty, isRelationStyleProperty, isRelationshipKind, isRelationshipStyleProperty, isShapeProperty, isShapeSizeProperty, isSizeProperty, isSizeValue, isSpecificationColor, isSpecificationDeploymentNodeKind, isSpecificationElementKind, isSpecificationElementStringProperty, isSpecificationRelationshipKind, isSpecificationRelationshipStringProperty, isSpecificationRule, isSpecificationTag, isStrictFqnElementRef, isStrictFqnRef, isStringProperty, isStyleProperty, isTag, isTagRef, isTags, isTextSizeProperty, isThemeColor, isUri, isViewLayoutDirection, isViewProperty, isViewRef, isViewRule, isViewRuleAutoLayout, isViewRuleGlobalPredicateRef, isViewRuleGlobalStyle, isViewRuleGroup, isViewRulePredicate, isViewRuleRank, isViewRuleStyle, isViewRuleStyleOrGlobalRef, isViewStringProperty, isWhereBinaryExpression, isWhereElement, isWhereElementExpression, isWhereElementKind, isWhereElementNegation, isWhereElementTag, isWhereExpression, isWhereKindEqual, isWhereRelation, isWhereRelationExpression, isWhereRelationKind, isWhereRelationNegation, isWhereRelationParticipantKind, isWhereRelationParticipantTag, isWhereRelationTag, isWhereTagEqual, isWildcardExpression, reflection };
@@ -1,6 +0,0 @@
1
- import { Grammar } from "langium";
2
-
3
- //#region src/generated/grammar.d.ts
4
- declare const LikeC4Grammar: () => Grammar;
5
- //#endregion
6
- export { LikeC4Grammar };
@@ -1,3 +0,0 @@
1
- import { t as LikeC4Grammar } from "../_chunks/grammar.mjs";
2
-
3
- export { LikeC4Grammar };
@@ -1,14 +0,0 @@
1
- import { IParserConfig, LangiumCoreServices, LangiumGeneratedCoreServices, LangiumGeneratedSharedCoreServices, LangiumSharedCoreServices, Module } from "langium";
2
-
3
- //#region src/generated/module.d.ts
4
- declare const LikeC4LanguageMetaData: {
5
- readonly languageId: "likec4";
6
- readonly fileExtensions: readonly [".c4", ".likec4", ".like-c4"];
7
- readonly caseInsensitive: false;
8
- readonly mode: "production";
9
- };
10
- declare const parserConfig: IParserConfig;
11
- declare const LikeC4GeneratedSharedModule: Module<LangiumSharedCoreServices, LangiumGeneratedSharedCoreServices>;
12
- declare const LikeC4GeneratedModule: Module<LangiumCoreServices, LangiumGeneratedCoreServices>;
13
- //#endregion
14
- export { LikeC4GeneratedModule, LikeC4GeneratedSharedModule, LikeC4LanguageMetaData, parserConfig };
@@ -1,3 +0,0 @@
1
- import { i as parserConfig, n as LikeC4GeneratedSharedModule, r as LikeC4LanguageMetaData, t as LikeC4GeneratedModule } from "../_chunks/module.mjs";
2
-
3
- export { LikeC4GeneratedModule, LikeC4GeneratedSharedModule, LikeC4LanguageMetaData, parserConfig };
@@ -1,4 +0,0 @@
1
- //#region src/generated-lib/icons.d.ts
2
- declare const LibIcons: string;
3
- //#endregion
4
- export { LibIcons };
@@ -1,3 +0,0 @@
1
- import { t as LibIcons } from "../_chunks/icons.mjs";
2
-
3
- export { LibIcons };