likec4 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__app__/react/likec4.tsx +64 -12
- package/dist/__app__/src/chunks/{-index-overview-BAmvrzHU.js → -index-overview-DZ3H7kDb.js} +2 -2
- package/dist/__app__/src/chunks/{main-BZtdykGF.js → main-KEhBGhZ8.js} +1055 -820
- package/dist/__app__/src/chunks/{mantine-Bhi3pgTf.js → mantine-BnwtT_Nz.js} +54 -53
- package/dist/__app__/src/main.js +1 -1
- package/dist/__app__/src/style.css +1 -1
- package/dist/__app__/webcomponent/webcomponent.js +594 -389
- package/dist/cli/index.mjs +115 -74
- package/dist/index.d.mts +92 -61
- package/dist/index.mjs +1 -1
- package/dist/shared/likec4.BaYahRry.mjs +1221 -0
- package/package.json +13 -10
- package/react/index.d.ts +1064 -9
- package/react/index.mjs +902 -603
- package/react/style.css +1 -0
- package/dist/shared/likec4.D4BZc04H.mjs +0 -1219
- package/react/LikeC4Browser.css.d.ts +0 -4
- package/react/LikeC4Browser.d.ts +0 -31
- package/react/LikeC4ViewElement.d.ts +0 -56
- package/react/ShadowRoot.d.ts +0 -6
- package/react/ShadowRootMantineProvider.d.ts +0 -7
- package/react/styles.css.d.ts +0 -4
- package/react/styles.d.ts +0 -4
- package/react/types-filter.d.ts +0 -33
- package/react/types.d.ts +0 -76
package/dist/index.d.mts
CHANGED
|
@@ -208,6 +208,7 @@ type Tag$2 = Tagged$1<string, 'Tag'>;
|
|
|
208
208
|
interface Link {
|
|
209
209
|
readonly title?: string;
|
|
210
210
|
readonly url: string;
|
|
211
|
+
readonly relative?: string;
|
|
211
212
|
}
|
|
212
213
|
interface Element$1 {
|
|
213
214
|
readonly id: Fqn$1;
|
|
@@ -270,37 +271,6 @@ type OrOperator<Tag, Kind> = Omit<AllNever, 'or'> & {
|
|
|
270
271
|
};
|
|
271
272
|
type WhereOperator<Tag, Kind> = TagEqual<Tag> | KindEqual<Kind> | NotOperator<Tag, Kind> | AndOperator<Tag, Kind> | OrOperator<Tag, Kind>;
|
|
272
273
|
|
|
273
|
-
type RelationID$1 = Tagged$1<string, 'RelationID'>;
|
|
274
|
-
type RelationshipKind$1 = Tagged$1<string, 'RelationshipKind'>;
|
|
275
|
-
type RelationshipLineType = 'dashed' | 'solid' | 'dotted';
|
|
276
|
-
type RelationshipArrowType = 'none' | 'normal' | 'onormal' | 'dot' | 'odot' | 'diamond' | 'odiamond' | 'crow' | 'open' | 'vee';
|
|
277
|
-
interface Relation$1 {
|
|
278
|
-
readonly id: RelationID$1;
|
|
279
|
-
readonly source: Fqn$1;
|
|
280
|
-
readonly target: Fqn$1;
|
|
281
|
-
readonly title: string;
|
|
282
|
-
readonly description?: string;
|
|
283
|
-
readonly technology?: string;
|
|
284
|
-
readonly tags?: NonEmptyArray<Tag$2>;
|
|
285
|
-
readonly kind?: RelationshipKind$1;
|
|
286
|
-
readonly color?: Color$1;
|
|
287
|
-
readonly line?: RelationshipLineType;
|
|
288
|
-
readonly head?: RelationshipArrowType;
|
|
289
|
-
readonly tail?: RelationshipArrowType;
|
|
290
|
-
readonly links?: NonEmptyArray<Link>;
|
|
291
|
-
readonly metadata?: {
|
|
292
|
-
[key: string]: string;
|
|
293
|
-
};
|
|
294
|
-
}
|
|
295
|
-
interface RelationshipKindSpecification {
|
|
296
|
-
readonly technology?: string;
|
|
297
|
-
readonly notation?: string;
|
|
298
|
-
readonly color?: Color$1;
|
|
299
|
-
readonly line?: RelationshipLineType;
|
|
300
|
-
readonly head?: RelationshipArrowType;
|
|
301
|
-
readonly tail?: RelationshipArrowType;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
274
|
type ElementNotation = {
|
|
305
275
|
kinds: ElementKind$1[];
|
|
306
276
|
shape: ElementShape$1;
|
|
@@ -375,31 +345,37 @@ interface DynamicViewStep$1 {
|
|
|
375
345
|
readonly description?: string;
|
|
376
346
|
readonly technology?: string;
|
|
377
347
|
readonly notation?: string;
|
|
348
|
+
readonly notes?: string;
|
|
378
349
|
readonly color?: Color$1;
|
|
379
350
|
readonly line?: RelationshipLineType;
|
|
380
351
|
readonly head?: RelationshipArrowType;
|
|
381
352
|
readonly tail?: RelationshipArrowType;
|
|
382
353
|
readonly isBackward?: boolean;
|
|
354
|
+
readonly navigateTo?: ViewID$1;
|
|
355
|
+
__parallel?: never;
|
|
383
356
|
}
|
|
357
|
+
interface DynamicViewParallelSteps$1 {
|
|
358
|
+
readonly __parallel: DynamicViewStep$1[];
|
|
359
|
+
}
|
|
360
|
+
type DynamicViewStepOrParallel = DynamicViewStep$1 | DynamicViewParallelSteps$1;
|
|
384
361
|
type DynamicViewIncludeRule = {
|
|
385
362
|
include: ElementPredicateExpression[];
|
|
386
363
|
};
|
|
387
364
|
type DynamicViewRule$1 = DynamicViewIncludeRule | ViewRuleStyle$1 | ViewRuleAutoLayout$1;
|
|
388
365
|
interface DynamicView$1 extends BasicView<'dynamic'> {
|
|
389
366
|
readonly __: 'dynamic';
|
|
390
|
-
readonly steps:
|
|
367
|
+
readonly steps: DynamicViewStepOrParallel[];
|
|
391
368
|
readonly rules: DynamicViewRule$1[];
|
|
392
369
|
}
|
|
393
370
|
type CustomColorDefinitions = {
|
|
394
371
|
[key: string]: ThemeColorValues;
|
|
395
372
|
};
|
|
396
373
|
type LikeC4View$1 = ElementView$1 | DynamicView$1;
|
|
397
|
-
declare function isDynamicView(view: LikeC4View$1): view is DynamicView$1;
|
|
398
374
|
type NodeId = Tagged$1<string, 'Fqn'>;
|
|
399
375
|
type EdgeId$1 = Tagged$1<string, 'EdgeId'>;
|
|
400
|
-
type StepEdgeIdLiteral = `step-${number}`;
|
|
376
|
+
type StepEdgeIdLiteral = `step-${number}` | `step-${number}.${number}`;
|
|
401
377
|
type StepEdgeId = Tagged$1<StepEdgeIdLiteral, 'EdgeId'>;
|
|
402
|
-
declare function StepEdgeId(step: number): StepEdgeId;
|
|
378
|
+
declare function StepEdgeId(step: number, parallelStep?: number): StepEdgeId;
|
|
403
379
|
declare function isStepEdgeId(id: string): id is StepEdgeId;
|
|
404
380
|
declare function extractStep(id: EdgeId$1): number;
|
|
405
381
|
interface ComputedNode {
|
|
@@ -443,11 +419,14 @@ interface ComputedEdge {
|
|
|
443
419
|
technology?: string;
|
|
444
420
|
relations: RelationID$1[];
|
|
445
421
|
kind?: RelationshipKind$1;
|
|
422
|
+
notation?: string;
|
|
423
|
+
notes?: string;
|
|
446
424
|
color?: Color$1;
|
|
447
425
|
line?: RelationshipLineType;
|
|
448
426
|
head?: RelationshipArrowType;
|
|
449
427
|
tail?: RelationshipArrowType;
|
|
450
428
|
tags?: NonEmptyArray<Tag$2>;
|
|
429
|
+
navigateTo?: ViewID$1;
|
|
451
430
|
/**
|
|
452
431
|
* If this edge is derived from custom relationship predicate
|
|
453
432
|
*/
|
|
@@ -539,6 +518,38 @@ type ViewManualLayout = {
|
|
|
539
518
|
}>;
|
|
540
519
|
};
|
|
541
520
|
|
|
521
|
+
type RelationID$1 = Tagged$1<string, 'RelationID'>;
|
|
522
|
+
type RelationshipKind$1 = Tagged$1<string, 'RelationshipKind'>;
|
|
523
|
+
type RelationshipLineType = 'dashed' | 'solid' | 'dotted';
|
|
524
|
+
type RelationshipArrowType = 'none' | 'normal' | 'onormal' | 'dot' | 'odot' | 'diamond' | 'odiamond' | 'crow' | 'open' | 'vee';
|
|
525
|
+
interface Relation$1 {
|
|
526
|
+
readonly id: RelationID$1;
|
|
527
|
+
readonly source: Fqn$1;
|
|
528
|
+
readonly target: Fqn$1;
|
|
529
|
+
readonly title: string;
|
|
530
|
+
readonly description?: string;
|
|
531
|
+
readonly technology?: string;
|
|
532
|
+
readonly tags?: NonEmptyArray<Tag$2>;
|
|
533
|
+
readonly kind?: RelationshipKind$1;
|
|
534
|
+
readonly color?: Color$1;
|
|
535
|
+
readonly line?: RelationshipLineType;
|
|
536
|
+
readonly head?: RelationshipArrowType;
|
|
537
|
+
readonly tail?: RelationshipArrowType;
|
|
538
|
+
readonly links?: NonEmptyArray<Link>;
|
|
539
|
+
readonly navigateTo?: ViewID$1;
|
|
540
|
+
readonly metadata?: {
|
|
541
|
+
[key: string]: string;
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
interface RelationshipKindSpecification {
|
|
545
|
+
readonly technology?: string;
|
|
546
|
+
readonly notation?: string;
|
|
547
|
+
readonly color?: Color$1;
|
|
548
|
+
readonly line?: RelationshipLineType;
|
|
549
|
+
readonly head?: RelationshipArrowType;
|
|
550
|
+
readonly tail?: RelationshipArrowType;
|
|
551
|
+
}
|
|
552
|
+
|
|
542
553
|
interface BaseExpr {
|
|
543
554
|
where?: never;
|
|
544
555
|
element?: never;
|
|
@@ -625,6 +636,8 @@ interface CustomRelationExpr extends Omit<BaseExpr, 'customRelation'> {
|
|
|
625
636
|
description?: string;
|
|
626
637
|
technology?: string;
|
|
627
638
|
notation?: string;
|
|
639
|
+
navigateTo?: ViewID$1;
|
|
640
|
+
notes?: string;
|
|
628
641
|
color?: Color$1;
|
|
629
642
|
line?: RelationshipLineType;
|
|
630
643
|
head?: RelationshipArrowType;
|
|
@@ -1390,10 +1403,10 @@ declare function ancestorsFqn(fqn: Fqn$1): Fqn$1[];
|
|
|
1390
1403
|
* - Positive number if a is deeper than b.
|
|
1391
1404
|
* - Negative number if b is deeper than a.
|
|
1392
1405
|
*/
|
|
1393
|
-
declare function compareFqnHierarchically<T extends string = string>(a: T, b: T):
|
|
1406
|
+
declare function compareFqnHierarchically<T extends string = string>(a: T, b: T): -1 | 0 | 1;
|
|
1394
1407
|
declare function compareByFqnHierarchically<T extends {
|
|
1395
1408
|
id: string;
|
|
1396
|
-
}>(a: T, b: T):
|
|
1409
|
+
}>(a: T, b: T): 0 | 1 | -1;
|
|
1397
1410
|
|
|
1398
1411
|
/**
|
|
1399
1412
|
* This should only be used for defining generics which extend any kind of JS
|
|
@@ -1479,7 +1492,7 @@ declare function hasAtLeast(minimum: number): (data: IterableContainer) => boole
|
|
|
1479
1492
|
declare const compareRelations: <T extends {
|
|
1480
1493
|
source: string;
|
|
1481
1494
|
target: string;
|
|
1482
|
-
}>(a: T, b: T) =>
|
|
1495
|
+
}>(a: T, b: T) => 0 | 1 | -1;
|
|
1483
1496
|
|
|
1484
1497
|
/**
|
|
1485
1498
|
* A tagging type for string properties that are actually document URIs.
|
|
@@ -15181,16 +15194,6 @@ interface RenameProvider {
|
|
|
15181
15194
|
*/
|
|
15182
15195
|
prepareRename(document: LangiumDocument, params: TextDocumentPositionParams, cancelToken?: CancellationToken): MaybePromise<Range$1 | undefined>;
|
|
15183
15196
|
}
|
|
15184
|
-
declare class DefaultRenameProvider implements RenameProvider {
|
|
15185
|
-
protected readonly references: References;
|
|
15186
|
-
protected readonly nameProvider: NameProvider;
|
|
15187
|
-
protected readonly grammarConfig: GrammarConfig;
|
|
15188
|
-
constructor(services: LangiumServices);
|
|
15189
|
-
rename(document: LangiumDocument, params: RenameParams): Promise<WorkspaceEdit | undefined>;
|
|
15190
|
-
prepareRename(document: LangiumDocument, params: TextDocumentPositionParams): MaybePromise<Range$1 | undefined>;
|
|
15191
|
-
protected renameNodeRange(doc: LangiumDocument, position: Position$2): Range$1 | undefined;
|
|
15192
|
-
protected isNameNode(leafNode: CstNode | undefined): boolean | undefined;
|
|
15193
|
-
}
|
|
15194
15197
|
|
|
15195
15198
|
/******************************************************************************
|
|
15196
15199
|
* Copyright 2022 TypeFox GmbH
|
|
@@ -15651,11 +15654,11 @@ type RelationPredicate = RelationPredicateOrWhere | RelationPredicateWith;
|
|
|
15651
15654
|
declare const RelationPredicate = "RelationPredicate";
|
|
15652
15655
|
type RelationPredicateOrWhere = RelationExpression | RelationPredicateWhere;
|
|
15653
15656
|
declare const RelationPredicateOrWhere = "RelationPredicateOrWhere";
|
|
15654
|
-
type RelationProperty = LinkProperty | MetadataProperty | RelationStringProperty | RelationStyleProperty;
|
|
15657
|
+
type RelationProperty = LinkProperty | MetadataProperty | RelationNavigateToProperty | RelationStringProperty | RelationStyleProperty;
|
|
15655
15658
|
declare const RelationProperty = "RelationProperty";
|
|
15656
15659
|
type RelationshipStyleProperty = ArrowProperty | ColorProperty | LineProperty;
|
|
15657
15660
|
declare const RelationshipStyleProperty = "RelationshipStyleProperty";
|
|
15658
|
-
type StringProperty = ElementStringProperty | MetadataAttribute | NotationProperty | RelationStringProperty | SpecificationElementStringProperty | SpecificationRelationshipStringProperty | ViewStringProperty;
|
|
15661
|
+
type StringProperty = ElementStringProperty | MetadataAttribute | NotationProperty | NotesProperty | RelationStringProperty | SpecificationElementStringProperty | SpecificationRelationshipStringProperty | ViewStringProperty;
|
|
15659
15662
|
declare const StringProperty = "StringProperty";
|
|
15660
15663
|
type StyleProperty = BorderProperty | ColorProperty | IconProperty | OpacityProperty | ShapeProperty;
|
|
15661
15664
|
declare const StyleProperty = "StyleProperty";
|
|
@@ -15719,7 +15722,7 @@ declare const CustomElementProperties = "CustomElementProperties";
|
|
|
15719
15722
|
interface CustomRelationProperties extends AstNode {
|
|
15720
15723
|
readonly $container: DynamicViewStep | RelationPredicateWith;
|
|
15721
15724
|
readonly $type: 'CustomRelationProperties';
|
|
15722
|
-
props: Array<NotationProperty | RelationStringProperty | RelationshipStyleProperty>;
|
|
15725
|
+
props: Array<NotationProperty | NotesProperty | RelationNavigateToProperty | RelationStringProperty | RelationshipStyleProperty>;
|
|
15723
15726
|
}
|
|
15724
15727
|
declare const CustomRelationProperties = "CustomRelationProperties";
|
|
15725
15728
|
interface DirectedRelationExpression extends AstNode {
|
|
@@ -15741,7 +15744,7 @@ interface DynamicViewBody extends AstNode {
|
|
|
15741
15744
|
readonly $type: 'DynamicViewBody';
|
|
15742
15745
|
props: Array<ViewProperty>;
|
|
15743
15746
|
rules: Array<DynamicViewRule>;
|
|
15744
|
-
steps: Array<DynamicViewStep>;
|
|
15747
|
+
steps: Array<DynamicViewParallelSteps | DynamicViewStep>;
|
|
15745
15748
|
tags?: Tags;
|
|
15746
15749
|
}
|
|
15747
15750
|
declare const DynamicViewBody = "DynamicViewBody";
|
|
@@ -15751,6 +15754,12 @@ interface DynamicViewIncludePredicate extends AstNode {
|
|
|
15751
15754
|
predicates: DynamicViewPredicateIterator;
|
|
15752
15755
|
}
|
|
15753
15756
|
declare const DynamicViewIncludePredicate = "DynamicViewIncludePredicate";
|
|
15757
|
+
interface DynamicViewParallelSteps extends AstNode {
|
|
15758
|
+
readonly $container: DynamicViewBody;
|
|
15759
|
+
readonly $type: 'DynamicViewParallelSteps';
|
|
15760
|
+
steps: Array<DynamicViewStep>;
|
|
15761
|
+
}
|
|
15762
|
+
declare const DynamicViewParallelSteps = "DynamicViewParallelSteps";
|
|
15754
15763
|
interface DynamicViewPredicateIterator extends AstNode {
|
|
15755
15764
|
readonly $container: DynamicViewIncludePredicate | DynamicViewPredicateIterator;
|
|
15756
15765
|
readonly $type: 'DynamicViewPredicateIterator';
|
|
@@ -15758,8 +15767,14 @@ interface DynamicViewPredicateIterator extends AstNode {
|
|
|
15758
15767
|
value: ElementPredicate;
|
|
15759
15768
|
}
|
|
15760
15769
|
declare const DynamicViewPredicateIterator = "DynamicViewPredicateIterator";
|
|
15770
|
+
interface DynamicViewRef extends AstNode {
|
|
15771
|
+
readonly $container: RelationNavigateToProperty;
|
|
15772
|
+
readonly $type: 'DynamicViewRef';
|
|
15773
|
+
view: Reference<DynamicView>;
|
|
15774
|
+
}
|
|
15775
|
+
declare const DynamicViewRef = "DynamicViewRef";
|
|
15761
15776
|
interface DynamicViewStep extends AstNode {
|
|
15762
|
-
readonly $container: DynamicViewBody;
|
|
15777
|
+
readonly $container: DynamicViewBody | DynamicViewParallelSteps;
|
|
15763
15778
|
readonly $type: 'DynamicViewStep';
|
|
15764
15779
|
custom?: CustomRelationProperties;
|
|
15765
15780
|
isBackward: boolean;
|
|
@@ -16011,6 +16026,13 @@ interface NotationProperty extends AstNode {
|
|
|
16011
16026
|
value: string;
|
|
16012
16027
|
}
|
|
16013
16028
|
declare const NotationProperty = "NotationProperty";
|
|
16029
|
+
interface NotesProperty extends AstNode {
|
|
16030
|
+
readonly $container: CustomRelationProperties;
|
|
16031
|
+
readonly $type: 'NotesProperty';
|
|
16032
|
+
key: 'notes';
|
|
16033
|
+
value: string;
|
|
16034
|
+
}
|
|
16035
|
+
declare const NotesProperty = "NotesProperty";
|
|
16014
16036
|
interface OpacityProperty extends AstNode {
|
|
16015
16037
|
readonly $container: CustomElementProperties | ElementStyleProperty | ViewRuleStyle;
|
|
16016
16038
|
readonly $type: 'OpacityProperty';
|
|
@@ -16052,6 +16074,13 @@ interface RelationBody extends AstNode {
|
|
|
16052
16074
|
tags?: Tags;
|
|
16053
16075
|
}
|
|
16054
16076
|
declare const RelationBody = "RelationBody";
|
|
16077
|
+
interface RelationNavigateToProperty extends AstNode {
|
|
16078
|
+
readonly $container: CustomRelationProperties | RelationBody;
|
|
16079
|
+
readonly $type: 'RelationNavigateToProperty';
|
|
16080
|
+
key: 'navigateTo';
|
|
16081
|
+
value: DynamicViewRef;
|
|
16082
|
+
}
|
|
16083
|
+
declare const RelationNavigateToProperty = "RelationNavigateToProperty";
|
|
16055
16084
|
interface RelationPredicateWhere extends AstNode {
|
|
16056
16085
|
readonly $container: Predicates | RelationPredicateWith;
|
|
16057
16086
|
readonly $type: 'RelationPredicateWhere';
|
|
@@ -16252,7 +16281,9 @@ type LikeC4AstType = {
|
|
|
16252
16281
|
DynamicView: DynamicView;
|
|
16253
16282
|
DynamicViewBody: DynamicViewBody;
|
|
16254
16283
|
DynamicViewIncludePredicate: DynamicViewIncludePredicate;
|
|
16284
|
+
DynamicViewParallelSteps: DynamicViewParallelSteps;
|
|
16255
16285
|
DynamicViewPredicateIterator: DynamicViewPredicateIterator;
|
|
16286
|
+
DynamicViewRef: DynamicViewRef;
|
|
16256
16287
|
DynamicViewRule: DynamicViewRule;
|
|
16257
16288
|
DynamicViewStep: DynamicViewStep;
|
|
16258
16289
|
Element: Element;
|
|
@@ -16296,6 +16327,7 @@ type LikeC4AstType = {
|
|
|
16296
16327
|
ModelViews: ModelViews;
|
|
16297
16328
|
NavigateToProperty: NavigateToProperty;
|
|
16298
16329
|
NotationProperty: NotationProperty;
|
|
16330
|
+
NotesProperty: NotesProperty;
|
|
16299
16331
|
OpacityProperty: OpacityProperty;
|
|
16300
16332
|
OutgoingRelationExpression: OutgoingRelationExpression;
|
|
16301
16333
|
Predicate: Predicate;
|
|
@@ -16303,6 +16335,7 @@ type LikeC4AstType = {
|
|
|
16303
16335
|
Relation: Relation;
|
|
16304
16336
|
RelationBody: RelationBody;
|
|
16305
16337
|
RelationExpression: RelationExpression;
|
|
16338
|
+
RelationNavigateToProperty: RelationNavigateToProperty;
|
|
16306
16339
|
RelationPredicate: RelationPredicate;
|
|
16307
16340
|
RelationPredicateOrWhere: RelationPredicateOrWhere;
|
|
16308
16341
|
RelationPredicateWhere: RelationPredicateWhere;
|
|
@@ -16415,6 +16448,7 @@ interface ParsedAstRelation {
|
|
|
16415
16448
|
head?: RelationshipArrowType;
|
|
16416
16449
|
tail?: RelationshipArrowType;
|
|
16417
16450
|
links?: NonEmptyArray<ParsedLink>;
|
|
16451
|
+
navigateTo?: ViewID$1;
|
|
16418
16452
|
metadata?: {
|
|
16419
16453
|
[key: string]: string;
|
|
16420
16454
|
};
|
|
@@ -16440,7 +16474,7 @@ interface ParsedAstDynamicView {
|
|
|
16440
16474
|
description: string | null;
|
|
16441
16475
|
tags: NonEmptyArray<Tag$2> | null;
|
|
16442
16476
|
links: NonEmptyArray<ParsedLink> | null;
|
|
16443
|
-
steps:
|
|
16477
|
+
steps: DynamicViewStepOrParallel[];
|
|
16444
16478
|
rules: Array<DynamicViewRule$1>;
|
|
16445
16479
|
manualLayout?: ViewManualLayout;
|
|
16446
16480
|
}
|
|
@@ -16493,6 +16527,7 @@ declare class LikeC4DocumentLinkProvider implements DocumentLinkProvider {
|
|
|
16493
16527
|
constructor(services: LikeC4Services);
|
|
16494
16528
|
getDocumentLinks(doc: LangiumDocument, _params: DocumentLinkParams): MaybePromise<DocumentLink[]>;
|
|
16495
16529
|
resolveLink(doc: LangiumDocument, link: string): string;
|
|
16530
|
+
relativeLink(doc: LangiumDocument, link: string): string | null;
|
|
16496
16531
|
}
|
|
16497
16532
|
|
|
16498
16533
|
declare class LikeC4DocumentSymbolProvider implements DocumentSymbolProvider {
|
|
@@ -16520,10 +16555,6 @@ declare class LikeC4HoverProvider extends AstNodeHoverProvider {
|
|
|
16520
16555
|
protected getAstNodeHoverContent(node: AstNode): MaybePromise<Hover | undefined>;
|
|
16521
16556
|
}
|
|
16522
16557
|
|
|
16523
|
-
declare class LikeC4RenameProvider extends DefaultRenameProvider {
|
|
16524
|
-
constructor(services: LikeC4Services);
|
|
16525
|
-
}
|
|
16526
|
-
|
|
16527
16558
|
declare class LikeC4SemanticTokenProvider extends AbstractSemanticTokenProvider {
|
|
16528
16559
|
protected highlightElement(node: AstNode, acceptor: SemanticTokenAcceptor): void | undefined | 'prune';
|
|
16529
16560
|
private highlightAstElement;
|
|
@@ -16631,7 +16662,6 @@ interface LikeC4AddedServices {
|
|
|
16631
16662
|
ModelChanges: LikeC4ModelChanges;
|
|
16632
16663
|
};
|
|
16633
16664
|
lsp: {
|
|
16634
|
-
RenameProvider: LikeC4RenameProvider;
|
|
16635
16665
|
CompletionProvider: LikeC4CompletionProvider;
|
|
16636
16666
|
DocumentHighlightProvider: LikeC4DocumentHighlightProvider;
|
|
16637
16667
|
DocumentSymbolProvider: LikeC4DocumentSymbolProvider;
|
|
@@ -16729,6 +16759,7 @@ declare class LikeC4ModelParser {
|
|
|
16729
16759
|
private parseRelationExpr;
|
|
16730
16760
|
private parseViewRule;
|
|
16731
16761
|
private parseViewManualLaout;
|
|
16762
|
+
private parseDynamicParallelSteps;
|
|
16732
16763
|
private parseDynamicStep;
|
|
16733
16764
|
private parseElementView;
|
|
16734
16765
|
private parseDynamicElementView;
|
|
@@ -17357,7 +17388,7 @@ declare class CliWorkspace {
|
|
|
17357
17388
|
private services;
|
|
17358
17389
|
private isInitialized;
|
|
17359
17390
|
constructor(services: CliServices);
|
|
17360
|
-
|
|
17391
|
+
initWorkspace(workspace: WorkspaceFolder): Promise<void>;
|
|
17361
17392
|
init(): Promise<void>;
|
|
17362
17393
|
}
|
|
17363
17394
|
|
|
@@ -17462,4 +17493,4 @@ declare class LikeC4 {
|
|
|
17462
17493
|
dispose(): void;
|
|
17463
17494
|
}
|
|
17464
17495
|
|
|
17465
|
-
export { type AutoLayoutDirection, type BBox, BorderStyles, type Color$1 as Color, type ComputedDynamicView, type ComputedEdge, type ComputedElementView, type ComputedLikeC4Model, type ComputedNode, type ComputedView, type DiagramEdge, type DiagramNode, type DiagramView, type DynamicView$1 as DynamicView, type EdgeId$1 as EdgeId, type Element$1 as Element, ElementColors, type ElementKind$1 as ElementKind, ElementShapes, type ElementView$1 as ElementView, type Fqn$1 as Fqn, type HexColorLiteral, LikeC4, LikeC4Model, type LikeC4View$1 as LikeC4View, LikeC4ViewModel, type NodeId, type ParsedLikeC4Model, type Point, type Relation$1 as Relation, type RelationExpr, type RelationID$1 as RelationID, RelationshipColors, StepEdgeId, type Tag$2 as Tag, type ThemeColor$1 as ThemeColor, type ViewID$1 as ViewID, type XYPoint, ancestorsFqn, commonAncestor, compareByFqnHierarchically, compareFqnHierarchically, compareRelations, defaultTheme, extractStep, hasAtLeast, invariant, isAncestor, isComputedDynamicView, isDescendantOf,
|
|
17496
|
+
export { type AutoLayoutDirection, type BBox, BorderStyles, type Color$1 as Color, type ComputedDynamicView, type ComputedEdge, type ComputedElementView, type ComputedLikeC4Model, type ComputedNode, type ComputedView, type DiagramEdge, type DiagramNode, type DiagramView, type DynamicView$1 as DynamicView, type EdgeId$1 as EdgeId, type Element$1 as Element, ElementColors, type ElementKind$1 as ElementKind, ElementShapes, type ElementView$1 as ElementView, type Fqn$1 as Fqn, type HexColorLiteral, LikeC4, LikeC4Model, type LikeC4View$1 as LikeC4View, LikeC4ViewModel, type NodeId, type ParsedLikeC4Model, type Point, type Relation$1 as Relation, type RelationExpr, type RelationID$1 as RelationID, RelationshipColors, StepEdgeId, type Tag$2 as Tag, type ThemeColor$1 as ThemeColor, type ViewID$1 as ViewID, type XYPoint, ancestorsFqn, commonAncestor, compareByFqnHierarchically, compareFqnHierarchically, compareRelations, defaultTheme, extractStep, hasAtLeast, invariant, isAncestor, isComputedDynamicView, isDescendantOf, isSameHierarchy, isStepEdgeId, nameFromFqn, nonNullable, nonexhaustive, notDescendantOf, parentFqn };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{F as BorderStyles,b as ElementColors,j as ElementShapes,L as LikeC4,U as LikeC4Model,K as LikeC4ViewModel,H as RelationshipColors,C as ancestorsFqn,_ as commonAncestor,w as compareByFqnHierarchically,a as compareFqnHierarchically,E as compareRelations,W as defaultTheme,c as extractStep,d as hasAtLeast,T as invariant,t as isAncestor,e as isComputedDynamicView,f as isDescendantOf,g as isSameHierarchy,x as isStepEdgeId,h as nameFromFqn,i as nonNullable,q as nonexhaustive,m as notDescendantOf,k as parentFqn}from"./shared/likec4.BaYahRry.mjs";import"node:fs";import"node:path";import"node:url";import"tty";import"node:util";import"node:child_process";import"node:string_decoder";import"node:process";import"node:tty";import"child_process";import"path";import"fs";import"node:timers/promises";import"node:os";import"node:events";import"node:v8";import"node:stream";import"node:buffer";import"node:stream/promises";import"node:worker_threads";import"vite";import"util";import"os";import"crypto";import"net";import"url";import"buffer";import"@hpcc-js/wasm-graphviz";
|