likec4 1.24.1 → 1.25.1
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/__app__/index.html +1 -1
- package/__app__/src/chunks/{-index-overview-u7lEihT1.js → -index-overview-CKkCSnRi.js} +4 -4
- package/__app__/src/chunks/{likec4-DRDnYFvy.js → likec4-CyM7Z_P_.js} +255 -266
- package/__app__/src/chunks/{main-CSfHpw_A.js → main-BWk4fT0y.js} +7516 -7445
- package/__app__/src/chunks/{mantine-Z8I_Wyle.js → mantine-BYP9_27v.js} +99 -96
- package/__app__/src/chunks/{tanstack-router-MjA2OK6n.js → tanstack-router-x-0typxf.js} +1 -1
- package/__app__/src/main.js +1 -1
- package/__app__/src/style.css +1 -1
- package/dist/cli/index.mjs +159 -159
- package/dist/index.d.mts +11 -6
- package/dist/index.d.ts +11 -6
- package/dist/index.mjs +1 -1
- package/dist/shared/{likec4.D4N3up-s.mjs → likec4.8R_NjvKs.mjs} +1328 -1327
- package/package.json +23 -23
- package/react/index.d.ts +34 -9
- package/react/index.js +903 -842
- package/react/style.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -15857,7 +15857,7 @@ declare class LikeC4DocumentSymbolProvider implements DocumentSymbolProvider {
|
|
|
15857
15857
|
protected readonly parser: LikeC4ModelParser;
|
|
15858
15858
|
protected readonly locator: LikeC4ModelLocator;
|
|
15859
15859
|
constructor(services: LikeC4Services);
|
|
15860
|
-
getSymbols(
|
|
15860
|
+
getSymbols(doc: LangiumDocument, _params: DocumentSymbolParams, cancelToken?: CancellationToken): Promise<DocumentSymbol[]>;
|
|
15861
15861
|
protected getLikec4LibSymbol(astLib: LikeC4Lib): DocumentSymbol[];
|
|
15862
15862
|
protected getSpecSymbol(astSpec: SpecificationRule): DocumentSymbol[];
|
|
15863
15863
|
protected getModelSymbol(astModel: Model): DocumentSymbol[];
|
|
@@ -15889,17 +15889,22 @@ declare class LikeC4SemanticTokenProvider extends AbstractSemanticTokenProvider
|
|
|
15889
15889
|
private highlightView;
|
|
15890
15890
|
}
|
|
15891
15891
|
|
|
15892
|
-
|
|
15893
|
-
|
|
15894
|
-
|
|
15892
|
+
declare namespace ChangeView {
|
|
15893
|
+
type Params = {
|
|
15894
|
+
viewId: ViewId;
|
|
15895
|
+
change: ViewChange;
|
|
15896
|
+
};
|
|
15897
|
+
type Res = Location | null;
|
|
15898
|
+
const Req: RequestType<Params, Res, void>;
|
|
15899
|
+
type Req = typeof Req;
|
|
15895
15900
|
}
|
|
15896
15901
|
|
|
15897
15902
|
declare class LikeC4ModelChanges {
|
|
15898
15903
|
private services;
|
|
15899
15904
|
private locator;
|
|
15900
15905
|
constructor(services: LikeC4Services);
|
|
15901
|
-
applyChange(changeView:
|
|
15902
|
-
protected convertToTextEdit({ viewId, change }:
|
|
15906
|
+
applyChange(changeView: ChangeView.Params): Promise<Location | null>;
|
|
15907
|
+
protected convertToTextEdit({ viewId, change }: ChangeView.Params): {
|
|
15903
15908
|
doc: ParsedLikeC4LangiumDocument;
|
|
15904
15909
|
modifiedRange: Range$1;
|
|
15905
15910
|
edits: TextEdit$1[];
|
package/dist/index.d.ts
CHANGED
|
@@ -15857,7 +15857,7 @@ declare class LikeC4DocumentSymbolProvider implements DocumentSymbolProvider {
|
|
|
15857
15857
|
protected readonly parser: LikeC4ModelParser;
|
|
15858
15858
|
protected readonly locator: LikeC4ModelLocator;
|
|
15859
15859
|
constructor(services: LikeC4Services);
|
|
15860
|
-
getSymbols(
|
|
15860
|
+
getSymbols(doc: LangiumDocument, _params: DocumentSymbolParams, cancelToken?: CancellationToken): Promise<DocumentSymbol[]>;
|
|
15861
15861
|
protected getLikec4LibSymbol(astLib: LikeC4Lib): DocumentSymbol[];
|
|
15862
15862
|
protected getSpecSymbol(astSpec: SpecificationRule): DocumentSymbol[];
|
|
15863
15863
|
protected getModelSymbol(astModel: Model): DocumentSymbol[];
|
|
@@ -15889,17 +15889,22 @@ declare class LikeC4SemanticTokenProvider extends AbstractSemanticTokenProvider
|
|
|
15889
15889
|
private highlightView;
|
|
15890
15890
|
}
|
|
15891
15891
|
|
|
15892
|
-
|
|
15893
|
-
|
|
15894
|
-
|
|
15892
|
+
declare namespace ChangeView {
|
|
15893
|
+
type Params = {
|
|
15894
|
+
viewId: ViewId;
|
|
15895
|
+
change: ViewChange;
|
|
15896
|
+
};
|
|
15897
|
+
type Res = Location | null;
|
|
15898
|
+
const Req: RequestType<Params, Res, void>;
|
|
15899
|
+
type Req = typeof Req;
|
|
15895
15900
|
}
|
|
15896
15901
|
|
|
15897
15902
|
declare class LikeC4ModelChanges {
|
|
15898
15903
|
private services;
|
|
15899
15904
|
private locator;
|
|
15900
15905
|
constructor(services: LikeC4Services);
|
|
15901
|
-
applyChange(changeView:
|
|
15902
|
-
protected convertToTextEdit({ viewId, change }:
|
|
15906
|
+
applyChange(changeView: ChangeView.Params): Promise<Location | null>;
|
|
15907
|
+
protected convertToTextEdit({ viewId, change }: ChangeView.Params): {
|
|
15903
15908
|
doc: ParsedLikeC4LangiumDocument;
|
|
15904
15909
|
modifiedRange: Range$1;
|
|
15905
15910
|
edits: TextEdit$1[];
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"@likec4/core";export{LikeC4DeploymentModel,LikeC4Model,LikeC4ViewModel}from"@likec4/core/model";export{L as LikeC4}from"./shared/likec4.
|
|
1
|
+
import"@likec4/core";export{LikeC4DeploymentModel,LikeC4Model,LikeC4ViewModel}from"@likec4/core/model";export{L as LikeC4}from"./shared/likec4.8R_NjvKs.mjs";import"node:fs";import"node:path";import"node:url";import"tty";import"node:util";import"util";import"path";import"os";import"crypto";import"net";import"url";import"fs";import"child_process";import"@likec4/core/types";import"events";import"buffer";import"@hpcc-js/wasm-graphviz";import"@likec4/core/compute-view";import"@likec4/core/utils";import"node:process";
|
|
2
2
|
import"boxen";import"node:child_process";import"node:events";import"node:fs/promises";import"node:stream/promises";import"node:os";import"fs/promises";
|