@zenuml/core 3.46.4 → 3.46.6

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.
Files changed (71) hide show
  1. package/.claude/skills/babysit-pr/SKILL.md +203 -0
  2. package/.claude/skills/babysit-pr/agents/openai.yaml +7 -0
  3. package/.claude/skills/dia-scoring/SKILL.md +1 -1
  4. package/.claude/skills/propagate-core-release/SKILL.md +200 -0
  5. package/.claude/skills/propagate-core-release/agents/openai.yaml +7 -0
  6. package/.claude/skills/propagate-core-release/references/downstreams.md +41 -0
  7. package/.claude/skills/ship-branch/SKILL.md +13 -2
  8. package/dist/stats.html +1 -1
  9. package/dist/zenuml.esm.mjs +3 -3
  10. package/dist/zenuml.js +3 -3
  11. package/docs/superpowers/plans/2026-03-27-e2e-test-reorg.md +698 -0
  12. package/{cy → e2e/data}/compare-cases.js +70 -37
  13. package/{cy/smoke-editable-label.html → e2e/fixtures/editable-label.html} +1 -1
  14. package/{cy/editable-span-test.html → e2e/fixtures/editable-span.html} +1 -1
  15. package/e2e/fixtures/fixture.html +31 -0
  16. package/{cy → e2e/tools}/canonical-history.html +1 -1
  17. package/{cy → e2e/tools}/compare-case.html +3 -3
  18. package/{cy → e2e/tools}/compare.html +2 -2
  19. package/{cy → e2e/tools}/native-diff-ext/content.js +2 -2
  20. package/firebase-debug.log +108 -0
  21. package/index.html +2 -2
  22. package/mermaid-zenuml-async-spa-auth.png +0 -0
  23. package/mermaid-zenuml-async-spa-auth.snapshot.md +96 -0
  24. package/package.json +1 -1
  25. package/scripts/analyze-compare-case/collect-data.mjs +1 -1
  26. package/scripts/analyze-compare-case.mjs +1 -1
  27. package/skills/dia-scoring/SKILL.md +1 -1
  28. package/vite.config.ts +5 -5
  29. package/cy/async-message-1.html +0 -32
  30. package/cy/async-message-2.html +0 -46
  31. package/cy/async-message-3.html +0 -41
  32. package/cy/creation-rtl.html +0 -28
  33. package/cy/defect-406-alt-under-creation.html +0 -40
  34. package/cy/demo1.html +0 -28
  35. package/cy/demo3.html +0 -28
  36. package/cy/demo4.html +0 -28
  37. package/cy/element-report.html +0 -705
  38. package/cy/fragments-with-return.html +0 -35
  39. package/cy/icons-test.html +0 -29
  40. package/cy/if-fragment.html +0 -28
  41. package/cy/legacy-vs-html.html +0 -291
  42. package/cy/named-parameters.html +0 -30
  43. package/cy/nested-interaction-with-fragment.html +0 -34
  44. package/cy/nested-interaction-with-outbound.html +0 -34
  45. package/cy/parity-test.html +0 -122
  46. package/cy/return-in-nested-if.html +0 -29
  47. package/cy/return.html +0 -38
  48. package/cy/self-sync-message-at-root.html +0 -28
  49. package/cy/smoke-creation.html +0 -26
  50. package/cy/smoke-fragment-issue.html +0 -36
  51. package/cy/smoke-fragment.html +0 -42
  52. package/cy/smoke-interaction.html +0 -34
  53. package/cy/smoke.html +0 -40
  54. package/cy/theme-default-test.html +0 -28
  55. package/cy/vertical-1.html +0 -25
  56. package/cy/vertical-10.html +0 -33
  57. package/cy/vertical-11.html +0 -29
  58. package/cy/vertical-2.html +0 -23
  59. package/cy/vertical-3.html +0 -37
  60. package/cy/vertical-4.html +0 -42
  61. package/cy/vertical-5.html +0 -40
  62. package/cy/vertical-6.html +0 -29
  63. package/cy/vertical-7.html +0 -27
  64. package/cy/vertical-8.html +0 -32
  65. package/cy/vertical-9.html +0 -25
  66. package/cy/xss.html +0 -21
  67. /package/{cy → e2e/data}/diff-algorithm.js +0 -0
  68. /package/{cy → e2e/fixtures}/svg-test.html +0 -0
  69. /package/{cy → e2e/tools}/native-diff-ext/background.js +0 -0
  70. /package/{cy → e2e/tools}/native-diff-ext/bridge.js +0 -0
  71. /package/{cy → e2e/tools}/svg-preview.html +0 -0
