@tumaet/apollon 4.2.16 → 4.2.18
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/LICENSE +21 -0
- package/README.md +87 -0
- package/dist/constants.d.ts +10 -5
- package/dist/edges/types.d.ts +4 -4
- package/dist/hooks/useEdgeConfig.d.ts +4 -4
- package/dist/index.js +16772 -16696
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/requiredInterfaceUtils.d.ts +18 -0
- package/package.json +38 -2
package/dist/utils/index.d.ts
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type RequiredInterfaceLikeEdge = {
|
|
2
|
+
id: string;
|
|
3
|
+
target: string;
|
|
4
|
+
type?: string | null;
|
|
5
|
+
targetHandle?: string | null;
|
|
6
|
+
};
|
|
7
|
+
type ResolveRequiredInterfaceEdgeTypeParams = {
|
|
8
|
+
type: string;
|
|
9
|
+
id: string;
|
|
10
|
+
target: string;
|
|
11
|
+
targetHandleId?: string | null;
|
|
12
|
+
edges: RequiredInterfaceLikeEdge[];
|
|
13
|
+
requiredTypes: readonly string[];
|
|
14
|
+
defaultType: string;
|
|
15
|
+
reducedType: string;
|
|
16
|
+
};
|
|
17
|
+
export declare function resolveRequiredInterfaceEdgeType({ type, id, target, targetHandleId, edges, requiredTypes, defaultType, reducedType, }: ResolveRequiredInterfaceEdgeTypeParams): string;
|
|
18
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,10 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tumaet/apollon",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.18",
|
|
4
|
+
"description": "An embeddable UML modeling editor for React. 13 diagram types, SVG/PNG/PDF/JSON export, optional real-time collaboration via Yjs.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"apollon",
|
|
7
|
+
"uml",
|
|
8
|
+
"uml-editor",
|
|
9
|
+
"diagram",
|
|
10
|
+
"diagram-editor",
|
|
11
|
+
"modeling",
|
|
12
|
+
"react",
|
|
13
|
+
"typescript",
|
|
14
|
+
"collaborative",
|
|
15
|
+
"yjs",
|
|
16
|
+
"bpmn",
|
|
17
|
+
"petri-net",
|
|
18
|
+
"activity-diagram",
|
|
19
|
+
"class-diagram",
|
|
20
|
+
"flowchart"
|
|
21
|
+
],
|
|
22
|
+
"homepage": "https://github.com/ls1intum/Apollon#readme",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/ls1intum/Apollon/issues"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/ls1intum/Apollon.git",
|
|
29
|
+
"directory": "library"
|
|
30
|
+
},
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"author": {
|
|
33
|
+
"name": "TUM Applied Education Technologies",
|
|
34
|
+
"url": "https://aet.cit.tum.de/"
|
|
35
|
+
},
|
|
36
|
+
"funding": "https://github.com/ls1intum/Apollon",
|
|
4
37
|
"type": "module",
|
|
5
38
|
"main": "dist/index.js",
|
|
6
39
|
"types": "dist/index.d.ts",
|
|
7
40
|
"source": "lib/index.tsx",
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=20.0.0"
|
|
43
|
+
},
|
|
8
44
|
"publishConfig": {
|
|
9
45
|
"access": "public"
|
|
10
46
|
},
|
|
@@ -29,7 +65,6 @@
|
|
|
29
65
|
"@emotion/react": "11.11.1",
|
|
30
66
|
"@emotion/styled": "11.11.0",
|
|
31
67
|
"@mui/material": "6.4.2",
|
|
32
|
-
"@types/node": "22.13.8",
|
|
33
68
|
"@xyflow/react": "12.3.6",
|
|
34
69
|
"react": "18.3.1",
|
|
35
70
|
"react-dom": "18.3.1",
|
|
@@ -42,6 +77,7 @@
|
|
|
42
77
|
"@testing-library/jest-dom": "^6.9.1",
|
|
43
78
|
"@testing-library/react": "^16.3.2",
|
|
44
79
|
"@testing-library/user-event": "^14.6.1",
|
|
80
|
+
"@types/node": "22.13.8",
|
|
45
81
|
"@vitejs/plugin-react": "4.3.4",
|
|
46
82
|
"@vitest/coverage-v8": "^4.0.18",
|
|
47
83
|
"eslint": "9.17.0",
|