@zenuml/core 2.0.1 → 2.0.2
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.
|
@@ -5,27 +5,22 @@
|
|
|
5
5
|
<title>Integration ZenUML Library with Vanilla JavaScript</title>
|
|
6
6
|
<script src="https://unpkg.com/vue@2.6.14"></script>
|
|
7
7
|
<script src="https://unpkg.com/vuex@3.6.2"></script>
|
|
8
|
-
<script src="https://unpkg.com/
|
|
9
|
-
<link rel="stylesheet" href="https://unpkg.com/
|
|
8
|
+
<script src="https://unpkg.com/@zenuml/core@2.0.1/dist/zenuml/core.umd.min.js"></script>
|
|
9
|
+
<link rel="stylesheet" href="https://unpkg.com/@zenuml/core@2.0.1/dist/zenuml/core.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
|
-
<div id="app"
|
|
12
|
+
<div id="app"></div>
|
|
13
13
|
<script>
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
store.dispatch('updateCode',{ code: `
|
|
14
|
+
const ZenUml = window['zenuml/core'].default;
|
|
15
|
+
const zenuml = new ZenUml(document.getElementById('app'));
|
|
16
|
+
const code = `
|
|
18
17
|
@EC2 BookService
|
|
19
18
|
@DynamoDB BookRepository
|
|
20
19
|
BookService.saveBook(1) {
|
|
21
20
|
BookRepository.storeBook()
|
|
22
21
|
}
|
|
23
|
-
`
|
|
24
|
-
|
|
25
|
-
el: '#app',
|
|
26
|
-
store,
|
|
27
|
-
render: h => h(VueSequence.DiagramFrame)
|
|
28
|
-
});
|
|
22
|
+
`
|
|
23
|
+
zenuml.render(code, 'theme-blue')
|
|
29
24
|
</script>
|
|
30
25
|
</body>
|
|
31
26
|
</html>
|
|
@@ -27534,7 +27534,7 @@ exports.Z = void 0;
|
|
|
27534
27534
|
//
|
|
27535
27535
|
//
|
|
27536
27536
|
|
|
27537
|
-
const commitHash = "
|
|
27537
|
+
const commitHash = "560d33d";
|
|
27538
27538
|
const gitBranch = "main";
|
|
27539
27539
|
var _default = {
|
|
27540
27540
|
name: "Debug",
|
package/dist/zenuml/core.umd.js
CHANGED
|
@@ -27544,7 +27544,7 @@ exports.Z = void 0;
|
|
|
27544
27544
|
//
|
|
27545
27545
|
//
|
|
27546
27546
|
|
|
27547
|
-
const commitHash = "
|
|
27547
|
+
const commitHash = "560d33d";
|
|
27548
27548
|
const gitBranch = "main";
|
|
27549
27549
|
var _default = {
|
|
27550
27550
|
name: "Debug",
|