@@ -1,28 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Self Sync Message at Root</title>
8
- <style>
9
- body {
10
- margin: 0; /* mostly for demo on mobile */
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- selfSync() {
18
- A.method {
19
- B.method
20
- }
21
- }
22
- </pre>
23
- </div>
24
-
25
- <!-- built files will be auto injected -->
26
- <script type="module" src="/src/main-cy.ts"></script>
27
- </body>
28
- </html>
@@ -1,26 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>vue-sequence smoke 1</title>
8
- <style>
9
- body {
10
- margin: 0; /* mostly for demo on mobile */
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- title Title 1
18
- A.m {
19
- new B(1,2,3,4)
20
- }</pre
21
- >
22
- </div>
23
- <!-- built files will be auto injected -->
24
- <script type="module" src="/src/main-cy.ts"></script>
25
- </body>
26
- </html>
@@ -1,36 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>vue-sequence smoke 1</title>
8
- <style>
9
- body {
10
- margin: 0; /* mostly for demo on mobile */
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- // This sample is carefully crafted. It shows a known issues: fragment stretched to
18
- // svc (should not), because parser thinks the return statement returns to svc.
19
- group Backend {@VPC svc @RDS rep}
20
- group { Client }
21
- Client->SGW."Get order by id" {
22
- svc.Get(id) {
23
- rep."load order" {
24
- if(order == null) {
25
- @return
26
- SGW->Client:401
27
- }
28
- }
29
- }
30
- }</pre
31
- >
32
- </div>
33
- <!-- built files will be auto injected -->
34
- <script type="module" src="/src/main-cy.ts"></script>
35
- </body>
36
- </html>
@@ -1,42 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>vue-sequence smoke 1</title>
8
- <style>
9
- body {
10
- margin: 0; /* mostly for demo on mobile */
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- A
18
- B
19
- C #FF0000 // we style it to make it more important in image comparison
20
- if(x) {
21
- loop(y) {
22
- try {
23
- par {
24
- A.m();
25
- B.m();
26
- }
27
- } catch(e) {
28
- opt {
29
- new C
30
- }
31
- } finally {
32
- C.m
33
- }
34
- }
35
- }
36
- </pre>
37
- </div>
38
-
39
- <!-- built files will be auto injected -->
40
- <script type="module" src="/src/main-cy.ts"></script>
41
- </body>
42
- </html>
@@ -1,34 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>vue-sequence smoke 1</title>
8
- <style>
9
- body {
10
- margin: 0; /* mostly for demo on mobile */
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- if(x) {
18
- A.method() {
19
- B.method() {
20
- BSelfMethod00000000000
21
- A.method()
22
- }
23
- ASelf {
24
- B->A.method
25
- }
26
- }
27
- }</pre
28
- >
29
- </div>
30
-
31
- <!-- built files will be auto injected -->
32
- <script type="module" src="/src/main-cy.ts"></script>
33
- </body>
34
- </html>
package/cy/smoke.html DELETED
@@ -1,40 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>vue-sequence smoke 1</title>
8
- <style>
9
- body {
10
- margin: 0; /* mostly for demo on mobile */
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- title ABCD Title
18
- // Generating Sequence Diagrams from Java code is experimental.
19
- // Please report errors to https://github.com/ZenUml/jetbrains-zenuml/discussions
20
- MarkdownJavaFxHtmlPanel
21
- MarkdownJavaFxHtmlPanel.readFromInputStream(inputStream) {
22
- StringBuilder resultStringBuilder = new StringBuilder();
23
- try {
24
- // String line;
25
- while((line = br.readLine()) != null) {
26
- resultStringBuilder.append(line);
27
- }
28
- }
29
- catch(IOException) {
30
- return "";
31
- }
32
- return "resultStringBuilder.toString()";
33
- }
34
- </pre
35
- >
36
- </div>
37
- <!-- built files will be auto injected -->
38
- <script type="module" src="/src/main-cy.ts"></script>
39
- </body>
40
- </html>
@@ -1,28 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <title>Theme Default Test</title>
6
- <style>
7
- body { margin: 0; }
8
- </style>
9
- </head>
10
- <body>
11
- <div id="diagram" class="diagram">
12
- <pre class="zenuml" style="margin: 0">
13
- A -> B: hello
14
- B -> C: process
15
- C -> B: result
16
- B -> A: done
17
- </pre>
18
- </div>
19
- <script type="module">
20
- import ZenUml from "/src/core.tsx";
21
- const elm = document.querySelector("pre.zenuml");
22
- const code = elm.textContent.trim();
23
- const zenUml = new ZenUml(elm);
24
- window.zenUml = zenUml;
25
- zenUml.render(code, { theme: "theme-default" });
26
- </script>
27
- </body>
28
- </html>
@@ -1,25 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Creation Assignment</title>
8
- <style>
9
- body {
10
- margin: 0;
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- // red
18
- // green
19
- a = A.m111
20
- new E
21
- </pre>
22
- </div>
23
- <script type="module" src="/src/main-cy.ts"></script>
24
- </body>
25
- </html>
@@ -1,33 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Self Sync Message at Root</title>
8
- <style>
9
- body {
10
- margin: 0; /* mostly for demo on mobile */
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- new E
18
- E.messageA()
19
- new A {
20
- if (x) {
21
- new D
22
- }
23
- new B {
24
- new C
25
- }
26
- }
27
- </pre>
28
- </div>
29
-
30
- <!-- built files will be auto injected -->
31
- <script type="module" src="/src/main-cy.ts"></script>
32
- </body>
33
- </html>
@@ -1,29 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Self Sync Message at Root</title>
8
- <style>
9
- body {
10
- margin: 0; /* mostly for demo on mobile */
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- A.call {
18
- // pre creation
19
- A->B: prep
20
- a = new A()
21
- a->B: post
22
- }
23
- </pre>
24
- </div>
25
-
26
- <!-- built files will be auto injected -->
27
- <script type="module" src="/src/main-cy.ts"></script>
28
- </body>
29
- </html>
@@ -1,23 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Creation Assignment</title>
8
- <style>
9
- body {
10
- margin: 0;
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- // [red]
18
- new B
19
- </pre>
20
- </div>
21
- <script type="module" src="/src/main-cy.ts"></script>
22
- </body>
23
- </html>
@@ -1,37 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Creation Assignment</title>
8
- <style>
9
- body {
10
- margin: 0;
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- if(x) {
18
- // comment
19
- new A
20
- } else {
21
- new B
22
- }
23
-
24
- new C
25
- try {
26
- new D
27
- } catch {
28
- par {
29
- new E
30
- new F
31
- }
32
- }
33
- </pre>
34
- </div>
35
- <script type="module" src="/src/main-cy.ts"></script>
36
- </body>
37
- </html>
@@ -1,42 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Creation Assignment</title>
8
- <style>
9
- body {
10
- margin: 0;
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- if(x) {
18
- // comment
19
- new A
20
- } else {
21
- new B
22
- }
23
-
24
- new C
25
- try {
26
- new D
27
- } catch {
28
- par {
29
- new E
30
- new F
31
- if(x) {
32
- new X
33
- } else {
34
- new Y
35
- }
36
- }
37
- }
38
- </pre>
39
- </div>
40
- <script type="module" src="/src/main-cy.ts"></script>
41
- </body>
42
- </html>
@@ -1,40 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Creation Assignment</title>
8
- <style>
9
- body {
10
- margin: 0;
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- par {
18
- new F
19
- if(x) {
20
- new X
21
- } else {
22
- try {
23
- new Y
24
- } catch {
25
- par {
26
- new G
27
- if(x) {
28
- new H
29
- } else {
30
- new I
31
- }
32
- }
33
- }
34
- }
35
- }
36
- </pre>
37
- </div>
38
- <script type="module" src="/src/main-cy.ts"></script>
39
- </body>
40
- </html>
@@ -1,29 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Creation Assignment</title>
8
- <style>
9
- body {
10
- margin: 0;
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- new a
18
- if(x) {
19
- new b
20
- } else {
21
- new c
22
- new e
23
- }
24
- new D
25
- </pre>
26
- </div>
27
- <script type="module" src="/src/main-cy.ts"></script>
28
- </body>
29
- </html>
@@ -1,27 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Demo1 DSL</title>
8
- <style>
9
- body {
10
- margin: 0;
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- A.method
18
- section(){
19
- new B
20
- }
21
- </pre>
22
- </div>
23
-
24
- <!-- built files will be auto injected -->
25
- <script type="module" src="/src/main-cy.ts"></script>
26
- </body>
27
- </html>
@@ -1,32 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Demo1 DSL</title>
8
- <style>
9
- body {
10
- margin: 0;
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- new Creation() {
18
- return from_creation
19
- }
20
- return "from if to original source"
21
- try {
22
- new AHasAVeryLongNameLongNameLongNameLongName() {
23
- new CreatWithinCreat()
24
- }
25
- }
26
- </pre>
27
- </div>
28
-
29
- <!-- built files will be auto injected -->
30
- <script type="module" src="/src/main-cy.ts"></script>
31
- </body>
32
- </html>
@@ -1,25 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>Self Sync Message at Root</title>
8
- <style>
9
- body {
10
- margin: 0; /* mostly for demo on mobile */
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
- <pre class="zenuml" style="margin: 0">
17
- A0->A0: self
18
- new A
19
- </pre>
20
- </div>
21
-
22
- <!-- built files will be auto injected -->
23
- <script type="module" src="/src/main-cy.ts"></script>
24
- </body>
25
- </html>
package/cy/xss.html DELETED
@@ -1,21 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <title>vue-sequence smoke 1</title>
8
- <style>
9
- body {
10
- margin: 0; /* mostly for demo on mobile */
11
- }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="diagram" class="diagram">
16
-
17
- </div>
18
- <!-- built files will be auto injected -->
19
- <script type="module" src="/src/xss.ts"></script>
20
- </body>
21
- </html>
File without changes
File without changes
File without changes
File without changes
File without changes