@zenuml/core 3.18.0 → 3.19.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/dist/{StylePanel.a04ca34a.js → StylePanel.340eb684.js} +2 -2
- package/dist/{close.ee2783ef.js → close.2de78e17.js} +2 -2
- package/dist/{collapse-expanded.c81a2e3a.js → collapse-expanded.282ba1f0.js} +2 -2
- package/dist/{collapse-unexpanded.ade496fd.js → collapse-unexpanded.2b7368c3.js} +2 -2
- package/dist/{core.424351dc.js → core.ba2457a5.js} +13 -5
- package/dist/{debug.0a1ebea3.js → debug.a5f5d598.js} +2 -2
- package/dist/{message-arrow.6e3ff666.js → message-arrow.1cf3f331.js} +2 -2
- package/dist/{non-selected-cycle.6053fdc5.js → non-selected-cycle.655f254f.js} +2 -2
- package/dist/{numbering.b874d153.js → numbering.b148d05b.js} +2 -2
- package/dist/{privacy.92c9d542.js → privacy.e4e8e744.js} +2 -2
- package/dist/{selected-cycle.88e5c11a.js → selected-cycle.cb62579c.js} +2 -2
- package/dist/{theme.8cc2836e.js → theme.4bab5fbb.js} +2 -2
- package/dist/{tip.87fbcf34.js → tip.ec2273a1.js} +2 -2
- package/dist/zenuml.esm.mjs +1 -1
- package/dist/zenuml.js +2 -2
- package/dist/{zoom-in.cf011759.js → zoom-in.35e8ed6b.js} +2 -2
- package/dist/{zoom-out.48b391c4.js → zoom-out.46299c02.js} +2 -2
- package/package.json +1 -1
|
@@ -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.ba2457a5.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.340eb684.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.ba2457a5.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.2de78e17.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.ba2457a5.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.282ba1f0.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.ba2457a5.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.2b7368c3.js.map
|
|
@@ -25223,6 +25223,8 @@ const hh = () => (uh = X9(), {
|
|
|
25223
25223
|
onMessageClick: () => {
|
|
25224
25224
|
},
|
|
25225
25225
|
onContentChange: () => {
|
|
25226
|
+
},
|
|
25227
|
+
onThemeChange: () => {
|
|
25226
25228
|
}
|
|
25227
25229
|
},
|
|
25228
25230
|
getters: {
|
|
@@ -25251,7 +25253,8 @@ const hh = () => (uh = X9(), {
|
|
|
25251
25253
|
onElementClick: (t) => t.onElementClick,
|
|
25252
25254
|
onMessageClick: (t) => t.onMessageClick,
|
|
25253
25255
|
diagramElement: (t) => t.diagramElement,
|
|
25254
|
-
onContentChange: (t) => t.onContentChange
|
|
25256
|
+
onContentChange: (t) => t.onContentChange,
|
|
25257
|
+
onThemeChange: (t) => t.onThemeChange
|
|
25255
25258
|
},
|
|
25256
25259
|
mutations: {
|
|
25257
25260
|
code: function(t, e) {
|
|
@@ -25270,10 +25273,11 @@ const hh = () => (uh = X9(), {
|
|
|
25270
25273
|
e ? localStorage.setItem(`${location.hostname}-zenuml-numbering`, "1") : localStorage.setItem(`${location.hostname}-zenuml-numbering`, ""), t.numbering = e;
|
|
25271
25274
|
},
|
|
25272
25275
|
setTheme: function(t, e) {
|
|
25276
|
+
var n;
|
|
25273
25277
|
e ? localStorage.setItem(`${location.hostname}-zenuml-theme`, e) : localStorage.setItem(
|
|
25274
25278
|
`${location.hostname}-zenuml-theme`,
|
|
25275
25279
|
"theme-default"
|
|
25276
|
-
), t.theme = e;
|
|
25280
|
+
), t.theme = e, (n = t.onThemeChange) == null || n.call(t, e);
|
|
25277
25281
|
},
|
|
25278
25282
|
setThemeIconDot: function(t, e) {
|
|
25279
25283
|
localStorage.setItem(
|
|
@@ -25287,6 +25291,9 @@ const hh = () => (uh = X9(), {
|
|
|
25287
25291
|
onContentChange: function(t, e) {
|
|
25288
25292
|
t.onContentChange = e;
|
|
25289
25293
|
},
|
|
25294
|
+
onThemeChange: function(t, e) {
|
|
25295
|
+
t.onThemeChange = e;
|
|
25296
|
+
},
|
|
25290
25297
|
diagramElement: function(t, e) {
|
|
25291
25298
|
t.diagramElement = e;
|
|
25292
25299
|
}
|
|
@@ -25319,7 +25326,7 @@ const hh = () => (uh = X9(), {
|
|
|
25319
25326
|
}
|
|
25320
25327
|
},
|
|
25321
25328
|
setup(t) {
|
|
25322
|
-
const e = t, n = hs(() => _v(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.
|
|
25329
|
+
const e = t, n = hs(() => _v(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.2de78e17.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.282ba1f0.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.2b7368c3.js"), "./icons/debug.svg": () => import("./debug.a5f5d598.js"), "./icons/message-arrow.svg": () => import("./message-arrow.1cf3f331.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.655f254f.js"), "./icons/numbering.svg": () => import("./numbering.b148d05b.js"), "./icons/privacy.svg": () => import("./privacy.e4e8e744.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.cb62579c.js"), "./icons/theme.svg": () => import("./theme.4bab5fbb.js"), "./icons/tip.svg": () => import("./tip.ec2273a1.js"), "./icons/zoom-in.svg": () => import("./zoom-in.35e8ed6b.js"), "./icons/zoom-out.svg": () => import("./zoom-out.46299c02.js") }), `./icons/${e.name}.svg`));
|
|
25323
25330
|
return (r, s) => (k(), q("span", {
|
|
25324
25331
|
class: ve(["flex items-center justify-center", t.iconClass]),
|
|
25325
25332
|
onClick: s[0] || (s[0] = (i) => r.$emit("icon-click"))
|
|
@@ -27002,7 +27009,7 @@ const uo = /* @__PURE__ */ ze(Rw, [["render", Iw]]), Mw = { class: "message-laye
|
|
|
27002
27009
|
context: null
|
|
27003
27010
|
},
|
|
27004
27011
|
setup(t) {
|
|
27005
|
-
const e = t, n = hs(() => import("./StylePanel.
|
|
27012
|
+
const e = t, n = hs(() => import("./StylePanel.340eb684.js")), r = b0.child({ name: "MessageLayer" }), s = Fn(), i = G(() => s.getters.participants), o = G(() => s.getters.centerOf), l = G(() => {
|
|
27006
27013
|
var g, L;
|
|
27007
27014
|
const c = (g = e.context) == null ? void 0 : g.stat()[0].message();
|
|
27008
27015
|
if (!c)
|
|
@@ -34475,6 +34482,7 @@ class QO {
|
|
|
34475
34482
|
console.debug("rendering start");
|
|
34476
34483
|
const n = C6();
|
|
34477
34484
|
tv(), this.store.commit("onContentChange", (e == null ? void 0 : e.onContentChange) || (() => {
|
|
34485
|
+
})), this.store.commit("onThemeChange", (e == null ? void 0 : e.onThemeChange) || (() => {
|
|
34478
34486
|
})), (e == null ? void 0 : e.enableMultiTheme) !== void 0 && (this.store.state.enableMultiTheme = e == null ? void 0 : e.enableMultiTheme), await this.store.dispatch("updateCode", { code: this._code }), this._lastRenderingCostMilliseconds = WO(
|
|
34479
34487
|
"rendering end",
|
|
34480
34488
|
n
|
|
@@ -34542,4 +34550,4 @@ export {
|
|
|
34542
34550
|
xh as y,
|
|
34543
34551
|
Re as z
|
|
34544
34552
|
};
|
|
34545
|
-
//# sourceMappingURL=core.
|
|
34553
|
+
//# sourceMappingURL=core.ba2457a5.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.ba2457a5.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.a5f5d598.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.ba2457a5.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.1cf3f331.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.ba2457a5.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.655f254f.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.ba2457a5.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.b148d05b.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.ba2457a5.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.e4e8e744.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.ba2457a5.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.cb62579c.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.ba2457a5.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.4bab5fbb.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.ba2457a5.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.ec2273a1.js.map
|