@zenuml/core 4.1.0 → 4.2.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.
@@ -1,65 +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>ZenUML</title>
8
- <link
9
- rel="stylesheet"
10
- href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/default.min.css"
11
- crossorigin="anonymous"
12
- />
13
- <script src="https://cdn.jsdelivr.net/npm/codemirror@5.65.1/lib/codemirror.min.js"></script>
14
- <link
15
- rel="stylesheet"
16
- href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.1/codemirror.min.css"
17
- crossorigin="anonymous"
18
- integrity="sha512-uf06llspW44/LZpHzHT6qBOIVODjWtv4MxCricRxkzvopAlSWnTf6hpZTFxuuZcuNE9CBQhqE0Seu1CoRk84nQ=="
19
- crossorigin="anonymous"
20
- referrerpolicy="no-referrer"
21
- />
22
- <script src="https://cdn.tailwindcss.com"></script>
23
- <style>
24
- .container-iframe {
25
- overflow-y: scroll;
26
- scrollbar-width: none; /* Firefox */
27
- -ms-overflow-style: none; /* Internet Explorer 10+ */
28
- }
29
- .container-iframe::-webkit-scrollbar {
30
- /* WebKit */
31
- width: 0;
32
- height: 0;
33
- }
34
- .CodeMirror {
35
- height: 100%;
36
- }
37
- </style>
38
- </head>
39
- <body class="h-screen">
40
- <div class="m-1 flex h-full w-full" id="diagram1">
41
- <div class="editor w-96 h-full shrink-0">
42
- <textarea id="text" class="col-span-1 m-1 border-2" cols="30" rows="200"></textarea>
43
- </div>
44
- <div class="viewer grow bg-gray-50">
45
- <iframe
46
- id="embed"
47
- src="embed.html"
48
- class="container-iframe"
49
- scrolling="no"
50
- style="width: 100%; height: 100%; border: none"
51
- >
52
- </iframe>
53
- </div>
54
- </div>
55
- <script>
56
- const editor = CodeMirror.fromTextArea(document.getElementById('text'), {
57
- lineNumbers: true,
58
- });
59
- editor.on('change', function (cm) {
60
- const iframe = document.getElementById('embed');
61
- iframe.contentWindow.postMessage({ action: 'eval', args: { code: cm.getValue() } }, '*');
62
- });
63
- </script>
64
- </body>
65
- </html>
package/dist/favicon.ico DELETED
Binary file
Binary file