@zenuml/core 3.24.25 → 3.24.27

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 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 Ve, 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, P as bt, o as Pe, z as Ct, A as At, a as ge, c as Ot, B as Tt, C as St, D as Rt, E as Et, G as Pt, H as Lt } from "./core.b9972989.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 Ve, 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, P as bt, o as Pe, z as Ct, A as At, a as ge, c as Ot, B as Tt, C as St, D as Rt, E as Et, G as Pt, H as Lt } from "./core.38c54a25.js";
2
2
  const Ie = ["top", "right", "bottom", "left"], Le = ["start", "end"], Fe = /* @__PURE__ */ Ie.reduce((e, t) => e.concat(t, t + "-" + Le[0], t + "-" + Le[1]), []), Z = Math.min, q = Math.max, ae = Math.round, le = Math.floor, X = (e) => ({
3
3
  x: e,
4
4
  y: e
@@ -1821,4 +1821,4 @@ const zn = { class: "flex bg-white shadow-md z-10 rounded-md p-1" }, Vn = ["onCl
1821
1821
  export {
1822
1822
  Un as default
1823
1823
  };
1824
- //# sourceMappingURL=StylePanel.5ab7e8da.js.map
1824
+ //# sourceMappingURL=StylePanel.4294907d.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c as o, a as t } from "./core.b9972989.js";
1
+ import { o as e, c as o, a as t } from "./core.38c54a25.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.5a5997e4.js.map
24
+ //# sourceMappingURL=close.49b39642.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c as o, a as t } from "./core.b9972989.js";
1
+ import { o as e, c as o, a as t } from "./core.38c54a25.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.672aaf62.js.map
19
+ //# sourceMappingURL=collapse-expanded.691e880b.js.map
@@ -1,4 +1,4 @@
1
- import { o, c as t, a as e } from "./core.b9972989.js";
1
+ import { o, c as t, a as e } from "./core.38c54a25.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.50a5d993.js.map
32
+ //# sourceMappingURL=collapse-unexpanded.fdc9ad9a.js.map
@@ -25794,7 +25794,7 @@ const nL = () => ({
25794
25794
  }
25795
25795
  },
25796
25796
  setup(t) {
25797
- const e = t, n = O9(() => Bf(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.5a5997e4.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.672aaf62.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.50a5d993.js"), "./icons/debug.svg": () => import("./debug.a5e09224.js"), "./icons/message-arrow.svg": () => import("./message-arrow.71c55c40.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.ae334405.js"), "./icons/numbering.svg": () => import("./numbering.3023884f.js"), "./icons/privacy.svg": () => import("./privacy.cfc6ddf2.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.d7ca6b7d.js"), "./icons/theme.svg": () => import("./theme.2a2b5883.js"), "./icons/tip.svg": () => import("./tip.c16ec258.js"), "./icons/zoom-in.svg": () => import("./zoom-in.22b09d53.js"), "./icons/zoom-out.svg": () => import("./zoom-out.7c8a6518.js") }), `./icons/${e.name}.svg`));
25797
+ const e = t, n = O9(() => Bf(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.49b39642.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.691e880b.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.fdc9ad9a.js"), "./icons/debug.svg": () => import("./debug.c1295aaf.js"), "./icons/message-arrow.svg": () => import("./message-arrow.0ad30f2c.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.e6a57d10.js"), "./icons/numbering.svg": () => import("./numbering.e135c05a.js"), "./icons/privacy.svg": () => import("./privacy.4e2c96d8.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.c8f03d0b.js"), "./icons/theme.svg": () => import("./theme.5ebff3ee.js"), "./icons/tip.svg": () => import("./tip.5b9d139c.js"), "./icons/zoom-in.svg": () => import("./zoom-in.04c65d99.js"), "./icons/zoom-out.svg": () => import("./zoom-out.eb606204.js") }), `./icons/${e.name}.svg`));
25798
25798
  return (i, s) => (T(), W("span", {
25799
25799
  class: M2(["flex items-center justify-center", t.iconClass]),
25800
25800
  onClick: s[0] || (s[0] = (r) => i.$emit("icon-click"))
@@ -30076,6 +30076,10 @@ const H0 = /[!@#$%^&*()+-,.?''":{}|<>/\s]/, d8 = (t) => {
30076
30076
  this.$store.commit("onSelect", this.entity.name);
30077
30077
  },
30078
30078
  updateFontColor() {
30079
+ if (!this.entity.color) {
30080
+ this.color = "inherit";
30081
+ return;
30082
+ }
30079
30083
  let t = window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");
30080
30084
  if (!t) {
30081
30085
  this.color = "inherit";
@@ -30102,7 +30106,7 @@ function pA(t, e, n, i, s, r) {
30102
30106
  }, [
30103
30107
  A("div", {
30104
30108
  innerHTML: r.icon,
30105
- class: "text-skin-base bg-skin-frame px-1 absolute rounded left-1/2 transform -translate-x-1/2 h-8 [&>svg]:w-full [&>svg]:h-full",
30109
+ class: "text-skin-base bg-skin-participant px-1 absolute rounded left-1/2 transform -translate-x-1/2 h-8 [&>svg]:w-full [&>svg]:h-full",
30106
30110
  "aria-description": `icon for ${n.entity.name}`
30107
30111
  }, null, 8, uA)
30108
30112
  ], 6)) : (T(), W("div", hA, [
@@ -30119,7 +30123,7 @@ function pA(t, e, n, i, s, r) {
30119
30123
  r.icon ? (T(), W("div", {
30120
30124
  key: 0,
30121
30125
  innerHTML: r.icon,
30122
- class: "text-skin-base bg-skin-frame px-1 absolute rounded left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",
30126
+ class: "text-skin-base bg-skin-participant px-1 absolute rounded left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",
30123
30127
  "aria-description": `icon for ${n.entity.name}`
30124
30128
  }, null, 8, dA)) : h2("", !0),
30125
30129
  A("div", gA, [
@@ -30246,7 +30250,7 @@ function RA(t, e, n, i, s, r) {
30246
30250
  const o = f2("life-line");
30247
30251
  return r.entities.length > 0 ? (T(), W("div", {
30248
30252
  key: 0,
30249
- class: "container absolute flex flex-col h-full",
30253
+ class: "lifeline-group-container absolute flex flex-col h-full",
30250
30254
  style: _2({ left: `${r.left}px`, width: `${r.right - r.left}px` })
30251
30255
  }, [
30252
30256
  A("div", {
@@ -30340,7 +30344,7 @@ const yA = /* @__PURE__ */ q2(vA, [["render", RA]]), Ki = M8.child({ name: "Life
30340
30344
  LifeLine: aL,
30341
30345
  LifeLineGroup: yA
30342
30346
  }
30343
- }, TA = ["data-participant-names"], SA = { class: "container relative grow" };
30347
+ }, TA = ["data-participant-names"], SA = { class: "z-lifeline-container relative grow" };
30344
30348
  function bA(t, e, n, i, s, r) {
30345
30349
  const o = f2("life-line"), l = f2("life-line-group");
30346
30350
  return T(), W("div", {
@@ -30395,7 +30399,7 @@ const z7 = /* @__PURE__ */ q2(ZA, [["render", bA]]), IA = { class: "message-laye
30395
30399
  context: null
30396
30400
  },
30397
30401
  setup(t) {
30398
- const e = O9(() => import("./StylePanel.5ab7e8da.js")), n = M8.child({ name: "MessageLayer" }), i = B1(), s = b(() => i.getters.centerOf), r = b(() => i.getters.rootContext), o = b(() => s.value(l.value) + 1), l = b(() => {
30402
+ const e = O9(() => import("./StylePanel.4294907d.js")), n = M8.child({ name: "MessageLayer" }), i = B1(), s = b(() => i.getters.centerOf), r = b(() => i.getters.rootContext), o = b(() => s.value(l.value) + 1), l = b(() => {
30399
30403
  const L = L7(r.value);
30400
30404
  return L.length === 0 ? null : L[0].from || b1;
30401
30405
  });
@@ -38970,7 +38974,7 @@ class YN {
38970
38974
  e.id = "headlessui-portal-root", e.className = "zenuml", e.append(document.createElement("div")), document.body.append(e);
38971
38975
  }
38972
38976
  async render(e, n) {
38973
- return this._currentTimeout && (console.debug("rendering clearTimeout"), clearTimeout(this._currentTimeout)), GN.debug("rendering", e, n), this._code = e || this._code, this._theme = (n == null ? void 0 : n.theme) || this._theme, this.store.state.stickyOffset = (n == null ? void 0 : n.stickyOffset) || 0, this.store.state.theme = this._theme || "default", this.store.state.enableScopedTheming = (n == null ? void 0 : n.enableScopedTheming) || !1, this.store.state.mode = (n == null ? void 0 : n.mode) || K1.Dynamic, this.initialRender ? (this.initialRender = !1, await this.doRender(n)) : this._currentTimeout = setTimeout(
38977
+ return this._currentTimeout && (console.debug("rendering clearTimeout"), clearTimeout(this._currentTimeout)), GN.debug("rendering", e, n), this._code = e === void 0 ? this._code : e, this._theme = (n == null ? void 0 : n.theme) || this._theme, this.store.state.stickyOffset = (n == null ? void 0 : n.stickyOffset) || 0, this.store.state.theme = this._theme || "default", this.store.state.enableScopedTheming = (n == null ? void 0 : n.enableScopedTheming) || !1, this.store.state.mode = (n == null ? void 0 : n.mode) || K1.Dynamic, this.initialRender ? (this.initialRender = !1, await this.doRender(n)) : this._currentTimeout = setTimeout(
38974
38978
  async () => await this.doRender(n),
38975
38979
  this.calculateDebounceMilliseconds()
38976
38980
  ), this;
@@ -39049,4 +39053,4 @@ export {
39049
39053
  lL as y,
39050
39054
  Z2 as z
39051
39055
  };
39052
- //# sourceMappingURL=core.b9972989.js.map
39056
+ //# sourceMappingURL=core.38c54a25.js.map
@@ -1,4 +1,4 @@
1
- import { o, c as t, a as e } from "./core.b9972989.js";
1
+ import { o, c as t, a as e } from "./core.38c54a25.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.a5e09224.js.map
33
+ //# sourceMappingURL=debug.c1295aaf.js.map
@@ -1,4 +1,4 @@
1
- import { o as t, c as s, a as e } from "./core.b9972989.js";
1
+ import { o as t, c as s, a as e } from "./core.38c54a25.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.71c55c40.js.map
25
+ //# sourceMappingURL=message-arrow.0ad30f2c.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c, a as o } from "./core.b9972989.js";
1
+ import { o as e, c, a as o } from "./core.38c54a25.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.ae334405.js.map
24
+ //# sourceMappingURL=non-selected-cycle.e6a57d10.js.map
@@ -1,4 +1,4 @@
1
- import { o as Z, c, a as m } from "./core.b9972989.js";
1
+ import { o as Z, c, a as m } from "./core.38c54a25.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.3023884f.js.map
26
+ //# sourceMappingURL=numbering.e135c05a.js.map
@@ -1,4 +1,4 @@
1
- import { o as c, c as t, a as e } from "./core.b9972989.js";
1
+ import { o as c, c as t, a as e } from "./core.38c54a25.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.cfc6ddf2.js.map
18
+ //# sourceMappingURL=privacy.4e2c96d8.js.map
@@ -1,4 +1,4 @@
1
- import { o as t, c as o, a as e } from "./core.b9972989.js";
1
+ import { o as t, c as o, a as e } from "./core.38c54a25.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.d7ca6b7d.js.map
32
+ //# sourceMappingURL=selected-cycle.c8f03d0b.js.map
@@ -1,4 +1,4 @@
1
- import { o as c, c as e, a as t } from "./core.b9972989.js";
1
+ import { o as c, c as e, a as t } from "./core.38c54a25.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.2a2b5883.js.map
20
+ //# sourceMappingURL=theme.5ebff3ee.js.map
@@ -1,4 +1,4 @@
1
- import { o as e, c as t, a as o } from "./core.b9972989.js";
1
+ import { o as e, c as t, a as o } from "./core.38c54a25.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.c16ec258.js.map
19
+ //# sourceMappingURL=tip.5b9d139c.js.map