@zenuml/core 3.27.7 → 3.27.9

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.
@@ -0,0 +1,28 @@
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>vue-sequence smoke 1</title>
8
+ <style>
9
+ body {
10
+ margin: 0; /* mostly for demo on mobile */
11
+ }
12
+ </style>
13
+ </head>
14
+ <body>
15
+ <div id="diagram" class="diagram">
16
+ <pre class="zenuml" style="margin: 0">
17
+ title Issue 232 - wrong layout for if-fragment
18
+ Client -> Server:SendRequest
19
+
20
+ if(true){
21
+ Server -> Server: processRequest
22
+ }</pre
23
+ >
24
+ </div>
25
+ <!-- built files will be auto injected -->
26
+ <script type="module" src="/src/main-cy.ts"></script>
27
+ </body>
28
+ </html>
@@ -1,4 +1,4 @@
1
- import { b as P, u as H, r as E, s as _e, w as k, g as lt, d as at, e as Q, F as ze, m as pe, t as Ee, f as Ie, n as ct, p as ft, h as ut, i as dt, j as ne, U as mt, k as he, T as pt, l as ht, S as gt, q as vt, v as wt, x as yt, y as xt, z as bt, P as Ct, o as Pe, A as At, B as Ot, a as ge, c as Tt, C as Rt, D as St, E as Et, G as Pt, H as Lt, I as Ft } from "./core.7cd0377f.js";
1
+ import { b as P, u as H, r as E, s as _e, w as k, g as lt, d as at, e as Q, F as ze, m as pe, t as Ee, f as Ie, n as ct, p as ft, h as ut, i as dt, j as ne, U as mt, k as he, T as pt, l as ht, S as gt, q as vt, v as wt, x as yt, y as xt, z as bt, P as Ct, o as Pe, A as At, B as Ot, a as ge, c as Tt, C as Rt, D as St, E as Et, G as Pt, H as Lt, I as Ft } from "./core.e7ad5d13.js";
2
2
  const Ve = ["top", "right", "bottom", "left"], Le = ["start", "end"], Fe = /* @__PURE__ */ Ve.reduce((e, t) => e.concat(t, t + "-" + Le[0], t + "-" + Le[1]), []), Z = Math.min, q = Math.max, ae = Math.round, le = Math.floor, Y = (e) => ({
3
3
  x: e,
4
4
  y: e
@@ -1822,4 +1822,4 @@ const In = { class: "flex bg-white shadow-md z-10 rounded-md p-1" }, Vn = ["onCl
1822
1822
  export {
1823
1823
  Yn as default
1824
1824
  };
1825
- //# sourceMappingURL=StylePanel.9bd4276b.js.map
1825
+ //# sourceMappingURL=StylePanel.bbb12ed8.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c as o, a as t } from "./core.7cd0377f.js";
1
+ import { o as e, c as o, a as t } from "./core.e7ad5d13.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.25193d2e.js.map
24
+ //# sourceMappingURL=close.b8a64a42.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c as o, a as t } from "./core.7cd0377f.js";
1
+ import { o as e, c as o, a as t } from "./core.e7ad5d13.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.3b1cbe7a.js.map
19
+ //# sourceMappingURL=collapse-expanded.1a3b7296.js.map
@@ -1,4 +1,4 @@
1
- import { o, c as t, a as e } from "./core.7cd0377f.js";
1
+ import { o, c as t, a as e } from "./core.e7ad5d13.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.c87bcc53.js.map
32
+ //# sourceMappingURL=collapse-unexpanded.a54214ba.js.map
@@ -26110,7 +26110,7 @@ const oL = () => ({
26110
26110
  }
26111
26111
  },
26112
26112
  setup(t) {
26113
- const e = t, n = F9(() => Wf(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.25193d2e.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.3b1cbe7a.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.c87bcc53.js"), "./icons/debug.svg": () => import("./debug.3eda6c90.js"), "./icons/message-arrow.svg": () => import("./message-arrow.19c1b006.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.c4a88a68.js"), "./icons/numbering.svg": () => import("./numbering.e71b82e6.js"), "./icons/privacy.svg": () => import("./privacy.d3703c0f.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.7172c7e3.js"), "./icons/theme.svg": () => import("./theme.8a7f2231.js"), "./icons/tip.svg": () => import("./tip.63b66c43.js"), "./icons/zoom-in.svg": () => import("./zoom-in.d6e1e9ea.js"), "./icons/zoom-out.svg": () => import("./zoom-out.17ccc3f0.js") }), `./icons/${e.name}.svg`));
26113
+ const e = t, n = F9(() => Wf(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.b8a64a42.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.1a3b7296.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.a54214ba.js"), "./icons/debug.svg": () => import("./debug.e87d2dd7.js"), "./icons/message-arrow.svg": () => import("./message-arrow.58fb05cf.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.f2541764.js"), "./icons/numbering.svg": () => import("./numbering.ec42e404.js"), "./icons/privacy.svg": () => import("./privacy.6742e629.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.9e2cdb24.js"), "./icons/theme.svg": () => import("./theme.27c2cc85.js"), "./icons/tip.svg": () => import("./tip.465c9321.js"), "./icons/zoom-in.svg": () => import("./zoom-in.aa58c000.js"), "./icons/zoom-out.svg": () => import("./zoom-out.1157fac9.js") }), `./icons/${e.name}.svg`));
26114
26114
  return (i, s) => (b(), J("span", {
26115
26115
  class: _2(["flex items-center justify-center", t.iconClass]),
26116
26116
  onClick: s[0] || (s[0] = (r) => i.$emit("icon-click"))
@@ -30716,7 +30716,7 @@ const U7 = /* @__PURE__ */ K2(EA, [["render", OA]]), NA = { class: "message-laye
30716
30716
  context: null
30717
30717
  },
30718
30718
  setup(t) {
30719
- const e = F9(() => import("./StylePanel.9bd4276b.js")), n = M8.child({ name: "MessageLayer" }), i = I3(), s = F(() => i.getters.centerOf), r = F(() => i.getters.rootContext), o = F(() => s.value(l.value) + 1), l = F(() => {
30719
+ const e = F9(() => import("./StylePanel.bbb12ed8.js")), n = M8.child({ name: "MessageLayer" }), i = I3(), s = F(() => i.getters.centerOf), r = F(() => i.getters.rootContext), o = F(() => s.value(l.value) + 1), l = F(() => {
30720
30720
  const L = a7(r.value);
30721
30721
  return L.length === 0 ? q1 : L[0].from || q1;
30722
30722
  });
@@ -33609,7 +33609,7 @@ function _S(t, e, n, i, s, r) {
33609
33609
  ])
33610
33610
  ], 2);
33611
33611
  }
33612
- const KL = /* @__PURE__ */ K2(oS, [["render", _S]]), vS = "3.27.7";
33612
+ const KL = /* @__PURE__ */ K2(oS, [["render", _S]]), vS = "3.27.9";
33613
33613
  function YL() {
33614
33614
  return {
33615
33615
  baseUrl: null,
@@ -38086,7 +38086,7 @@ const mI = {
38086
38086
  blockLength: S0
38087
38087
  };
38088
38088
  }
38089
- }, pa = (t) => (f4("data-v-29ea9a99"), t = t(), p4(), t), wI = ["data-origin", "data-left-participant", "data-frame-padding-left", "data-frame-padding-right"], xI = { class: "segment" }, _I = { class: "header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative" }, vI = { class: "name font-semibold p-1 border-b" }, MI = { class: "p-0" }, RI = { class: "segment" }, yI = { class: "text-skin-fragment flex" }, AI = /* @__PURE__ */ pa(() => /* @__PURE__ */ A("label", { class: "else-if hidden" }, "else if", -1)), kI = {
38089
+ }, pa = (t) => (f4("data-v-d7a294d3"), t = t(), p4(), t), wI = ["data-origin", "data-left-participant", "data-frame-padding-left", "data-frame-padding-right"], xI = { class: "segment" }, _I = { class: "header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative" }, vI = { class: "name font-semibold p-1 border-b" }, MI = { class: "p-0" }, RI = { class: "segment" }, yI = { class: "text-skin-fragment flex" }, AI = /* @__PURE__ */ pa(() => /* @__PURE__ */ A("label", { class: "else-if hidden" }, "else if", -1)), kI = {
38090
38090
  key: 0,
38091
38091
  class: "segment mt-2 border-t border-solid"
38092
38092
  }, ZI = /* @__PURE__ */ pa(() => /* @__PURE__ */ A("div", { class: "text-skin-fragment" }, [
@@ -38155,8 +38155,8 @@ function TI(t, e, n, i, s, r) {
38155
38155
  }, null, 8, ["condition"])
38156
38156
  ])),
38157
38157
  (b(), S2(C, {
38158
- origin: t.origin,
38159
- style: w2({ paddingLeft: `${t.offsetX}px` }),
38158
+ origin: t.leftParticipant,
38159
+ style: w2({ paddingLeft: `${t.paddingLeft}px` }),
38160
38160
  context: i.blockInElseIfBlock(c),
38161
38161
  key: h + 2e3,
38162
38162
  number: `${n.number}.${i.blockLengthAcc[h] + 1}`,
@@ -38166,8 +38166,8 @@ function TI(t, e, n, i, s, r) {
38166
38166
  i.elseBlock ? (b(), J("div", kI, [
38167
38167
  ZI,
38168
38168
  U(C, {
38169
- origin: t.origin,
38170
- style: w2({ paddingLeft: `${t.offsetX}px` }),
38169
+ origin: t.leftParticipant,
38170
+ style: w2({ paddingLeft: `${t.paddingLeft}px` }),
38171
38171
  context: i.elseBlock,
38172
38172
  number: `${n.number}.${i.blockLengthAcc[i.blockLengthAcc.length - 1] + 1}`,
38173
38173
  incremental: ""
@@ -38176,7 +38176,7 @@ function TI(t, e, n, i, s, r) {
38176
38176
  ], 2)
38177
38177
  ], 12, wI);
38178
38178
  }
38179
- const SI = /* @__PURE__ */ K2(mI, [["render", TI], ["__scopeId", "data-v-29ea9a99"]]);
38179
+ const SI = /* @__PURE__ */ K2(mI, [["render", TI], ["__scopeId", "data-v-d7a294d3"]]);
38180
38180
  const bI = {
38181
38181
  name: "fragment-par",
38182
38182
  props: ["context", "comment", "commentObj", "number"],
@@ -39332,4 +39332,4 @@ export {
39332
39332
  I3 as y,
39333
39333
  cL as z
39334
39334
  };
39335
- //# sourceMappingURL=core.7cd0377f.js.map
39335
+ //# sourceMappingURL=core.e7ad5d13.js.map
@@ -1,4 +1,4 @@
1
- import { o, c as t, a as e } from "./core.7cd0377f.js";
1
+ import { o, c as t, a as e } from "./core.e7ad5d13.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.3eda6c90.js.map
33
+ //# sourceMappingURL=debug.e87d2dd7.js.map
@@ -1,4 +1,4 @@
1
- import { o as t, c as s, a as e } from "./core.7cd0377f.js";
1
+ import { o as t, c as s, a as e } from "./core.e7ad5d13.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.19c1b006.js.map
25
+ //# sourceMappingURL=message-arrow.58fb05cf.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c, a as o } from "./core.7cd0377f.js";
1
+ import { o as e, c, a as o } from "./core.e7ad5d13.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.c4a88a68.js.map
24
+ //# sourceMappingURL=non-selected-cycle.f2541764.js.map
@@ -1,4 +1,4 @@
1
- import { o as Z, c, a as m } from "./core.7cd0377f.js";
1
+ import { o as Z, c, a as m } from "./core.e7ad5d13.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.e71b82e6.js.map
26
+ //# sourceMappingURL=numbering.ec42e404.js.map
@@ -1,4 +1,4 @@
1
- import { o as c, c as t, a as e } from "./core.7cd0377f.js";
1
+ import { o as c, c as t, a as e } from "./core.e7ad5d13.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.d3703c0f.js.map
18
+ //# sourceMappingURL=privacy.6742e629.js.map
@@ -1,4 +1,4 @@
1
- import { o as t, c as o, a as e } from "./core.7cd0377f.js";
1
+ import { o as t, c as o, a as e } from "./core.e7ad5d13.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.7172c7e3.js.map
32
+ //# sourceMappingURL=selected-cycle.9e2cdb24.js.map
@@ -1,4 +1,4 @@
1
- import { o as c, c as e, a as t } from "./core.7cd0377f.js";
1
+ import { o as c, c as e, a as t } from "./core.e7ad5d13.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.8a7f2231.js.map
20
+ //# sourceMappingURL=theme.27c2cc85.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c as t, a as o } from "./core.7cd0377f.js";
1
+ import { o as e, c as t, a as o } from "./core.e7ad5d13.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.63b66c43.js.map
19
+ //# sourceMappingURL=tip.465c9321.js.map