flowchart-sequence-designer 1.1.0 → 1.2.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/dist/index.cjs +250 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -4
- package/dist/index.d.ts +20 -4
- package/dist/index.js +248 -43
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +2840 -1177
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +2853 -1190
- package/dist/ui/index.js.map +1 -1
- package/package.json +7 -2
- package/dist/.metafile-core.json +0 -251
- package/dist/.metafile-ui.json +0 -797
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flowchart-sequence-designer",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "TypeScript library for building and editing flowcharts and sequence diagrams — programmatic API, React UI, and multi-format export (Mermaid, PlantUML, SVG, PNG, JSON).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ag-gr-hub",
|
|
@@ -69,12 +69,17 @@
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
+
"@eslint/js": "^10.0.1",
|
|
72
73
|
"@types/react": "^18",
|
|
73
74
|
"@types/react-dom": "^18",
|
|
74
75
|
"bun-types": "latest",
|
|
76
|
+
"eslint": "^10.4.0",
|
|
77
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
78
|
+
"prettier": "^3.8.3",
|
|
75
79
|
"react": "^18",
|
|
76
80
|
"react-dom": "^18",
|
|
77
81
|
"tsup": "^8",
|
|
78
|
-
"typescript": "^5"
|
|
82
|
+
"typescript": "^5",
|
|
83
|
+
"typescript-eslint": "^8.59.3"
|
|
79
84
|
}
|
|
80
85
|
}
|
package/dist/.metafile-core.json
DELETED
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"inputs": {
|
|
3
|
-
"src/core/model.ts": {
|
|
4
|
-
"bytes": 5545,
|
|
5
|
-
"imports": [
|
|
6
|
-
{
|
|
7
|
-
"path": "<runtime>",
|
|
8
|
-
"kind": "import-statement",
|
|
9
|
-
"external": true
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"format": "esm"
|
|
13
|
-
},
|
|
14
|
-
"src/core/ids.ts": {
|
|
15
|
-
"bytes": 1876,
|
|
16
|
-
"imports": [],
|
|
17
|
-
"format": "esm"
|
|
18
|
-
},
|
|
19
|
-
"src/exporters/mermaid.ts": {
|
|
20
|
-
"bytes": 2803,
|
|
21
|
-
"imports": [],
|
|
22
|
-
"format": "esm"
|
|
23
|
-
},
|
|
24
|
-
"src/exporters/plantuml.ts": {
|
|
25
|
-
"bytes": 2407,
|
|
26
|
-
"imports": [],
|
|
27
|
-
"format": "esm"
|
|
28
|
-
},
|
|
29
|
-
"src/exporters/json.ts": {
|
|
30
|
-
"bytes": 421,
|
|
31
|
-
"imports": [],
|
|
32
|
-
"format": "esm"
|
|
33
|
-
},
|
|
34
|
-
"src/exporters/svg.ts": {
|
|
35
|
-
"bytes": 14850,
|
|
36
|
-
"imports": [],
|
|
37
|
-
"format": "esm"
|
|
38
|
-
},
|
|
39
|
-
"src/core/flowchart.ts": {
|
|
40
|
-
"bytes": 3128,
|
|
41
|
-
"imports": [
|
|
42
|
-
{
|
|
43
|
-
"path": "src/core/model.ts",
|
|
44
|
-
"kind": "import-statement",
|
|
45
|
-
"original": "./model.js"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "src/core/ids.ts",
|
|
49
|
-
"kind": "import-statement",
|
|
50
|
-
"original": "./ids.js"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"path": "src/exporters/mermaid.ts",
|
|
54
|
-
"kind": "import-statement",
|
|
55
|
-
"original": "../exporters/mermaid.js"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"path": "src/exporters/plantuml.ts",
|
|
59
|
-
"kind": "import-statement",
|
|
60
|
-
"original": "../exporters/plantuml.js"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "src/exporters/json.ts",
|
|
64
|
-
"kind": "import-statement",
|
|
65
|
-
"original": "../exporters/json.js"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"path": "src/exporters/svg.ts",
|
|
69
|
-
"kind": "import-statement",
|
|
70
|
-
"original": "../exporters/svg.js"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"path": "<runtime>",
|
|
74
|
-
"kind": "import-statement",
|
|
75
|
-
"external": true
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"format": "esm"
|
|
79
|
-
},
|
|
80
|
-
"src/core/sequence.ts": {
|
|
81
|
-
"bytes": 2401,
|
|
82
|
-
"imports": [
|
|
83
|
-
{
|
|
84
|
-
"path": "src/core/model.ts",
|
|
85
|
-
"kind": "import-statement",
|
|
86
|
-
"original": "./model.js"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"path": "src/core/ids.ts",
|
|
90
|
-
"kind": "import-statement",
|
|
91
|
-
"original": "./ids.js"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"path": "src/exporters/mermaid.ts",
|
|
95
|
-
"kind": "import-statement",
|
|
96
|
-
"original": "../exporters/mermaid.js"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"path": "src/exporters/plantuml.ts",
|
|
100
|
-
"kind": "import-statement",
|
|
101
|
-
"original": "../exporters/plantuml.js"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"path": "src/exporters/json.ts",
|
|
105
|
-
"kind": "import-statement",
|
|
106
|
-
"original": "../exporters/json.js"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"path": "<runtime>",
|
|
110
|
-
"kind": "import-statement",
|
|
111
|
-
"external": true
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
"format": "esm"
|
|
115
|
-
},
|
|
116
|
-
"src/importers/mermaid.ts": {
|
|
117
|
-
"bytes": 7664,
|
|
118
|
-
"imports": [
|
|
119
|
-
{
|
|
120
|
-
"path": "src/core/model.ts",
|
|
121
|
-
"kind": "import-statement",
|
|
122
|
-
"original": "../core/model.js"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"path": "src/core/ids.ts",
|
|
126
|
-
"kind": "import-statement",
|
|
127
|
-
"original": "../core/ids.js"
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
"format": "esm"
|
|
131
|
-
},
|
|
132
|
-
"src/importers/json.ts": {
|
|
133
|
-
"bytes": 875,
|
|
134
|
-
"imports": [
|
|
135
|
-
{
|
|
136
|
-
"path": "src/core/model.ts",
|
|
137
|
-
"kind": "import-statement",
|
|
138
|
-
"original": "../core/model.js"
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
"format": "esm"
|
|
142
|
-
},
|
|
143
|
-
"src/index.ts": {
|
|
144
|
-
"bytes": 1096,
|
|
145
|
-
"imports": [
|
|
146
|
-
{
|
|
147
|
-
"path": "src/core/flowchart.ts",
|
|
148
|
-
"kind": "import-statement",
|
|
149
|
-
"original": "./core/flowchart.js"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"path": "src/core/sequence.ts",
|
|
153
|
-
"kind": "import-statement",
|
|
154
|
-
"original": "./core/sequence.js"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"path": "src/core/model.ts",
|
|
158
|
-
"kind": "import-statement",
|
|
159
|
-
"original": "./core/model.js"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"path": "src/exporters/mermaid.ts",
|
|
163
|
-
"kind": "import-statement",
|
|
164
|
-
"original": "./exporters/mermaid.js"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"path": "src/exporters/plantuml.ts",
|
|
168
|
-
"kind": "import-statement",
|
|
169
|
-
"original": "./exporters/plantuml.js"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"path": "src/exporters/json.ts",
|
|
173
|
-
"kind": "import-statement",
|
|
174
|
-
"original": "./exporters/json.js"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"path": "src/exporters/svg.ts",
|
|
178
|
-
"kind": "import-statement",
|
|
179
|
-
"original": "./exporters/svg.js"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"path": "src/importers/mermaid.ts",
|
|
183
|
-
"kind": "import-statement",
|
|
184
|
-
"original": "./importers/mermaid.js"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"path": "src/importers/json.ts",
|
|
188
|
-
"kind": "import-statement",
|
|
189
|
-
"original": "./importers/json.js"
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
"format": "esm"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"outputs": {
|
|
196
|
-
"index.js": {
|
|
197
|
-
"imports": [],
|
|
198
|
-
"exports": [
|
|
199
|
-
"FlowchartBuilder",
|
|
200
|
-
"Model",
|
|
201
|
-
"SequenceBuilder",
|
|
202
|
-
"flowchart",
|
|
203
|
-
"fromJSON",
|
|
204
|
-
"fromMermaid",
|
|
205
|
-
"sequence",
|
|
206
|
-
"toJSON",
|
|
207
|
-
"toMermaid",
|
|
208
|
-
"toPNG",
|
|
209
|
-
"toPlantUML",
|
|
210
|
-
"toSVG"
|
|
211
|
-
],
|
|
212
|
-
"entryPoint": "src/index.ts",
|
|
213
|
-
"inputs": {
|
|
214
|
-
"src/core/model.ts": {
|
|
215
|
-
"bytesInOutput": 1904
|
|
216
|
-
},
|
|
217
|
-
"src/core/ids.ts": {
|
|
218
|
-
"bytesInOutput": 191
|
|
219
|
-
},
|
|
220
|
-
"src/exporters/mermaid.ts": {
|
|
221
|
-
"bytesInOutput": 988
|
|
222
|
-
},
|
|
223
|
-
"src/exporters/plantuml.ts": {
|
|
224
|
-
"bytesInOutput": 893
|
|
225
|
-
},
|
|
226
|
-
"src/exporters/json.ts": {
|
|
227
|
-
"bytesInOutput": 46
|
|
228
|
-
},
|
|
229
|
-
"src/exporters/svg.ts": {
|
|
230
|
-
"bytesInOutput": 7974
|
|
231
|
-
},
|
|
232
|
-
"src/core/flowchart.ts": {
|
|
233
|
-
"bytesInOutput": 690
|
|
234
|
-
},
|
|
235
|
-
"src/index.ts": {
|
|
236
|
-
"bytesInOutput": 0
|
|
237
|
-
},
|
|
238
|
-
"src/core/sequence.ts": {
|
|
239
|
-
"bytesInOutput": 565
|
|
240
|
-
},
|
|
241
|
-
"src/importers/mermaid.ts": {
|
|
242
|
-
"bytesInOutput": 2757
|
|
243
|
-
},
|
|
244
|
-
"src/importers/json.ts": {
|
|
245
|
-
"bytesInOutput": 183
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
"bytes": 16547
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|