likec4 1.46.4 → 1.47.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/__app__/src/ProjectsOverview.js +16 -0
- package/__app__/src/likec4.js +1301 -502
- package/__app__/src/main.js +249 -219
- package/__app__/src/style.css +1 -1
- package/__app__/src/vendors.js +2690 -2349
- package/__app__/src/webcomponent.js +1 -1
- package/config/schema.json +3 -1
- package/dist/cli/index.mjs +339 -339
- package/dist/config/index.d.mts +1 -1
- package/dist/config/index.mjs +1 -1
- package/dist/index.d.mts +13 -4
- package/dist/index.mjs +1 -1
- package/dist/model/index.d.mts +1 -0
- package/dist/shared/likec4.CDVXAxDx.mjs +3573 -0
- package/dist/shared/likec4.CRP-WAuw.mjs +330 -0
- package/dist/shared/likec4.CXTvqtC-.mjs +207 -0
- package/dist/shared/{likec4.6kvTI22o.d.mts → likec4.DqDU0qex.d.mts} +648 -57
- package/dist/shared/{likec4.DobqFzmV.d.mts → likec4.iedqayBZ.d.mts} +6958 -11665
- package/dist/vite-plugin/index.d.mts +3 -3
- package/dist/vite-plugin/index.mjs +1 -1
- package/package.json +17 -20
- package/react/index.d.ts +41 -5
- package/react/index.js +1441 -497
- package/vite-plugin-modules.d.ts +8 -0
- package/dist/shared/likec4.BJupup6Q.mjs +0 -4211
- package/dist/shared/likec4.DASl7M77.mjs +0 -183
- package/dist/shared/likec4.DwZEQeLv.mjs +0 -272
package/dist/config/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { G as GeneratorFn, g as GeneratorFnContext, h as GeneratorFnParams, L as LikeC4ProjectConfig, a as LikeC4ProjectConfigInput, l as LikeC4ProjectJsonConfig, m as LikeC4StylesConfig, n as LikeC4StylesConfigInput, d as defineConfig, b as defineGenerators, c as defineStyle, e as defineTheme, f as defineThemeColor, i as isLikeC4Config, j as isLikeC4JsonConfig, k as isLikeC4NonJsonConfig } from '../shared/likec4.
|
|
1
|
+
export { G as GeneratorFn, g as GeneratorFnContext, h as GeneratorFnParams, L as LikeC4ProjectConfig, a as LikeC4ProjectConfigInput, l as LikeC4ProjectJsonConfig, m as LikeC4StylesConfig, n as LikeC4StylesConfigInput, d as defineConfig, b as defineGenerators, c as defineStyle, e as defineTheme, f as defineThemeColor, i as isLikeC4Config, j as isLikeC4JsonConfig, k as isLikeC4NonJsonConfig } from '../shared/likec4.DqDU0qex.mjs';
|
|
2
2
|
import '@likec4/core';
|
|
3
3
|
import '@likec4/core/model';
|
|
4
4
|
import '@likec4/core/types';
|
package/dist/config/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as defineConfig,m as defineGenerators,u as defineStyle,d as defineTheme,p as defineThemeColor,l as isLikeC4Config,L as isLikeC4JsonConfig,x as isLikeC4NonJsonConfig}from"../shared/likec4.
|
|
1
|
+
export{c as defineConfig,m as defineGenerators,u as defineStyle,d as defineTheme,p as defineThemeColor,l as isLikeC4Config,L as isLikeC4JsonConfig,x as isLikeC4NonJsonConfig}from"../shared/likec4.CXTvqtC-.mjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { DiagramView } from '@likec4/core/types';
|
|
2
2
|
export * from '@likec4/core/types';
|
|
3
|
-
import { W as WorkspaceFolder, a as LikeC4Services, L as LikeC4LanguageServices, P as ProjectsManager, b as LikeC4Views, R as Range } from './shared/likec4.
|
|
3
|
+
import { W as WorkspaceFolder, a as LikeC4Services, L as LikeC4LanguageServices, P as ProjectsManager, b as LikeC4Views, R as Range } from './shared/likec4.iedqayBZ.mjs';
|
|
4
4
|
import { ProjectId, NonEmptyArray } from '@likec4/core';
|
|
5
5
|
import { LikeC4Model } from '@likec4/core/model';
|
|
6
|
+
import '@likec4/core/compute-view';
|
|
6
7
|
import 'type-fest';
|
|
7
|
-
import './shared/likec4.
|
|
8
|
+
import './shared/likec4.DqDU0qex.mjs';
|
|
8
9
|
import '@likec4/core/styles';
|
|
9
10
|
import '/home/runner/work/likec4/likec4/node_modules/.pnpm/@types+picomatch@4.0.2/node_modules/@types/picomatch/index.d.ts';
|
|
10
11
|
import '@likec4/core/utils';
|
|
11
|
-
import '@cfworker/json-schema';
|
|
12
12
|
|
|
13
13
|
type Logger = {
|
|
14
14
|
info(msg: string): void;
|
|
@@ -126,12 +126,21 @@ declare class LikeC4 {
|
|
|
126
126
|
* Used in React components
|
|
127
127
|
*/
|
|
128
128
|
diagrams(projectId?: ProjectId | undefined): Promise<DiagramView[]>;
|
|
129
|
+
/**
|
|
130
|
+
* Builds LikeC4Model from all documents
|
|
131
|
+
* Only computes view predicates {@link ComputedView} - i.e. no layout
|
|
132
|
+
* Not ready for rendering, but enough to traverse
|
|
133
|
+
*
|
|
134
|
+
* Sync version does not read manual layouts
|
|
135
|
+
* Use {@link computedModel} for a version that includes manual layouts
|
|
136
|
+
*/
|
|
137
|
+
syncComputedModel(project?: ProjectId | undefined): LikeC4Model.Computed;
|
|
129
138
|
/**
|
|
130
139
|
* Builds LikeC4Model from all documents
|
|
131
140
|
* Only computes view predicates {@link ComputedView} - i.e. no layout
|
|
132
141
|
* Not ready for rendering, but enough to traverse
|
|
133
142
|
*/
|
|
134
|
-
computedModel(project?: ProjectId | undefined): LikeC4Model.Computed
|
|
143
|
+
computedModel(project?: ProjectId | undefined): Promise<LikeC4Model.Computed>;
|
|
135
144
|
projects(): NonEmptyArray<ProjectId>;
|
|
136
145
|
/**
|
|
137
146
|
* Same as {@link computedModel()}, but also applies layout
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{L as LikeC4}from"./shared/likec4.
|
|
1
|
+
export{L as LikeC4}from"./shared/likec4.CDVXAxDx.mjs";
|
package/dist/model/index.d.mts
CHANGED
|
@@ -3,6 +3,7 @@ export { Connection, ConnectionModel, DeployedInstanceModel, DeploymentConnectio
|
|
|
3
3
|
import * as c4 from '@likec4/core/types';
|
|
4
4
|
import { ViewId, NodeId, BBox, LayoutedDynamicView } from '@likec4/core/types';
|
|
5
5
|
export * from '@likec4/core/types';
|
|
6
|
+
export { ComputedProjectEdge, ComputedProjectNode, ComputedProjectsView, LayoutedProjectEdge, LayoutedProjectNode, LayoutedProjectsView } from '@likec4/core/compute-view';
|
|
6
7
|
|
|
7
8
|
interface SequenceActorStepPort {
|
|
8
9
|
id: string;
|