@zenuml/core 3.14.5 → 3.15.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.
- package/README.md +30 -2
- package/dist/{StylePanel.68893916.js → StylePanel.0d45c884.js} +2 -2
- package/dist/{close.0d7f05db.js → close.3b4ea253.js} +2 -2
- package/dist/{collapse-expanded.bbd4d5e2.js → collapse-expanded.99286bb3.js} +2 -2
- package/dist/{collapse-unexpanded.8aaf280f.js → collapse-unexpanded.114b8613.js} +2 -2
- package/dist/{core.68fca20d.js → core.1aee8b13.js} +4 -4
- package/dist/{debug.197b1fc6.js → debug.d3081beb.js} +2 -2
- package/dist/{message-arrow.eb1013fb.js → message-arrow.d8e46220.js} +2 -2
- package/dist/{non-selected-cycle.27f471f1.js → non-selected-cycle.dda1e9bf.js} +2 -2
- package/dist/{numbering.a596d430.js → numbering.77938753.js} +2 -2
- package/dist/{privacy.13a7ce58.js → privacy.004ee6ac.js} +2 -2
- package/dist/{selected-cycle.a6f7ecc6.js → selected-cycle.42f686e7.js} +2 -2
- package/dist/{theme.77d600f4.js → theme.521db0e4.js} +2 -2
- package/dist/{tip.0b473cb7.js → tip.ca302aaa.js} +2 -2
- package/dist/zenuml.esm.mjs +2 -2
- package/dist/zenuml.js +2 -2
- package/dist/{zoom-in.911a01a6.js → zoom-in.addbcfc3.js} +2 -2
- package/dist/{zoom-out.25617058.js → zoom-out.6624f32f.js} +2 -2
- package/package.json +2 -1
- package/pnpm-lock.yaml +5846 -2623
package/README.md
CHANGED
|
@@ -23,9 +23,37 @@ Please follow the [integration guide](./docs/asciidoc/integration-guide.adoc) fo
|
|
|
23
23
|
|
|
24
24
|
# Development
|
|
25
25
|
|
|
26
|
+
## Technical Requirements
|
|
27
|
+
|
|
28
|
+
These are the tools we use for working with the code and documentation:
|
|
29
|
+
|
|
30
|
+
- [volta](https://volta.sh/) to manage node versions.
|
|
31
|
+
- [Node.js](https://nodejs.org/en/). `volta install node`
|
|
32
|
+
- [pnpm](https://pnpm.io/) package manager. `volta install pnpm`
|
|
33
|
+
- [npx](https://docs.npmjs.com/cli/v8/commands/npx) the packaged executor in npm. This is needed [to install pnpm.](#install-packages)
|
|
34
|
+
|
|
35
|
+
Follow the setup steps below to install them and start the development.
|
|
36
|
+
|
|
37
|
+
### Switch to project
|
|
38
|
+
|
|
39
|
+
Once you have cloned the repository onto your development machine, change into the `zenuml-core` project folder (the top level directory of the @zenuml/core project repository)
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
cd zenuml-core
|
|
26
43
|
```
|
|
27
|
-
|
|
28
|
-
|
|
44
|
+
|
|
45
|
+
### Install packages
|
|
46
|
+
|
|
47
|
+
Run `npx pnpm install`. You will need `npx` for this because volta doesn't support it yet.
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npx pnpm install # npx is required for first install
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Launch
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npx pnpm run dev
|
|
29
57
|
```
|
|
30
58
|
|
|
31
59
|
## CI/CD
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as L, u as H, r as F, s as Me, w as j, g as nt, d as ot, e as Q, F as Ie, m as ge, t as Ae, f as _e, n as it, p as rt, h as st, i as lt, j as te, U as at, k as Se, l as ct, T as ut, q as ft, v as dt, x as mt, y as pt, P as gt, o as Te, z as ht, A as vt, a as he, c as yt, B as wt, C as xt, D as bt, E as Ct, G as Ot, H as Et } from "./core.
|
|
1
|
+
import { b as L, u as H, r as F, s as Me, w as j, g as nt, d as ot, e as Q, F as Ie, m as ge, t as Ae, f as _e, n as it, p as rt, h as st, i as lt, j as te, U as at, k as Se, l as ct, T as ut, q as ft, v as dt, x as mt, y as pt, P as gt, o as Te, z as ht, A as vt, a as he, c as yt, B as wt, C as xt, D as bt, E as Ct, G as Ot, H as Et } from "./core.1aee8b13.js";
|
|
2
2
|
const ze = ["top", "right", "bottom", "left"], Re = ["start", "end"], Pe = /* @__PURE__ */ ze.reduce((e, t) => e.concat(t, t + "-" + Re[0], t + "-" + Re[1]), []), J = Math.min, Y = Math.max, le = Math.round, se = Math.floor, X = (e) => ({
|
|
3
3
|
x: e,
|
|
4
4
|
y: e
|
|
@@ -1713,4 +1713,4 @@ const An = { class: "flex bg-white shadow-md z-10 rounded-md p-1" }, Sn = ["onCl
|
|
|
1713
1713
|
export {
|
|
1714
1714
|
Rn as default
|
|
1715
1715
|
};
|
|
1716
|
-
//# sourceMappingURL=StylePanel.
|
|
1716
|
+
//# sourceMappingURL=StylePanel.0d45c884.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e, c as o, a as t } from "./core.
|
|
1
|
+
import { o as e, c as o, a as t } from "./core.1aee8b13.js";
|
|
2
2
|
const r = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
fill: "none",
|
|
@@ -21,4 +21,4 @@ export {
|
|
|
21
21
|
i as default,
|
|
22
22
|
c as render
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=close.
|
|
24
|
+
//# sourceMappingURL=close.3b4ea253.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e, c as o, a as t } from "./core.
|
|
1
|
+
import { o as e, c as o, a as t } from "./core.1aee8b13.js";
|
|
2
2
|
const n = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
fill: "none",
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
h as default,
|
|
17
17
|
c as render
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=collapse-expanded.
|
|
19
|
+
//# sourceMappingURL=collapse-expanded.99286bb3.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o, c as t, a as e } from "./core.
|
|
1
|
+
import { o, c as t, a as e } from "./core.1aee8b13.js";
|
|
2
2
|
const n = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
fill: "currentColor",
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
i as default,
|
|
30
30
|
s as render
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=collapse-unexpanded.
|
|
32
|
+
//# sourceMappingURL=collapse-unexpanded.114b8613.js.map
|
|
@@ -24902,7 +24902,7 @@ function Zn(t, e) {
|
|
|
24902
24902
|
const i = s.scrollWidth;
|
|
24903
24903
|
return u3(n, i, !0), i;
|
|
24904
24904
|
}
|
|
24905
|
-
const rb =
|
|
24905
|
+
const rb = 110, i1 = 20, sb = 10, ib = 14, ob = 100, lb = 70, ab = f;
|
|
24906
24906
|
class lu extends E {
|
|
24907
24907
|
constructor() {
|
|
24908
24908
|
super(...arguments);
|
|
@@ -25296,7 +25296,7 @@ const d3 = () => (f3 = Q9(), {
|
|
|
25296
25296
|
}
|
|
25297
25297
|
},
|
|
25298
25298
|
setup(t) {
|
|
25299
|
-
const e = t, n = hs(() => _b(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.
|
|
25299
|
+
const e = t, n = hs(() => _b(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.3b4ea253.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.99286bb3.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.114b8613.js"), "./icons/debug.svg": () => import("./debug.d3081beb.js"), "./icons/message-arrow.svg": () => import("./message-arrow.d8e46220.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.dda1e9bf.js"), "./icons/numbering.svg": () => import("./numbering.77938753.js"), "./icons/privacy.svg": () => import("./privacy.004ee6ac.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.42f686e7.js"), "./icons/theme.svg": () => import("./theme.521db0e4.js"), "./icons/tip.svg": () => import("./tip.ca302aaa.js"), "./icons/zoom-in.svg": () => import("./zoom-in.addbcfc3.js"), "./icons/zoom-out.svg": () => import("./zoom-out.6624f32f.js") }), `./icons/${e.name}.svg`));
|
|
25300
25300
|
return (r, s) => (R(), K("span", {
|
|
25301
25301
|
class: ve(["flex items-center justify-center", t.iconClass]),
|
|
25302
25302
|
onClick: s[0] || (s[0] = (i) => r.$emit("icon-click"))
|
|
@@ -26477,7 +26477,7 @@ const ih = /* @__PURE__ */ Ge(Jv, [["render", tE]]), nE = { class: "message-laye
|
|
|
26477
26477
|
context: null
|
|
26478
26478
|
},
|
|
26479
26479
|
setup(t) {
|
|
26480
|
-
const e = hs(() => import("./StylePanel.
|
|
26480
|
+
const e = hs(() => import("./StylePanel.0d45c884.js")), n = vi.child({ name: "MessageLayer" }), r = zr(), s = re(() => r.getters.participants), i = re(() => r.getters.centerOf), o = re(() => {
|
|
26481
26481
|
if (s.value.Array().length >= 1) {
|
|
26482
26482
|
const l = s.value.Array().slice(0)[0].name;
|
|
26483
26483
|
return i.value(l);
|
|
@@ -33773,4 +33773,4 @@ export {
|
|
|
33773
33773
|
y3 as y,
|
|
33774
33774
|
ke as z
|
|
33775
33775
|
};
|
|
33776
|
-
//# sourceMappingURL=core.
|
|
33776
|
+
//# sourceMappingURL=core.1aee8b13.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o, c as t, a as e } from "./core.
|
|
1
|
+
import { o, c as t, a as e } from "./core.1aee8b13.js";
|
|
2
2
|
const c = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
"xml:space": "preserve",
|
|
@@ -30,4 +30,4 @@ export {
|
|
|
30
30
|
u as default,
|
|
31
31
|
i as render
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=debug.
|
|
33
|
+
//# sourceMappingURL=debug.d3081beb.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as t, c as s, a as e } from "./core.
|
|
1
|
+
import { o as t, c as s, a as e } from "./core.1aee8b13.js";
|
|
2
2
|
const r = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
width: "30",
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
i as default,
|
|
23
23
|
c as render
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=message-arrow.
|
|
25
|
+
//# sourceMappingURL=message-arrow.d8e46220.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e, c, a as o } from "./core.
|
|
1
|
+
import { o as e, c, a as o } from "./core.1aee8b13.js";
|
|
2
2
|
const t = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
"xml:space": "preserve",
|
|
@@ -21,4 +21,4 @@ export {
|
|
|
21
21
|
d as default,
|
|
22
22
|
s as render
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=non-selected-cycle.
|
|
24
|
+
//# sourceMappingURL=non-selected-cycle.dda1e9bf.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as Z, c, a as m } from "./core.
|
|
1
|
+
import { o as Z, c, a as m } from "./core.1aee8b13.js";
|
|
2
2
|
const l = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
width: "24",
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
s as default,
|
|
24
24
|
e as render
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=numbering.
|
|
26
|
+
//# sourceMappingURL=numbering.77938753.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as c, c as t, a as e } from "./core.
|
|
1
|
+
import { o as c, c as t, a as e } from "./core.1aee8b13.js";
|
|
2
2
|
const a = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
"xml:space": "preserve",
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
p as default,
|
|
16
16
|
r as render
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=privacy.
|
|
18
|
+
//# sourceMappingURL=privacy.004ee6ac.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as t, c as o, a as e } from "./core.
|
|
1
|
+
import { o as t, c as o, a as e } from "./core.1aee8b13.js";
|
|
2
2
|
const s = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
"xml:space": "preserve",
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
f as default,
|
|
30
30
|
r as render
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=selected-cycle.
|
|
32
|
+
//# sourceMappingURL=selected-cycle.42f686e7.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as c, c as e, a as t } from "./core.
|
|
1
|
+
import { o as c, c as e, a as t } from "./core.1aee8b13.js";
|
|
2
2
|
const o = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
class: "grayscale h-4 w-4",
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
h as default,
|
|
18
18
|
a as render
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=theme.
|
|
20
|
+
//# sourceMappingURL=theme.521db0e4.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e, c as t, a as o } from "./core.
|
|
1
|
+
import { o as e, c as t, a as o } from "./core.1aee8b13.js";
|
|
2
2
|
const s = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
viewBox: "0 0 1024 1024"
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
i as default,
|
|
17
17
|
c as render
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=tip.
|
|
19
|
+
//# sourceMappingURL=tip.ca302aaa.js.map
|