@zenuml/core 3.29.0 → 3.29.1

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,4 +1,4 @@
1
- import { b as P, u as H, r as R, s as We, w as k, g as lt, d as at, e as Q, F as Ie, m as pe, t as Re, f as Ve, n as ct, p as ut, h as ft, i as dt, j as ne, U as mt, k as ve, T as pt, l as vt, S as gt, q as ht, v as wt, x as yt, y as xt, z as bt, P as Ct, o as Pe, A as Ot, B as At, a as ge, c as Tt, C as St, D as Et, E as Rt, G as Pt, H as Ft, I as Lt } from "./core-570fde53.js";
1
+ import { b as P, u as H, r as R, s as We, w as k, g as lt, d as at, e as Q, F as Ie, m as pe, t as Re, f as Ve, n as ct, p as ut, h as ft, i as dt, j as ne, U as mt, k as ve, T as pt, l as vt, S as gt, q as ht, v as wt, x as yt, y as xt, z as bt, P as Ct, o as Pe, A as Ot, B as At, a as ge, c as Tt, C as St, D as Et, E as Rt, G as Pt, H as Ft, I as Lt } from "./core-97be1854.js";
2
2
  const ze = ["top", "right", "bottom", "left"], Fe = ["start", "end"], Le = /* @__PURE__ */ ze.reduce((e, t) => e.concat(t, t + "-" + Fe[0], t + "-" + Fe[1]), []), Z = Math.min, q = Math.max, ae = Math.round, le = Math.floor, X = (e) => ({
3
3
  x: e,
4
4
  y: e
@@ -1853,4 +1853,4 @@ const Vn = { class: "flex bg-white shadow-md z-10 rounded-md p-1" }, zn = ["onCl
1853
1853
  export {
1854
1854
  Xn as default
1855
1855
  };
1856
- //# sourceMappingURL=StylePanel-d97574ab.js.map
1856
+ //# sourceMappingURL=StylePanel-90c804df.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c as o, a as t } from "./core-570fde53.js";
1
+ import { o as e, c as o, a as t } from "./core-97be1854.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-03407f9f.js.map
24
+ //# sourceMappingURL=close-f732d93b.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c as o, a as t } from "./core-570fde53.js";
1
+ import { o as e, c as o, a as t } from "./core-97be1854.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-625039fa.js.map
19
+ //# sourceMappingURL=collapse-expanded-18896bf9.js.map
@@ -1,4 +1,4 @@
1
- import { o, c as t, a as e } from "./core-570fde53.js";
1
+ import { o, c as t, a as e } from "./core-97be1854.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-dd20b26c.js.map
32
+ //# sourceMappingURL=collapse-unexpanded-d88d158e.js.map
@@ -28426,14 +28426,14 @@ class Vf {
28426
28426
  return e.type === Z9.CreationMessage && (i += n), i;
28427
28427
  }
28428
28428
  withMessageGaps(e, n) {
28429
- e.forEach((i) => {
28429
+ for (const i of e) {
28430
28430
  i.from || (i.from = N1);
28431
28431
  const s = n.findIndex(
28432
28432
  (L) => L.name === i.from
28433
28433
  ), r = n.findIndex((L) => L.name === i.to);
28434
28434
  if (s === -1 || r === -1) {
28435
28435
  console.warn(`Participant ${i.from} or ${i.to} not found`);
28436
- return;
28436
+ continue;
28437
28437
  }
28438
28438
  const o = Math.min(s, r), l = Math.max(s, r);
28439
28439
  try {
@@ -28447,7 +28447,7 @@ class Vf {
28447
28447
  `Could not set message gap between ${i.from} and ${i.to}`
28448
28448
  );
28449
28449
  }
28450
- });
28450
+ }
28451
28451
  }
28452
28452
  withParticipantGaps(e) {
28453
28453
  this.m = e.map((n, i) => e.map((s, r) => r - i === 1 ? this.getParticipantGap(s) : 0));
@@ -28627,7 +28627,7 @@ const lL = () => ({
28627
28627
  }
28628
28628
  },
28629
28629
  setup(t) {
28630
- const e = t, n = N9(() => Gf(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close-03407f9f.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded-625039fa.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded-dd20b26c.js"), "./icons/debug.svg": () => import("./debug-a38187e8.js"), "./icons/message-arrow.svg": () => import("./message-arrow-127c713d.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle-a75b276a.js"), "./icons/numbering.svg": () => import("./numbering-bd94df88.js"), "./icons/privacy.svg": () => import("./privacy-c6498b60.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle-0312c707.js"), "./icons/theme.svg": () => import("./theme-599bf093.js"), "./icons/tip.svg": () => import("./tip-06bc890c.js"), "./icons/zoom-in.svg": () => import("./zoom-in-2953cc88.js"), "./icons/zoom-out.svg": () => import("./zoom-out-b74cab74.js") }), `./icons/${e.name}.svg`));
28630
+ const e = t, n = N9(() => Gf(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close-f732d93b.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded-18896bf9.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded-d88d158e.js"), "./icons/debug.svg": () => import("./debug-922426e4.js"), "./icons/message-arrow.svg": () => import("./message-arrow-ca89b176.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle-a42143a2.js"), "./icons/numbering.svg": () => import("./numbering-518e7f48.js"), "./icons/privacy.svg": () => import("./privacy-d39f3019.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle-c475c912.js"), "./icons/theme.svg": () => import("./theme-dba923c8.js"), "./icons/tip.svg": () => import("./tip-7e9d692b.js"), "./icons/zoom-in.svg": () => import("./zoom-in-ecd0a13e.js"), "./icons/zoom-out.svg": () => import("./zoom-out-e21494d1.js") }), `./icons/${e.name}.svg`));
28631
28631
  return (i, s) => (S(), X("span", {
28632
28632
  class: v2(["flex items-center justify-center", t.iconClass]),
28633
28633
  onClick: s[0] || (s[0] = (r) => i.$emit("icon-click"))
@@ -33243,7 +33243,7 @@ const H7 = /* @__PURE__ */ K2(BA, [["render", WA]]), HA = { class: "message-laye
33243
33243
  context: null
33244
33244
  },
33245
33245
  setup(t) {
33246
- const e = N9(() => import("./StylePanel-d97574ab.js")), n = y8.child({ name: "MessageLayer" }), i = I3(), s = F(() => i.getters.centerOf), r = F(() => i.getters.rootContext), o = F(() => s.value(l.value) + 1), l = F(() => {
33246
+ const e = N9(() => import("./StylePanel-90c804df.js")), n = y8.child({ name: "MessageLayer" }), i = I3(), s = F(() => i.getters.centerOf), r = F(() => i.getters.rootContext), o = F(() => s.value(l.value) + 1), l = F(() => {
33247
33247
  const L = c7(r.value);
33248
33248
  return L.length === 0 ? N1 : L[0].from || N1;
33249
33249
  });
@@ -36144,7 +36144,7 @@ function ZS(t, e, n, i, s, r) {
36144
36144
  ])
36145
36145
  ], 2);
36146
36146
  }
36147
- const XL = /* @__PURE__ */ K2(hS, [["render", ZS]]), TS = "3.29.0";
36147
+ const XL = /* @__PURE__ */ K2(hS, [["render", ZS]]), TS = "3.29.1";
36148
36148
  function JL() {
36149
36149
  return {
36150
36150
  baseUrl: null,
@@ -42142,4 +42142,4 @@ export {
42142
42142
  I3 as y,
42143
42143
  dL as z
42144
42144
  };
42145
- //# sourceMappingURL=core-570fde53.js.map
42145
+ //# sourceMappingURL=core-97be1854.js.map
@@ -1,4 +1,4 @@
1
- import { o, c as t, a as e } from "./core-570fde53.js";
1
+ import { o, c as t, a as e } from "./core-97be1854.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-a38187e8.js.map
33
+ //# sourceMappingURL=debug-922426e4.js.map
@@ -1,4 +1,4 @@
1
- import { o as t, c as s, a as e } from "./core-570fde53.js";
1
+ import { o as t, c as s, a as e } from "./core-97be1854.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-127c713d.js.map
25
+ //# sourceMappingURL=message-arrow-ca89b176.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c, a as o } from "./core-570fde53.js";
1
+ import { o as e, c, a as o } from "./core-97be1854.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-a75b276a.js.map
24
+ //# sourceMappingURL=non-selected-cycle-a42143a2.js.map
@@ -1,4 +1,4 @@
1
- import { o as Z, c, a as m } from "./core-570fde53.js";
1
+ import { o as Z, c, a as m } from "./core-97be1854.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-bd94df88.js.map
26
+ //# sourceMappingURL=numbering-518e7f48.js.map
@@ -1,4 +1,4 @@
1
- import { o as c, c as t, a as e } from "./core-570fde53.js";
1
+ import { o as c, c as t, a as e } from "./core-97be1854.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-c6498b60.js.map
18
+ //# sourceMappingURL=privacy-d39f3019.js.map
@@ -1,4 +1,4 @@
1
- import { o as t, c as o, a as e } from "./core-570fde53.js";
1
+ import { o as t, c as o, a as e } from "./core-97be1854.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-0312c707.js.map
32
+ //# sourceMappingURL=selected-cycle-c475c912.js.map
@@ -1,4 +1,4 @@
1
- import { o as c, c as e, a as t } from "./core-570fde53.js";
1
+ import { o as c, c as e, a as t } from "./core-97be1854.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-599bf093.js.map
20
+ //# sourceMappingURL=theme-dba923c8.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c as t, a as o } from "./core-570fde53.js";
1
+ import { o as e, c as t, a as o } from "./core-97be1854.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-06bc890c.js.map
19
+ //# sourceMappingURL=tip-7e9d692b.js.map