@zenuml/core 3.17.1 → 3.17.2
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/.eslintrc.js +1 -0
- package/.git-blame-ignore-revs +6 -0
- package/dist/{StylePanel.c51192c1.js → StylePanel.2c488616.js} +2 -2
- package/dist/{close.25eee253.js → close.713329b8.js} +2 -2
- package/dist/{collapse-expanded.ed92e849.js → collapse-expanded.920ad56a.js} +2 -2
- package/dist/{collapse-unexpanded.1fef15cf.js → collapse-unexpanded.f930b5bd.js} +2 -2
- package/dist/{core.04cb35e8.js → core.0767a1be.js} +105 -62
- package/dist/{debug.886d5b19.js → debug.63986d15.js} +2 -2
- package/dist/{message-arrow.f401bf00.js → message-arrow.305e6afc.js} +2 -2
- package/dist/{non-selected-cycle.62f4a646.js → non-selected-cycle.80181d02.js} +2 -2
- package/dist/{numbering.f3a940ed.js → numbering.a7a69404.js} +2 -2
- package/dist/{privacy.3858ec9b.js → privacy.8f8cd906.js} +2 -2
- package/dist/{selected-cycle.1b3e9379.js → selected-cycle.50d96847.js} +2 -2
- package/dist/{theme.591bee8e.js → theme.298aae41.js} +2 -2
- package/dist/{tip.8e40fcdd.js → tip.f5226685.js} +2 -2
- package/dist/zenuml.esm.mjs +2 -2
- package/dist/zenuml.js +11 -11
- package/dist/{zoom-in.268778e5.js → zoom-in.aba10c2c.js} +2 -2
- package/dist/{zoom-out.ec52b08d.js → zoom-out.b73582c2.js} +2 -2
- package/package.json +3 -1
package/.eslintrc.js
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# This file is used to configure to ignore the given commit sha in git blame
|
|
2
|
+
# To apply this file, run the following command:
|
|
3
|
+
# git config blame.ignorerevsfile .git-blame-ignore-revs
|
|
4
|
+
|
|
5
|
+
# This commit formatted the entire codebase
|
|
6
|
+
80987154e7740ddae2c7c0a04607bc25da51586e
|
|
@@ -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.0767a1be.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.2c488616.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.0767a1be.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.713329b8.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.0767a1be.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.920ad56a.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.0767a1be.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.f930b5bd.js.map
|
|
@@ -299,17 +299,23 @@ function B6(t, e) {
|
|
|
299
299
|
t[e] = (console[e] || console.log).bind(console);
|
|
300
300
|
}
|
|
301
301
|
function $6(t, e, n) {
|
|
302
|
-
t[e] = (console[e] || console.log).bind(
|
|
302
|
+
t[e] = (console[e] || console.log).bind(
|
|
303
|
+
console,
|
|
304
|
+
n[0],
|
|
305
|
+
n[1]
|
|
306
|
+
);
|
|
303
307
|
}
|
|
304
308
|
function H6(t) {
|
|
305
309
|
kc.forEach((n) => B6(t, n));
|
|
306
310
|
const e = t.child;
|
|
307
311
|
return t.child = function(n) {
|
|
308
312
|
const r = e.call(t, n);
|
|
309
|
-
return kc.forEach(
|
|
313
|
+
return kc.forEach(
|
|
314
|
+
(s) => $6(r, s, ["%c" + n.name || "", "color: #00f"])
|
|
315
|
+
), r;
|
|
310
316
|
}, t;
|
|
311
317
|
}
|
|
312
|
-
|
|
318
|
+
const b0 = H6(D6);
|
|
313
319
|
function bs(t, e) {
|
|
314
320
|
const n = /* @__PURE__ */ Object.create(null), r = t.split(",");
|
|
315
321
|
for (let s = 0; s < r.length; s++)
|
|
@@ -24502,7 +24508,7 @@ tc.prototype.Origin = function() {
|
|
|
24502
24508
|
const Iy = d, My = Iy.DividerContext;
|
|
24503
24509
|
My.prototype.Note = function() {
|
|
24504
24510
|
var e;
|
|
24505
|
-
|
|
24511
|
+
const t = (e = this.dividerNote()) == null ? void 0 : e.getFormattedText().trim();
|
|
24506
24512
|
if (!t.startsWith("=="))
|
|
24507
24513
|
throw new Error("Divider note must start with ==");
|
|
24508
24514
|
return t == null ? void 0 : t.replace(/^=+|=+$/g, "");
|
|
@@ -24536,8 +24542,7 @@ class $y {
|
|
|
24536
24542
|
}
|
|
24537
24543
|
By.prototype.Assignment = function() {
|
|
24538
24544
|
var r, s;
|
|
24539
|
-
|
|
24540
|
-
const e = (r = t == null ? void 0 : t.assignee()) == null ? void 0 : r.getFormattedText(), n = (s = t == null ? void 0 : t.type()) == null ? void 0 : s.getFormattedText();
|
|
24545
|
+
const t = this.messageBody().assignment(), e = (r = t == null ? void 0 : t.assignee()) == null ? void 0 : r.getFormattedText(), n = (s = t == null ? void 0 : t.type()) == null ? void 0 : s.getFormattedText();
|
|
24541
24546
|
if (e)
|
|
24542
24547
|
return new $y(e, n);
|
|
24543
24548
|
};
|
|
@@ -24991,20 +24996,23 @@ function eu(t, e) {
|
|
|
24991
24996
|
}
|
|
24992
24997
|
const tu = Math.sqrt(Number.EPSILON);
|
|
24993
24998
|
function av(t, e) {
|
|
24994
|
-
|
|
24999
|
+
const n = t.position - e.position;
|
|
24995
25000
|
return n < -tu || Math.abs(n) <= tu && t.velocity < e.velocity;
|
|
24996
25001
|
}
|
|
24997
25002
|
function cv() {
|
|
24998
25003
|
return {
|
|
24999
25004
|
delta: 1 / 0,
|
|
25000
25005
|
dualLessThan: function(t, e) {
|
|
25001
|
-
|
|
25002
|
-
return n && ([t, e] = [e, t]), t.velocity < e.velocity && (this.delta = Math.min(
|
|
25006
|
+
const n = av(t, e);
|
|
25007
|
+
return n && ([t, e] = [e, t]), t.velocity < e.velocity && (this.delta = Math.min(
|
|
25008
|
+
this.delta,
|
|
25009
|
+
(t.position - e.position) / (e.velocity - t.velocity)
|
|
25010
|
+
)), n;
|
|
25003
25011
|
}
|
|
25004
25012
|
};
|
|
25005
25013
|
}
|
|
25006
25014
|
function uv(t, e) {
|
|
25007
|
-
|
|
25015
|
+
const n = Array();
|
|
25008
25016
|
for (let r = 0; r < t; r++) {
|
|
25009
25017
|
n.push([]);
|
|
25010
25018
|
for (let s = 0; s < r; s++)
|
|
@@ -25013,12 +25021,14 @@ function uv(t, e) {
|
|
|
25013
25021
|
return n;
|
|
25014
25022
|
}
|
|
25015
25023
|
function hv(t, e) {
|
|
25016
|
-
|
|
25024
|
+
const n = cv();
|
|
25025
|
+
let r = $1(0, 0);
|
|
25026
|
+
const s = [];
|
|
25017
25027
|
for (let i = 0; i < t.length; i++) {
|
|
25018
25028
|
let o = null;
|
|
25019
25029
|
i > 0 && (r = eu(r, e[i - 1]));
|
|
25020
|
-
for (
|
|
25021
|
-
|
|
25030
|
+
for (const l of t[i]) {
|
|
25031
|
+
const a = eu(s[l.i].maximum, l.length);
|
|
25022
25032
|
n.dualLessThan(r, a) && (o = l.i, r = a);
|
|
25023
25033
|
}
|
|
25024
25034
|
s.push({ argument: o, maximum: r });
|
|
@@ -25028,7 +25038,7 @@ function hv(t, e) {
|
|
|
25028
25038
|
function dv(t, e, n) {
|
|
25029
25039
|
let r = t.length - 1;
|
|
25030
25040
|
for (; r > 0; ) {
|
|
25031
|
-
|
|
25041
|
+
const s = t[r].argument;
|
|
25032
25042
|
s !== null ? r = s : (r--, n[r].velocity = 0);
|
|
25033
25043
|
}
|
|
25034
25044
|
}
|
|
@@ -25037,18 +25047,17 @@ function fv(t, e) {
|
|
|
25037
25047
|
t[n].position += t[n].velocity * e;
|
|
25038
25048
|
}
|
|
25039
25049
|
function pv(t) {
|
|
25040
|
-
|
|
25041
|
-
for (
|
|
25050
|
+
const e = [];
|
|
25051
|
+
for (const n of t)
|
|
25042
25052
|
e.push(n.maximum.position);
|
|
25043
25053
|
return e;
|
|
25044
25054
|
}
|
|
25045
25055
|
function gv(t) {
|
|
25046
|
-
const e = t.length;
|
|
25047
|
-
let n = uv(e, t), r = [];
|
|
25056
|
+
const e = t.length, n = uv(e, t), r = [];
|
|
25048
25057
|
for (let s = 1; s < e; s++)
|
|
25049
25058
|
r.push($1(0, 1));
|
|
25050
25059
|
for (; ; ) {
|
|
25051
|
-
|
|
25060
|
+
const [s, i] = hv(n, r);
|
|
25052
25061
|
if (s == 1 / 0)
|
|
25053
25062
|
return pv(i);
|
|
25054
25063
|
i[e - 1].maximum.velocity > 0 ? dv(i, n, r) : fv(r, s);
|
|
@@ -25066,9 +25075,13 @@ class mv extends w {
|
|
|
25066
25075
|
Z(this, "_addOwnedMessage", (n) => (r) => {
|
|
25067
25076
|
if (this.isBlind)
|
|
25068
25077
|
return;
|
|
25069
|
-
|
|
25070
|
-
|
|
25071
|
-
|
|
25078
|
+
const s = r.From(), i = r == null ? void 0 : r.Owner(), o = r == null ? void 0 : r.SignatureText();
|
|
25079
|
+
this.ownableMessages.push({
|
|
25080
|
+
from: s,
|
|
25081
|
+
signature: o,
|
|
25082
|
+
type: n,
|
|
25083
|
+
to: i
|
|
25084
|
+
});
|
|
25072
25085
|
});
|
|
25073
25086
|
}
|
|
25074
25087
|
enterParameters() {
|
|
@@ -25297,7 +25310,7 @@ const hh = () => (uh = Y9(), {
|
|
|
25297
25310
|
}
|
|
25298
25311
|
},
|
|
25299
25312
|
setup(t) {
|
|
25300
|
-
const e = t, n = us(() => Lv(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.
|
|
25313
|
+
const e = t, n = us(() => Lv(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.713329b8.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.920ad56a.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.f930b5bd.js"), "./icons/debug.svg": () => import("./debug.63986d15.js"), "./icons/message-arrow.svg": () => import("./message-arrow.305e6afc.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.80181d02.js"), "./icons/numbering.svg": () => import("./numbering.a7a69404.js"), "./icons/privacy.svg": () => import("./privacy.8f8cd906.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.50d96847.js"), "./icons/theme.svg": () => import("./theme.298aae41.js"), "./icons/tip.svg": () => import("./tip.f5226685.js"), "./icons/zoom-in.svg": () => import("./zoom-in.aba10c2c.js"), "./icons/zoom-out.svg": () => import("./zoom-out.b73582c2.js") }), `./icons/${e.name}.svg`));
|
|
25301
25314
|
return (r, s) => (R(), q("span", {
|
|
25302
25315
|
class: we(["flex items-center justify-center", t.iconClass]),
|
|
25303
25316
|
onClick: s[0] || (s[0] = (i) => r.$emit("icon-click"))
|
|
@@ -25329,7 +25342,7 @@ function Cv(t, e, n, r, s, i) {
|
|
|
25329
25342
|
])
|
|
25330
25343
|
]);
|
|
25331
25344
|
}
|
|
25332
|
-
const vv = /* @__PURE__ */ Ge(_v, [["render", Cv], ["__scopeId", "data-v-
|
|
25345
|
+
const vv = /* @__PURE__ */ Ge(_v, [["render", Cv], ["__scopeId", "data-v-3e7c8bd7"]]), bv = {
|
|
25333
25346
|
name: "DiagramTitle",
|
|
25334
25347
|
props: ["context"],
|
|
25335
25348
|
computed: {
|
|
@@ -25607,13 +25620,11 @@ function pi(t) {
|
|
|
25607
25620
|
return e.length < 2 ? "0" + e : e;
|
|
25608
25621
|
}
|
|
25609
25622
|
function Iv(t) {
|
|
25610
|
-
const e = cc.exports.get.rgb(t);
|
|
25611
|
-
let [n, r, s] = e;
|
|
25623
|
+
const e = cc.exports.get.rgb(t), [n, r, s] = e;
|
|
25612
25624
|
return (n * 299 + r * 587 + s * 114) / 1e3;
|
|
25613
25625
|
}
|
|
25614
25626
|
function Mv(t) {
|
|
25615
|
-
const e = cc.exports.get.rgb(t);
|
|
25616
|
-
let [n, r, s] = e;
|
|
25627
|
+
const e = cc.exports.get.rgb(t), [n, r, s] = e;
|
|
25617
25628
|
return `rgb(${n}, ${r}, ${s})`;
|
|
25618
25629
|
}
|
|
25619
25630
|
const Nv = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -26614,7 +26625,8 @@ function mh() {
|
|
|
26614
26625
|
}), t;
|
|
26615
26626
|
}
|
|
26616
26627
|
function xh(t) {
|
|
26617
|
-
|
|
26628
|
+
let e = 0, n = t;
|
|
26629
|
+
for (; n; )
|
|
26618
26630
|
e += n.offsetTop, n = n.offsetParent;
|
|
26619
26631
|
return e;
|
|
26620
26632
|
}
|
|
@@ -26815,12 +26827,18 @@ const _h = /* @__PURE__ */ Ge(_w, [["render", vw], ["__scopeId", "data-v-1966171
|
|
|
26815
26827
|
return 0;
|
|
26816
26828
|
},
|
|
26817
26829
|
left() {
|
|
26818
|
-
const t = this.entities[0].name, e = Math.max(
|
|
26830
|
+
const t = this.entities[0].name, e = Math.max(
|
|
26831
|
+
_0(t, xr.ParticipantName),
|
|
26832
|
+
"100"
|
|
26833
|
+
);
|
|
26819
26834
|
return this.centerOf(t) - e / 2 - 8;
|
|
26820
26835
|
},
|
|
26821
26836
|
right() {
|
|
26822
26837
|
const t = Math.max(
|
|
26823
|
-
_0(
|
|
26838
|
+
_0(
|
|
26839
|
+
this.entities.slice(-1).name,
|
|
26840
|
+
xr.ParticipantName
|
|
26841
|
+
),
|
|
26824
26842
|
"100"
|
|
26825
26843
|
), e = this.entities.slice(0).pop().name;
|
|
26826
26844
|
return this.centerOf(e) + t / 2 + 20;
|
|
@@ -26841,7 +26859,10 @@ function Ew(t, e, n, r, s, i) {
|
|
|
26841
26859
|
style: Ce({ left: `${i.left}px`, width: `${i.right - i.left}px` })
|
|
26842
26860
|
}, [
|
|
26843
26861
|
S("div", {
|
|
26844
|
-
class: we(["flex flex-col flex-grow", {
|
|
26862
|
+
class: we(["flex flex-col flex-grow", {
|
|
26863
|
+
shadow: !n.renderParticipants,
|
|
26864
|
+
"shadow-slate-500/50": !n.renderParticipants
|
|
26865
|
+
}])
|
|
26845
26866
|
}, [
|
|
26846
26867
|
S("div", ww, [
|
|
26847
26868
|
(R(!0), q(Fe, null, On(i.entities, (l) => (R(), ke(o, {
|
|
@@ -26969,7 +26990,7 @@ const uo = /* @__PURE__ */ Ge(Rw, [["render", Ow]]), Iw = { class: "message-laye
|
|
|
26969
26990
|
context: null
|
|
26970
26991
|
},
|
|
26971
26992
|
setup(t) {
|
|
26972
|
-
const e = t, n = us(() => import("./StylePanel.
|
|
26993
|
+
const e = t, n = us(() => import("./StylePanel.2c488616.js")), r = b0.child({ name: "MessageLayer" }), s = Gr(), i = J(() => s.getters.participants), o = J(() => s.getters.centerOf), l = J(() => {
|
|
26973
26994
|
var x, y;
|
|
26974
26995
|
const c = (x = e.context) == null ? void 0 : x.stat()[0].message();
|
|
26975
26996
|
if (!c)
|
|
@@ -27015,7 +27036,7 @@ class uc extends w {
|
|
|
27015
27036
|
];
|
|
27016
27037
|
}
|
|
27017
27038
|
getLeft(n) {
|
|
27018
|
-
|
|
27039
|
+
const r = this.getLocalParticipants(n);
|
|
27019
27040
|
return this._orderedParticipants.find((s) => r.includes(s)) || "";
|
|
27020
27041
|
}
|
|
27021
27042
|
getRight(n) {
|
|
@@ -27023,7 +27044,11 @@ class uc extends w {
|
|
|
27023
27044
|
}
|
|
27024
27045
|
enterFragment(n) {
|
|
27025
27046
|
var s;
|
|
27026
|
-
const r = {
|
|
27047
|
+
const r = {
|
|
27048
|
+
left: this.getLeft(n),
|
|
27049
|
+
right: this.getRight(n),
|
|
27050
|
+
children: []
|
|
27051
|
+
};
|
|
27027
27052
|
this.frameRoot || (this.frameRoot = r), this.parents.length > 0 && ((s = this.parents[this.parents.length - 1].children) == null || s.push(r)), this.parents.push(r);
|
|
27028
27053
|
}
|
|
27029
27054
|
exitFragment() {
|
|
@@ -27069,7 +27094,7 @@ function ll(t, e) {
|
|
|
27069
27094
|
if (!t.children || t.children.length === 0)
|
|
27070
27095
|
return 1;
|
|
27071
27096
|
let n = 0;
|
|
27072
|
-
for (
|
|
27097
|
+
for (const r of t.children)
|
|
27073
27098
|
e === "LEFT" && r.left !== t.left || e === "RIGHT" && r.right !== t.right || (n = Math.max(n, ll(r, e)));
|
|
27074
27099
|
return n + 1;
|
|
27075
27100
|
}
|
|
@@ -27271,7 +27296,7 @@ const zw = /* @__PURE__ */ Ge(Pw, [["render", Vw]]), Gw = {
|
|
|
27271
27296
|
}, "\u200B", -1), qw = { class: "z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2" }, Kw = {
|
|
27272
27297
|
class: "bg-white px-4 py-5 border-b border-gray-200 sm:px-6",
|
|
27273
27298
|
slot: "header"
|
|
27274
|
-
}, Yw = /* @__PURE__ */ S("h3", { class: "text-xl leading-6 font-medium text-gray-900 inline-block" }, "ZenUML Tips", -1), Xw = /* @__PURE__ */ S("span", { class: "sr-only" }, "Close menu", -1), Qw = { slot: "body" }, Jw = { class: "relative bg-white pb-32 mt-4 overflow-hidden" }, eE = { class: "relative" }, tE = { class: "lg:mx-auto lg:max-w-11/12 lg:px-8" }, nE = /* @__PURE__ */ h1(`<div class="grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"><div><div class="px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Declare Participants </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>// Define a Starter (optional)
|
|
27299
|
+
}, Yw = /* @__PURE__ */ S("h3", { class: "text-xl leading-6 font-medium text-gray-900 inline-block" }, " ZenUML Tips ", -1), Xw = /* @__PURE__ */ S("span", { class: "sr-only" }, "Close menu", -1), Qw = { slot: "body" }, Jw = { class: "relative bg-white pb-32 mt-4 overflow-hidden" }, eE = { class: "relative" }, tE = { class: "lg:mx-auto lg:max-w-11/12 lg:px-8" }, nE = /* @__PURE__ */ h1(`<div class="grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"><div><div class="px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Declare Participants </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>// Define a Starter (optional)
|
|
27275
27300
|
@Starter(A)
|
|
27276
27301
|
|
|
27277
27302
|
// Show icons
|
|
@@ -27281,10 +27306,10 @@ const zw = /* @__PURE__ */ Ge(Pw, [["render", Vw]]), Gw = {
|
|
|
27281
27306
|
group GroupName { B C }
|
|
27282
27307
|
|
|
27283
27308
|
// Use stereotype
|
|
27284
|
-
<<servlet>> ServiceX</code></pre></div><div class="px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900">Divider</h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>A.method()
|
|
27309
|
+
<<servlet>> ServiceX</code></pre></div><div class="px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Divider </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>A.method()
|
|
27285
27310
|
==divider name==
|
|
27286
27311
|
B.method()
|
|
27287
|
-
</code></pre></div></div><div class="px-4 w-full mx-auto lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900">Fragments</h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>// Alt (AKA if/else)
|
|
27312
|
+
</code></pre></div></div><div class="px-4 w-full mx-auto lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Fragments </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>// Alt (AKA if/else)
|
|
27288
27313
|
if(condition1) {}
|
|
27289
27314
|
else if (condition2) {}
|
|
27290
27315
|
else {}
|
|
@@ -27301,7 +27326,7 @@ par {}
|
|
|
27301
27326
|
|
|
27302
27327
|
// Try Catch Finally
|
|
27303
27328
|
try {} catch() {} finally {}
|
|
27304
|
-
</code></pre></div><div class="px-4 w-full mx-auto lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900">Messages</h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>//Creation
|
|
27329
|
+
</code></pre></div><div class="px-4 w-full mx-auto lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Messages </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>//Creation
|
|
27305
27330
|
new ParticipantName()
|
|
27306
27331
|
|
|
27307
27332
|
//Sync Message
|
|
@@ -27374,7 +27399,7 @@ const uE = /* @__PURE__ */ Ge(Gw, [["render", cE]]);
|
|
|
27374
27399
|
const hE = {
|
|
27375
27400
|
name: "point",
|
|
27376
27401
|
props: ["fill", "rtl"]
|
|
27377
|
-
}, Ch = (t) => (Ss("data-v-
|
|
27402
|
+
}, Ch = (t) => (Ss("data-v-de6521b0"), t = t(), As(), t), dE = {
|
|
27378
27403
|
key: 0,
|
|
27379
27404
|
class: "arrow stroke-2",
|
|
27380
27405
|
height: "10",
|
|
@@ -27403,7 +27428,7 @@ function LE(t, e, n, r, s, i) {
|
|
|
27403
27428
|
n.rtl ? (R(), q("svg", gE, xE)) : me("", !0)
|
|
27404
27429
|
], 2);
|
|
27405
27430
|
}
|
|
27406
|
-
const _E = /* @__PURE__ */ Ge(hE, [["render", LE], ["__scopeId", "data-v-
|
|
27431
|
+
const _E = /* @__PURE__ */ Ge(hE, [["render", LE], ["__scopeId", "data-v-de6521b0"]]), yE = { class: "name group flex-grow text-sm hover:whitespace-normal hover:text-skin-message-hover hover:bg-skin-message-hover" }, CE = { class: "inline-block relative min-h-[1em]" }, vE = {
|
|
27407
27432
|
key: 0,
|
|
27408
27433
|
class: "absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500"
|
|
27409
27434
|
}, G0 = /* @__PURE__ */ Ye({
|
|
@@ -29321,13 +29346,15 @@ const kS = `<svg width="100%" height="100%" viewBox="0 0 200 130" fill="none" xm
|
|
|
29321
29346
|
key: u.id,
|
|
29322
29347
|
value: u.id
|
|
29323
29348
|
}, {
|
|
29324
|
-
default: jt(({
|
|
29349
|
+
default: jt(({ checked: h }) => [
|
|
29325
29350
|
S("div", {
|
|
29326
|
-
class: we([[
|
|
29351
|
+
class: we([[
|
|
29352
|
+
h ? "border-2 text-gray-900 border-primary" : "border-2 border-transparent"
|
|
29353
|
+
], "relative flex items-center cursor-pointer rounded-lg px-4 py-3 shadow-md"])
|
|
29327
29354
|
}, [
|
|
29328
29355
|
S("div", $S, [
|
|
29329
29356
|
S("div", HS, [
|
|
29330
|
-
|
|
29357
|
+
h ? (R(), ke(dr, {
|
|
29331
29358
|
key: 0,
|
|
29332
29359
|
name: "selected-cycle",
|
|
29333
29360
|
"icon-class": "h-5 w-5 fill-none"
|
|
@@ -29338,7 +29365,10 @@ const kS = `<svg width="100%" height="100%" viewBox="0 0 200 130" fill="none" xm
|
|
|
29338
29365
|
})),
|
|
29339
29366
|
z(Le(gu), {
|
|
29340
29367
|
as: "p",
|
|
29341
|
-
class: we([
|
|
29368
|
+
class: we([
|
|
29369
|
+
"text-gray-900",
|
|
29370
|
+
"font-medium ml-2"
|
|
29371
|
+
])
|
|
29342
29372
|
}, {
|
|
29343
29373
|
default: jt(() => [
|
|
29344
29374
|
dn(He(u.name), 1)
|
|
@@ -32699,9 +32729,9 @@ const q0 = /* @__PURE__ */ Ge(MR, [["render", FR], ["__scopeId", "data-v-49a61c6
|
|
|
32699
32729
|
const DR = {
|
|
32700
32730
|
props: ["collapsed"],
|
|
32701
32731
|
emits: ["click"]
|
|
32702
|
-
}, BR = { class: "collapsible-header" }, $R = /* @__PURE__ */ h1('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-
|
|
32732
|
+
}, BR = { class: "collapsible-header" }, $R = /* @__PURE__ */ h1('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-175097b8></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-175097b8></g><g id="SVGRepo_iconCarrier" data-v-175097b8><line x1="13" y1="2" x2="13" y2="10" data-v-175097b8></line><polyline points="9 7 13 11 17 7" data-v-175097b8></polyline><line x1="13" y1="23" x2="13" y2="15" data-v-175097b8></line><polyline points="9 19 13 15 17 19" data-v-175097b8></polyline></g>', 3), HR = [
|
|
32703
32733
|
$R
|
|
32704
|
-
], UR = /* @__PURE__ */ h1('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-
|
|
32734
|
+
], UR = /* @__PURE__ */ h1('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-175097b8></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-175097b8></g><g id="SVGRepo_iconCarrier" data-v-175097b8><line x1="13" y1="1" x2="13" y2="9" data-v-175097b8></line><polyline points="9 5 13 1 17 5" data-v-175097b8></polyline><line x1="13" y1="13" x2="13" y2="13" data-v-175097b8></line><line x1="13" y1="24" x2="13" y2="17" data-v-175097b8></line><polyline points="9 20 13 24 17 20" data-v-175097b8></polyline></g>', 3), VR = [
|
|
32705
32735
|
UR
|
|
32706
32736
|
];
|
|
32707
32737
|
function zR(t, e, n, r, s, i) {
|
|
@@ -32734,7 +32764,7 @@ function zR(t, e, n, r, s, i) {
|
|
|
32734
32764
|
}, VR, 2))
|
|
32735
32765
|
]);
|
|
32736
32766
|
}
|
|
32737
|
-
const GR = /* @__PURE__ */ Ge(DR, [["render", zR], ["__scopeId", "data-v-
|
|
32767
|
+
const GR = /* @__PURE__ */ Ge(DR, [["render", zR], ["__scopeId", "data-v-175097b8"]]);
|
|
32738
32768
|
const jR = {
|
|
32739
32769
|
name: "occurrence",
|
|
32740
32770
|
props: ["context", "selfCallIndent", "participant", "rtl", "number"],
|
|
@@ -32808,7 +32838,12 @@ class $s {
|
|
|
32808
32838
|
}
|
|
32809
32839
|
static from(e) {
|
|
32810
32840
|
const n = e.start, r = e.stop;
|
|
32811
|
-
return new $s(
|
|
32841
|
+
return new $s(
|
|
32842
|
+
n.line,
|
|
32843
|
+
n.column,
|
|
32844
|
+
r.line,
|
|
32845
|
+
r.column + r.text.length
|
|
32846
|
+
);
|
|
32812
32847
|
}
|
|
32813
32848
|
}
|
|
32814
32849
|
const Iu = b0.child({ name: "Creation" }), qR = {
|
|
@@ -33173,7 +33208,7 @@ const ck = {
|
|
|
33173
33208
|
computed: {
|
|
33174
33209
|
...Fn(["numbering"])
|
|
33175
33210
|
}
|
|
33176
|
-
}, uk = (t) => (Ss("data-v-
|
|
33211
|
+
}, uk = (t) => (Ss("data-v-f5fd8c09"), t = t(), As(), t), hk = {
|
|
33177
33212
|
class: "message self flex items-start flex-col",
|
|
33178
33213
|
style: { "border-width": "0" }
|
|
33179
33214
|
}, dk = { class: "name group px-px hover:text-skin-message-hover hover:bg-skin-message-hover min-h-[1em]" }, fk = {
|
|
@@ -33202,7 +33237,7 @@ function gk(t, e, n, r, s, i) {
|
|
|
33202
33237
|
pk
|
|
33203
33238
|
]);
|
|
33204
33239
|
}
|
|
33205
|
-
const mk = /* @__PURE__ */ Ge(ck, [["render", gk], ["__scopeId", "data-v-
|
|
33240
|
+
const mk = /* @__PURE__ */ Ge(ck, [["render", gk], ["__scopeId", "data-v-f5fd8c09"]]);
|
|
33206
33241
|
function Lo(t) {
|
|
33207
33242
|
return t == null;
|
|
33208
33243
|
}
|
|
@@ -33389,7 +33424,7 @@ const Ek = /* @__PURE__ */ Ge(Ck, [["render", wk], ["__scopeId", "data-v-048a518
|
|
|
33389
33424
|
}
|
|
33390
33425
|
}
|
|
33391
33426
|
}, Tk = (t) => {
|
|
33392
|
-
|
|
33427
|
+
const e = {
|
|
33393
33428
|
loop: "FragmentLoop",
|
|
33394
33429
|
alt: "FragmentAlt",
|
|
33395
33430
|
par: "FragmentPar",
|
|
@@ -33706,7 +33741,7 @@ function lO(t, e, n, r, s, i) {
|
|
|
33706
33741
|
}, null, 8, ["class", "style", "context", "selfCallIndent", "number"])
|
|
33707
33742
|
], 4);
|
|
33708
33743
|
}
|
|
33709
|
-
const aO = /* @__PURE__ */ Ge(rO, [["render", lO], ["__scopeId", "data-v-
|
|
33744
|
+
const aO = /* @__PURE__ */ Ge(rO, [["render", lO], ["__scopeId", "data-v-533e0127"]]);
|
|
33710
33745
|
const cO = {
|
|
33711
33746
|
name: "fragment-tcf",
|
|
33712
33747
|
props: ["context", "comment", "commentObj", "selfCallIndent", "number"],
|
|
@@ -33731,7 +33766,9 @@ const cO = {
|
|
|
33731
33766
|
var e;
|
|
33732
33767
|
const t = [o0(this.blockInTryBlock)];
|
|
33733
33768
|
return (e = this.tcf) != null && e.catchBlock() && this.tcf.catchBlock().forEach((n) => {
|
|
33734
|
-
t.push(
|
|
33769
|
+
t.push(
|
|
33770
|
+
t[t.length - 1] + o0(this.blockInCatchBlock(n))
|
|
33771
|
+
);
|
|
33735
33772
|
}), t;
|
|
33736
33773
|
}
|
|
33737
33774
|
},
|
|
@@ -33745,7 +33782,7 @@ const cO = {
|
|
|
33745
33782
|
return (e = t == null ? void 0 : t.braceBlock()) == null ? void 0 : e.block();
|
|
33746
33783
|
}
|
|
33747
33784
|
}
|
|
33748
|
-
}, L6 = (t) => (Ss("data-v-
|
|
33785
|
+
}, L6 = (t) => (Ss("data-v-049c2e25"), t = t(), As(), t), uO = { class: "segment" }, hO = { class: "header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t relative" }, dO = {
|
|
33749
33786
|
key: 0,
|
|
33750
33787
|
class: "absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"
|
|
33751
33788
|
}, fO = { class: "name font-semibold p-1 border-b text-sm" }, pO = { class: "segment" }, gO = /* @__PURE__ */ L6(() => /* @__PURE__ */ S("label", { class: "keyword catch p-1" }, "catch", -1)), mO = { class: "exception p-1" }, xO = {
|
|
@@ -33823,7 +33860,7 @@ function _O(t, e, n, r, s, i) {
|
|
|
33823
33860
|
], 2)
|
|
33824
33861
|
], 4);
|
|
33825
33862
|
}
|
|
33826
|
-
const yO = /* @__PURE__ */ Ge(cO, [["render", _O], ["__scopeId", "data-v-
|
|
33863
|
+
const yO = /* @__PURE__ */ Ge(cO, [["render", _O], ["__scopeId", "data-v-049c2e25"]]), CO = {
|
|
33827
33864
|
name: "return",
|
|
33828
33865
|
props: ["context", "comment", "commentObj", "number"],
|
|
33829
33866
|
computed: {
|
|
@@ -34125,17 +34162,23 @@ const IO = {
|
|
|
34125
34162
|
},
|
|
34126
34163
|
messageStyle() {
|
|
34127
34164
|
if (this.note.trim().indexOf("[") === 0 && this.note.indexOf("]") !== -1) {
|
|
34128
|
-
const t = this.note.indexOf("["), e = this.note.indexOf("]"), [n, r] = [
|
|
34165
|
+
const t = this.note.indexOf("["), e = this.note.indexOf("]"), [n, r] = [
|
|
34166
|
+
this.note.slice(t + 1, e),
|
|
34167
|
+
this.note.slice(e + 1)
|
|
34168
|
+
];
|
|
34129
34169
|
return { style: l0(n.split(",").map((s) => s.trim())), note: r };
|
|
34130
34170
|
}
|
|
34131
34171
|
return { style: l0([]), note: this.note };
|
|
34132
34172
|
}
|
|
34133
34173
|
}
|
|
34134
|
-
}, _6 = (t) => (Ss("data-v-
|
|
34174
|
+
}, _6 = (t) => (Ss("data-v-0be02001"), t = t(), As(), t), MO = /* @__PURE__ */ _6(() => /* @__PURE__ */ S("div", { class: "left bg-skin-divider" }, null, -1)), NO = /* @__PURE__ */ _6(() => /* @__PURE__ */ S("div", { class: "right bg-skin-divider" }, null, -1));
|
|
34135
34175
|
function PO(t, e, n, r, s, i) {
|
|
34136
34176
|
return R(), q("div", {
|
|
34137
34177
|
class: "divider",
|
|
34138
|
-
style: Ce({
|
|
34178
|
+
style: Ce({
|
|
34179
|
+
width: i.width + "px",
|
|
34180
|
+
transform: "translateX(" + (-1 * i.centerOfFrom + 10) + "px)"
|
|
34181
|
+
})
|
|
34139
34182
|
}, [
|
|
34140
34183
|
MO,
|
|
34141
34184
|
S("div", {
|
|
@@ -34145,7 +34188,7 @@ function PO(t, e, n, r, s, i) {
|
|
|
34145
34188
|
NO
|
|
34146
34189
|
], 4);
|
|
34147
34190
|
}
|
|
34148
|
-
const FO = /* @__PURE__ */ Ge(IO, [["render", PO], ["__scopeId", "data-v-
|
|
34191
|
+
const FO = /* @__PURE__ */ Ge(IO, [["render", PO], ["__scopeId", "data-v-0be02001"]]);
|
|
34149
34192
|
function DO(t) {
|
|
34150
34193
|
const e = {
|
|
34151
34194
|
"<>": /* @__PURE__ */ new Set(),
|
|
@@ -34378,4 +34421,4 @@ export {
|
|
|
34378
34421
|
xh as y,
|
|
34379
34422
|
ke as z
|
|
34380
34423
|
};
|
|
34381
|
-
//# sourceMappingURL=core.
|
|
34424
|
+
//# sourceMappingURL=core.0767a1be.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.0767a1be.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.63986d15.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.0767a1be.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.305e6afc.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.0767a1be.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.80181d02.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.0767a1be.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.a7a69404.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.0767a1be.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.8f8cd906.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.0767a1be.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.50d96847.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.0767a1be.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.298aae41.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.0767a1be.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.f5226685.js.map
|