@antdv-next/x 1.2.1-beta.1 → 1.2.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.
- package/dist/attachments/index.js +1 -2
- package/dist/code-highlighter/style/index.d.ts +51 -19
- package/dist/code-highlighter/style/index.js +44 -31
- package/dist/index.umd.js +54 -44
- package/dist/package.js +1 -1
- package/dist/sender/hooks/use-speech.js +1 -2
- package/dist/suggestion/useActive.js +2 -0
- package/dist/theme/util/alias.js +5 -5
- package/dist/think/Think.js +2 -3
- package/dist/thought-chain/Node.js +2 -3
- package/dist/x-provider/index.js +2 -3
- package/es/{_basePickBy-CrbncDqR.js → _basePickBy-BL4DHvHb.js} +1 -1
- package/es/{_baseUniq-B-qU_Imh.js → _baseUniq-CyFYmJd-.js} +7 -7
- package/es/antdv-next-x.esm.js +253 -245
- package/es/architecture-PBZL5I3N-M9p1teRv.js +3 -0
- package/es/{architectureDiagram-2XIMDMQ5-OvuktNfv.js → architectureDiagram-2XIMDMQ5-zW5aGalx.js} +99 -89
- package/es/{blockDiagram-WCTKOSBZ-CS-kh74L.js → blockDiagram-WCTKOSBZ-0QujSG-h.js} +36 -33
- package/es/{c4Diagram-IC4MRINW-BZGIF4Dk.js → c4Diagram-IC4MRINW-B7y07WFn.js} +24 -16
- package/es/{channel-DrSSYyxp.js → channel-CxLj88Pg.js} +1 -1
- package/es/{chunk-4BX2VUAB-Rm8-te6i.js → chunk-4BX2VUAB-CprgMM4u.js} +1 -1
- package/es/{chunk-55IACEB6-Tre45n-8.js → chunk-55IACEB6-BpkEkHy8.js} +1 -1
- package/es/{chunk-7R4GIKGN-scch4dXY.js → chunk-7R4GIKGN-mKY502R8.js} +6 -4
- package/es/{chunk-FMBD7UC4-JmekSPZP.js → chunk-FMBD7UC4-B88neS61.js} +1 -1
- package/es/{chunk-GEFDOKGD-BEzc6NZw.js → chunk-GEFDOKGD-oBEpn5hN.js} +67 -27
- package/es/chunk-GLR3WWYH-B2D9kjtF.js +41 -0
- package/es/chunk-HHEYEP7N-DcZkCke2.js +9 -0
- package/es/{chunk-JSJVCQXG-_l_UVbaa.js → chunk-JSJVCQXG-BbVOaXjl.js} +3 -3
- package/es/{chunk-KX2RTZJC-BUWM8pJz.js → chunk-KX2RTZJC-Dw3D7Wrw.js} +2 -2
- package/es/{chunk-KYZI473N-BSgb_E0Q.js → chunk-KYZI473N-33-uii7Y.js} +10 -10
- package/es/{chunk-MX3YWQON-D602L8pU.js → chunk-MX3YWQON-D4cz36rq.js} +1 -1
- package/es/{chunk-NQ4KR5QH-BPQV0i93.js → chunk-NQ4KR5QH-CprADZhD.js} +44 -40
- package/es/{chunk-O4XLMI2P-BMqc3iYa.js → chunk-O4XLMI2P-DBAvycZ-.js} +13 -14
- package/es/{chunk-PQ6SQG4A-DcYrzB1X.js → chunk-PQ6SQG4A-BITIwHAS.js} +2 -2
- package/es/{chunk-PU5JKC2W-TuGY6X1n.js → chunk-PU5JKC2W-DIl8TkGX.js} +22 -26
- package/es/{chunk-QZHKN3VN-CKbD02cl.js → chunk-QZHKN3VN-Cg0ROtzE.js} +1 -1
- package/es/{chunk-WL4C6EOR-B31ErTFp.js → chunk-WL4C6EOR-Bhp_3T_o.js} +15 -15
- package/es/chunk-XPW4576I-255j2Rgd.js +1146 -0
- package/es/{chunk-XZSTWKYB-DYKLwCEy.js → chunk-XZSTWKYB-kjAdbx6i.js} +266 -321
- package/es/{chunk-YBOYWFTD-CRiKEIiS.js → chunk-YBOYWFTD-C2IdGsg8.js} +5 -5
- package/es/classDiagram-VBA2DB6C-BQonl2jX.js +29 -0
- package/es/classDiagram-v2-RAHNMMFH-C9U3lqTc.js +29 -0
- package/es/{clone-yzFtXY5G.js → clone-DIGEZsKS.js} +1 -1
- package/es/{cose-bilkent-S5V4N54A-BM90wTBk.js → cose-bilkent-S5V4N54A-Cyxewg9z.js} +36 -31
- package/es/{cytoscape.esm-B_-hKv4-.js → cytoscape.esm-DBPri10E.js} +197 -155
- package/es/{dagre-DCYVBij1.js → dagre-BHOjJWBG.js} +26 -24
- package/es/{dagre-KLK3FWXG-Ced70SgJ.js → dagre-KLK3FWXG-CnJPDj7X.js} +17 -18
- package/es/{defaultLocale-yzzuPw6P.js → defaultLocale-aSMWOJHq.js} +4 -1
- package/es/{diagram-E7M64L7V-xZCloH_i.js → diagram-E7M64L7V-CBOCgbMd.js} +22 -24
- package/es/{diagram-IFDJBPK2-BTmFZhvz.js → diagram-IFDJBPK2-BtubJp0H.js} +11 -11
- package/es/{diagram-P4PSJMXO-DX_3B0LB.js → diagram-P4PSJMXO-CI30BBYG.js} +10 -10
- package/es/{dist-h4ggShny.js → dist-BpM0Gz7z.js} +1 -1
- package/es/{erDiagram-INFDFZHY-MJ_HVY-7.js → erDiagram-INFDFZHY-C8hYuPxm.js} +21 -21
- package/es/{flowDiagram-PKNHOUZH-CQIRy1sx.js → flowDiagram-PKNHOUZH-D5vrDkks.js} +40 -33
- package/es/{ganttDiagram-A5KZAMGK-Dw9bjWjx.js → ganttDiagram-A5KZAMGK-BmIEQBGq.js} +33 -21
- package/es/gitGraph-HDMCJU4V-x8fnR2OX.js +3 -0
- package/es/{gitGraphDiagram-K3NZZRJ6-Gk6FiGbZ.js → gitGraphDiagram-K3NZZRJ6-PO0pMJD3.js} +7 -7
- package/es/{graphlib-BMvIh7N7.js → graphlib-DqWOhV4K.js} +2 -2
- package/es/info-3K5VOQVL-CRBCVSej.js +3 -0
- package/es/{infoDiagram-LFFYTUFH-CS64-uil.js → infoDiagram-LFFYTUFH-DOcKfbXf.js} +4 -4
- package/es/{init-sjaVZO3f.js → init-Co4dhKfe.js} +3 -1
- package/es/isEmpty-BJdINx-6.js +35 -0
- package/es/{ishikawaDiagram-PHBUUO56-C_Hw5UnV.js → ishikawaDiagram-PHBUUO56-DM1elxPS.js} +12 -12
- package/es/{journeyDiagram-4ABVD52K-CFFyM4Ar.js → journeyDiagram-4ABVD52K-BnYWOH1P.js} +11 -11
- package/es/{kanban-definition-K7BYSVSG-B_R-mA10.js → kanban-definition-K7BYSVSG-Ys7nAs7y.js} +27 -26
- package/es/{katex-C-qdUNlg.js → katex-olkKUfKs.js} +52 -62
- package/es/{line-D05MESIS.js → line-Cm2n2y9Z.js} +1 -1
- package/es/{linear-B8tPH2Pw.js → linear-D-yDc6KG.js} +6 -4
- package/es/{mermaid-parser.core-C_69nk7j.js → mermaid-parser.core-DFgQn74w.js} +8 -8
- package/es/mermaid.core-BzgA0NbC.js +680 -0
- package/es/{mindmap-definition-YRQLILUH-qgGUYYe3.js → mindmap-definition-YRQLILUH-Ca8psfLi.js} +26 -24
- package/es/{ordinal-CNQzPcrr.js → ordinal-95c16pGC.js} +1 -1
- package/es/packet-RMMSAZCW-CyE-elPF.js +3 -0
- package/es/pie-UPGHQEXC-EfdQ-_OF.js +3 -0
- package/es/{pieDiagram-SKSYHLDU-B8-AVOmP.js → pieDiagram-SKSYHLDU-DhQSMJCw.js} +11 -11
- package/es/{quadrantDiagram-337W2JSQ-C2Z0CN4Z.js → quadrantDiagram-337W2JSQ-jOtIC8r0.js} +9 -9
- package/es/radar-KQ55EAFF-B68vkNB4.js +3 -0
- package/es/{requirementDiagram-Z7DCOOCP-Cdj7PwWC.js → requirementDiagram-Z7DCOOCP-CNngzPE4.js} +18 -18
- package/es/{rolldown-runtime-CEY2VRuR.js → rolldown-runtime-Dv1pqm0U.js} +2 -2
- package/es/{sankeyDiagram-WA2Y5GQK-BNmU-dM1.js → sankeyDiagram-WA2Y5GQK-BgsyVNdD.js} +9 -9
- package/es/{sequenceDiagram-2WXFIKYE-pj0uPf22.js → sequenceDiagram-2WXFIKYE-BAc5PP9P.js} +46 -34
- package/es/{shiki-runtime-7QG17np_.js → shiki-runtime-BlKUZiZP.js} +41 -44
- package/es/{src-Dynw_Lub.js → src-3T61hYex.js} +1 -1
- package/es/{stateDiagram-RAJIS63D-BgCfMnGb.js → stateDiagram-RAJIS63D-153LjStx.js} +18 -18
- package/es/stateDiagram-v2-FVOUBMTO-BXEvy1YD.js +27 -0
- package/es/{timeline-definition-YZTLITO2-Bj5QKnBI.js → timeline-definition-YZTLITO2-BLhlkb_X.js} +8 -8
- package/es/treemap-KZPCXAKY-Dg_ShzRB.js +3 -0
- package/es/{vennDiagram-LZ73GAT5-lpWcIvN6.js → vennDiagram-LZ73GAT5-BTYWphmf.js} +13 -13
- package/es/{xychartDiagram-JWTSCODW-De1M-7Yz.js → xychartDiagram-JWTSCODW-B9Nlu6S_.js} +29 -25
- package/package.json +1 -1
- package/es/architecture-PBZL5I3N-BRGGaMu3.js +0 -3
- package/es/classDiagram-VBA2DB6C-BDqwxUdU.js +0 -29
- package/es/classDiagram-v2-RAHNMMFH-DdmOjeUb.js +0 -29
- package/es/gitGraph-HDMCJU4V-oForq_Vw.js +0 -3
- package/es/info-3K5VOQVL-0F-ZLEMx.js +0 -3
- package/es/mermaid.core-BVGVwWcu.js +0 -1914
- package/es/packet-RMMSAZCW-CeqtQQ_e.js +0 -3
- package/es/pie-UPGHQEXC-BI60FhK4.js +0 -3
- package/es/radar-KQ55EAFF-CRwOOFw0.js +0 -3
- package/es/stateDiagram-v2-FVOUBMTO-ByMhP6Xo.js +0 -27
- package/es/treemap-KZPCXAKY-BlOAFUbR.js +0 -3
package/es/{mindmap-definition-YRQLILUH-qgGUYYe3.js → mindmap-definition-YRQLILUH-Ca8psfLi.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import "./chunk-GEFDOKGD-
|
|
3
|
-
import { $ as n, L as r, O as i, Q as a, b as o, d as s, tt as c } from "./chunk-7R4GIKGN-
|
|
4
|
-
import "./chunk-PU5JKC2W-
|
|
5
|
-
import "./chunk-MX3YWQON-
|
|
6
|
-
import "./chunk-YBOYWFTD-
|
|
7
|
-
import { t as l } from "./chunk-55IACEB6-
|
|
8
|
-
import { t as u } from "./chunk-KX2RTZJC-
|
|
9
|
-
import "./chunk-PQ6SQG4A-
|
|
10
|
-
import "./chunk-KYZI473N-
|
|
11
|
-
import "./chunk-O4XLMI2P-
|
|
12
|
-
import {
|
|
1
|
+
import { g as e, h as t } from "./src-3T61hYex.js";
|
|
2
|
+
import "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { $ as n, L as r, O as i, Q as a, b as o, d as s, tt as c } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import "./chunk-PU5JKC2W-DIl8TkGX.js";
|
|
5
|
+
import "./chunk-MX3YWQON-D4cz36rq.js";
|
|
6
|
+
import "./chunk-YBOYWFTD-C2IdGsg8.js";
|
|
7
|
+
import { t as l } from "./chunk-55IACEB6-BpkEkHy8.js";
|
|
8
|
+
import { t as u } from "./chunk-KX2RTZJC-Dw3D7Wrw.js";
|
|
9
|
+
import "./chunk-PQ6SQG4A-BITIwHAS.js";
|
|
10
|
+
import "./chunk-KYZI473N-33-uii7Y.js";
|
|
11
|
+
import "./chunk-O4XLMI2P-DBAvycZ-.js";
|
|
12
|
+
import { r as d, t as f } from "./chunk-GLR3WWYH-B2D9kjtF.js";
|
|
13
13
|
//#region ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.js
|
|
14
14
|
var p = [];
|
|
15
15
|
for (let e = 0; e < 256; ++e) p.push((e + 256).toString(16).slice(1));
|
|
@@ -195,11 +195,13 @@ var b = (function() {
|
|
|
195
195
|
type: r.nodeType.DEFAULT
|
|
196
196
|
};
|
|
197
197
|
break;
|
|
198
|
-
case 27:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
198
|
+
case 27:
|
|
199
|
+
r.getLogger().trace("node found ..", a[s - 3]), this.$ = {
|
|
200
|
+
id: a[s - 3],
|
|
201
|
+
descr: a[s - 1],
|
|
202
|
+
type: r.getType(a[s - 2], a[s])
|
|
203
|
+
};
|
|
204
|
+
break;
|
|
203
205
|
}
|
|
204
206
|
}, "anonymous"),
|
|
205
207
|
table: [
|
|
@@ -344,7 +346,7 @@ var b = (function() {
|
|
|
344
346
|
var v = h.yylloc;
|
|
345
347
|
o.push(v);
|
|
346
348
|
var y = h.options && h.options.ranges;
|
|
347
|
-
|
|
349
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
348
350
|
function b(e) {
|
|
349
351
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
350
352
|
}
|
|
@@ -497,10 +499,8 @@ var b = (function() {
|
|
|
497
499
|
if (this._backtrack) {
|
|
498
500
|
t = !1;
|
|
499
501
|
continue;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
}
|
|
503
|
-
if (!this.options.flex) break;
|
|
502
|
+
} else return !1;
|
|
503
|
+
} else if (!this.options.flex) break;
|
|
504
504
|
}
|
|
505
505
|
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
506
506
|
text: "",
|
|
@@ -725,7 +725,9 @@ var x = b, S = 12, C = {
|
|
|
725
725
|
switch (a) {
|
|
726
726
|
case this.nodeType.ROUNDED_RECT:
|
|
727
727
|
case this.nodeType.RECT:
|
|
728
|
-
case this.nodeType.HEXAGON:
|
|
728
|
+
case this.nodeType.HEXAGON:
|
|
729
|
+
u *= 2;
|
|
730
|
+
break;
|
|
729
731
|
}
|
|
730
732
|
let d = {
|
|
731
733
|
id: this.count++,
|
|
@@ -777,7 +779,7 @@ var x = b, S = 12, C = {
|
|
|
777
779
|
}
|
|
778
780
|
}
|
|
779
781
|
assignSections(e, t) {
|
|
780
|
-
if (e.
|
|
782
|
+
if (e.level === 0 ? e.section = void 0 : e.section = t, e.children) for (let [n, r] of e.children.entries()) {
|
|
781
783
|
let i = e.level === 0 ? n % (S - 1) : t;
|
|
782
784
|
this.assignSections(r, i);
|
|
783
785
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import { f as n, r } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { t as i } from "./mermaid-parser.core-
|
|
4
|
-
import { B as a, C as o, V as s, W as c, _ as l, a as u, b as d, c as f, d as p, v as m } from "./chunk-7R4GIKGN-
|
|
5
|
-
import { t as h } from "./ordinal-
|
|
1
|
+
import { g as e, h as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { f as n, r } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { t as i } from "./mermaid-parser.core-DFgQn74w.js";
|
|
4
|
+
import { B as a, C as o, V as s, W as c, _ as l, a as u, b as d, c as f, d as p, v as m } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
5
|
+
import { t as h } from "./ordinal-95c16pGC.js";
|
|
6
6
|
import { n as g } from "./path-CqWAdh69.js";
|
|
7
7
|
import { p as _ } from "./math-BZ_bUCIA.js";
|
|
8
8
|
import { t as v } from "./arc-NI3ROx5X.js";
|
|
9
9
|
import { t as y } from "./array-CApNbSU9.js";
|
|
10
|
-
import { t as b } from "./chunk-
|
|
11
|
-
import {
|
|
10
|
+
import { t as b } from "./chunk-HHEYEP7N-DcZkCke2.js";
|
|
11
|
+
import { t as x } from "./chunk-4BX2VUAB-CprgMM4u.js";
|
|
12
12
|
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.js
|
|
13
13
|
function S(e, t) {
|
|
14
14
|
return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
|
@@ -80,7 +80,7 @@ var T = p.pie, E = {
|
|
|
80
80
|
}, "setShowData"),
|
|
81
81
|
getShowData: /* @__PURE__ */ t(() => O, "getShowData")
|
|
82
82
|
}, j = /* @__PURE__ */ t((e, t) => {
|
|
83
|
-
|
|
83
|
+
x(e, t), t.setShowData(e.showData), e.sections.map(t.addSection);
|
|
84
84
|
}, "populateDb"), M = { parse: /* @__PURE__ */ t(async (t) => {
|
|
85
85
|
let n = await i("pie", t);
|
|
86
86
|
e.debug(n), j(n, A);
|
|
@@ -123,11 +123,11 @@ var T = p.pie, E = {
|
|
|
123
123
|
db: A,
|
|
124
124
|
renderer: { draw: /* @__PURE__ */ t((t, i, a, o) => {
|
|
125
125
|
e.debug("rendering pie chart\n" + t);
|
|
126
|
-
let s = o.db, c = d(), l = r(s.getConfig(), c.pie), u =
|
|
126
|
+
let s = o.db, c = d(), l = r(s.getConfig(), c.pie), u = b(i), p = u.append("g");
|
|
127
127
|
p.attr("transform", "translate(225,225)");
|
|
128
128
|
let { themeVariables: m } = c, [g] = n(m.pieOuterStrokeWidth);
|
|
129
129
|
g ??= 2;
|
|
130
|
-
let _ = l.textPosition, y = v().innerRadius(0).outerRadius(185),
|
|
130
|
+
let _ = l.textPosition, y = v().innerRadius(0).outerRadius(185), x = v().innerRadius(185 * _).outerRadius(185 * _);
|
|
131
131
|
p.append("circle").attr("cx", 0).attr("cy", 0).attr("r", 185 + g / 2).attr("class", "pieOuterCircle");
|
|
132
132
|
let S = s.getSections(), C = P(S), w = [
|
|
133
133
|
m.pie1,
|
|
@@ -147,7 +147,7 @@ var T = p.pie, E = {
|
|
|
147
147
|
T += e;
|
|
148
148
|
});
|
|
149
149
|
let E = C.filter((e) => (e.data.value / T * 100).toFixed(0) !== "0"), D = h(w);
|
|
150
|
-
p.selectAll("mySlices").data(E).enter().append("path").attr("d", y).attr("fill", (e) => D(e.data.label)).attr("class", "pieCircle"), p.selectAll("mySlices").data(E).enter().append("text").text((e) => (e.data.value / T * 100).toFixed(0) + "%").attr("transform", (e) => "translate(" +
|
|
150
|
+
p.selectAll("mySlices").data(E).enter().append("path").attr("d", y).attr("fill", (e) => D(e.data.label)).attr("class", "pieCircle"), p.selectAll("mySlices").data(E).enter().append("text").text((e) => (e.data.value / T * 100).toFixed(0) + "%").attr("transform", (e) => "translate(" + x.centroid(e) + ")").style("text-anchor", "middle").attr("class", "slice"), p.append("text").text(s.getDiagramTitle()).attr("x", 0).attr("y", -400 / 2).attr("class", "pieTitleText");
|
|
151
151
|
let O = [...S.entries()].map(([e, t]) => ({
|
|
152
152
|
label: e,
|
|
153
153
|
value: t
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
2
|
-
import { B as r, C as i, E as a, L as o, V as s, W as c, _ as l, a as u, b as d, c as f, d as p, v as m } from "./chunk-7R4GIKGN-
|
|
3
|
-
import { t as h } from "./linear-
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-3T61hYex.js";
|
|
2
|
+
import { B as r, C as i, E as a, L as o, V as s, W as c, _ as l, a as u, b as d, c as f, d as p, v as m } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
3
|
+
import { t as h } from "./linear-D-yDc6KG.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-337W2JSQ.mjs
|
|
5
5
|
var g = (function() {
|
|
6
6
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -442,7 +442,9 @@ var g = (function() {
|
|
|
442
442
|
case 68:
|
|
443
443
|
this.$ = a[s];
|
|
444
444
|
break;
|
|
445
|
-
case 69:
|
|
445
|
+
case 69:
|
|
446
|
+
this.$ = a[s - 1] + "" + a[s];
|
|
447
|
+
break;
|
|
446
448
|
}
|
|
447
449
|
}, "anonymous"),
|
|
448
450
|
table: [
|
|
@@ -1055,7 +1057,7 @@ var g = (function() {
|
|
|
1055
1057
|
var v = h.yylloc;
|
|
1056
1058
|
o.push(v);
|
|
1057
1059
|
var y = h.options && h.options.ranges;
|
|
1058
|
-
|
|
1060
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
1059
1061
|
function b(e) {
|
|
1060
1062
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
1061
1063
|
}
|
|
@@ -1208,10 +1210,8 @@ var g = (function() {
|
|
|
1208
1210
|
if (this._backtrack) {
|
|
1209
1211
|
t = !1;
|
|
1210
1212
|
continue;
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
}
|
|
1214
|
-
if (!this.options.flex) break;
|
|
1213
|
+
} else return !1;
|
|
1214
|
+
} else if (!this.options.flex) break;
|
|
1215
1215
|
}
|
|
1216
1216
|
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
1217
1217
|
text: "",
|
package/es/{requirementDiagram-Z7DCOOCP-Cdj7PwWC.js → requirementDiagram-Z7DCOOCP-CNngzPE4.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { g as e, h as t, m as n } from "./src-
|
|
2
|
-
import { h as r } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, v as d } from "./chunk-7R4GIKGN-
|
|
4
|
-
import "./chunk-PU5JKC2W-
|
|
5
|
-
import "./chunk-MX3YWQON-
|
|
6
|
-
import "./chunk-YBOYWFTD-
|
|
7
|
-
import { t as f } from "./chunk-55IACEB6-
|
|
8
|
-
import { t as p } from "./chunk-KX2RTZJC-
|
|
9
|
-
import "./chunk-PQ6SQG4A-
|
|
10
|
-
import "./chunk-KYZI473N-
|
|
11
|
-
import "./chunk-O4XLMI2P-
|
|
12
|
-
import {
|
|
1
|
+
import { g as e, h as t, m as n } from "./src-3T61hYex.js";
|
|
2
|
+
import { h as r } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, v as d } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import "./chunk-PU5JKC2W-DIl8TkGX.js";
|
|
5
|
+
import "./chunk-MX3YWQON-D4cz36rq.js";
|
|
6
|
+
import "./chunk-YBOYWFTD-C2IdGsg8.js";
|
|
7
|
+
import { t as f } from "./chunk-55IACEB6-BpkEkHy8.js";
|
|
8
|
+
import { t as p } from "./chunk-KX2RTZJC-Dw3D7Wrw.js";
|
|
9
|
+
import "./chunk-PQ6SQG4A-BITIwHAS.js";
|
|
10
|
+
import "./chunk-KYZI473N-33-uii7Y.js";
|
|
11
|
+
import "./chunk-O4XLMI2P-DBAvycZ-.js";
|
|
12
|
+
import { r as m, t as h } from "./chunk-GLR3WWYH-B2D9kjtF.js";
|
|
13
13
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-Z7DCOOCP.mjs
|
|
14
14
|
var g = (function() {
|
|
15
15
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -588,7 +588,9 @@ var g = (function() {
|
|
|
588
588
|
case 66:
|
|
589
589
|
a[s - 2].push(a[s]), this.$ = a[s - 2];
|
|
590
590
|
break;
|
|
591
|
-
case 68:
|
|
591
|
+
case 68:
|
|
592
|
+
this.$ = a[s - 1] + a[s];
|
|
593
|
+
break;
|
|
592
594
|
}
|
|
593
595
|
}, "anonymous"),
|
|
594
596
|
table: [
|
|
@@ -1429,7 +1431,7 @@ var g = (function() {
|
|
|
1429
1431
|
var v = h.yylloc;
|
|
1430
1432
|
o.push(v);
|
|
1431
1433
|
var y = h.options && h.options.ranges;
|
|
1432
|
-
|
|
1434
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
1433
1435
|
function b(e) {
|
|
1434
1436
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
1435
1437
|
}
|
|
@@ -1582,10 +1584,8 @@ var g = (function() {
|
|
|
1582
1584
|
if (this._backtrack) {
|
|
1583
1585
|
t = !1;
|
|
1584
1586
|
continue;
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
}
|
|
1588
|
-
if (!this.options.flex) break;
|
|
1587
|
+
} else return !1;
|
|
1588
|
+
} else if (!this.options.flex) break;
|
|
1589
1589
|
}
|
|
1590
1590
|
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
1591
1591
|
text: "",
|
|
@@ -19,9 +19,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
19
19
|
enumerable: !(s = n(i, d)) || s.enumerable
|
|
20
20
|
});
|
|
21
21
|
return e;
|
|
22
|
-
}, u = (e, t, n) => (l(e, t, "default"), n && l(n, t, "default")), d = (n, r,
|
|
22
|
+
}, u = (e, t, n) => (l(e, t, "default"), n && l(n, t, "default")), d = (n, r, a) => (a = n == null ? {} : e(i(n)), l(r || !n || !n.__esModule ? t(a, "default", {
|
|
23
23
|
value: n,
|
|
24
24
|
enumerable: !0
|
|
25
|
-
}) :
|
|
25
|
+
}) : a, n)), f = (e) => a.call(e, "module.exports") ? e["module.exports"] : l(t({}, "__esModule", { value: !0 }), e);
|
|
26
26
|
//#endregion
|
|
27
27
|
export { f as a, u as i, o as n, d as o, c as r, s as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as e, p as t } from "./src-
|
|
2
|
-
import { B as n, C as r, K as i, V as a, W as o, _ as s, a as c, b as l, s as u, u as d, v as f } from "./chunk-7R4GIKGN-
|
|
3
|
-
import { t as p } from "./ordinal-
|
|
1
|
+
import { h as e, p as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { B as n, C as r, K as i, V as a, W as o, _ as s, a as c, b as l, s as u, u as d, v as f } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
3
|
+
import { t as p } from "./ordinal-95c16pGC.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.js
|
|
5
5
|
function m(e) {
|
|
6
6
|
for (var t = e.length / 6 | 0, n = Array(t), r = 0; r < t;) n[r] = "#" + e.slice(r * 6, ++r * 6);
|
|
@@ -473,7 +473,9 @@ var J = (function() {
|
|
|
473
473
|
case 11:
|
|
474
474
|
this.$ = a[s];
|
|
475
475
|
break;
|
|
476
|
-
case 10:
|
|
476
|
+
case 10:
|
|
477
|
+
this.$ = a[s - 1];
|
|
478
|
+
break;
|
|
477
479
|
}
|
|
478
480
|
}, "anonymous"),
|
|
479
481
|
table: [
|
|
@@ -560,7 +562,7 @@ var J = (function() {
|
|
|
560
562
|
var v = h.yylloc;
|
|
561
563
|
o.push(v);
|
|
562
564
|
var y = h.options && h.options.ranges;
|
|
563
|
-
|
|
565
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
564
566
|
function b(e) {
|
|
565
567
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
566
568
|
}
|
|
@@ -713,10 +715,8 @@ var J = (function() {
|
|
|
713
715
|
if (this._backtrack) {
|
|
714
716
|
t = !1;
|
|
715
717
|
continue;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
}
|
|
719
|
-
if (!this.options.flex) break;
|
|
718
|
+
} else return !1;
|
|
719
|
+
} else if (!this.options.flex) break;
|
|
720
720
|
}
|
|
721
721
|
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
722
722
|
text: "",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
2
|
-
import { f as r, h as i } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { B as a, C as o, D as s, L as c, P as l, U as u, V as d, W as f, _ as p, a as m, b as h, c as g, i as _, k as v, r as y, s as b, v as x, y as S } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { t as C } from "./dist-
|
|
5
|
-
import { a as w, c as T, i as E, n as D, r as O, s as k } from "./chunk-JSJVCQXG-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-3T61hYex.js";
|
|
2
|
+
import { f as r, h as i } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { B as a, C as o, D as s, L as c, P as l, U as u, V as d, W as f, _ as p, a as m, b as h, c as g, i as _, k as v, r as y, s as b, v as x, y as S } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import { t as C } from "./dist-BpM0Gz7z.js";
|
|
5
|
+
import { a as w, c as T, i as E, n as D, r as O, s as k } from "./chunk-JSJVCQXG-BbVOaXjl.js";
|
|
6
|
+
import { n as A, t as j } from "./chunk-XPW4576I-255j2Rgd.js";
|
|
7
|
+
import { t as M } from "./chunk-QZHKN3VN-Cg0ROtzE.js";
|
|
8
8
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-2WXFIKYE.mjs
|
|
9
9
|
var N = C(), P = (function() {
|
|
10
10
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -977,7 +977,9 @@ var N = C(), P = (function() {
|
|
|
977
977
|
case 104:
|
|
978
978
|
this.$ = r.LINETYPE.DOTTED_POINT;
|
|
979
979
|
break;
|
|
980
|
-
case 105:
|
|
980
|
+
case 105:
|
|
981
|
+
this.$ = r.parseMessage(a[s].trim().substring(1));
|
|
982
|
+
break;
|
|
981
983
|
}
|
|
982
984
|
}, "anonymous"),
|
|
983
985
|
table: [
|
|
@@ -1902,7 +1904,7 @@ var N = C(), P = (function() {
|
|
|
1902
1904
|
var v = h.yylloc;
|
|
1903
1905
|
o.push(v);
|
|
1904
1906
|
var y = h.options && h.options.ranges;
|
|
1905
|
-
|
|
1907
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
1906
1908
|
function b(e) {
|
|
1907
1909
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
1908
1910
|
}
|
|
@@ -2055,10 +2057,8 @@ var N = C(), P = (function() {
|
|
|
2055
2057
|
if (this._backtrack) {
|
|
2056
2058
|
t = !1;
|
|
2057
2059
|
continue;
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
}
|
|
2061
|
-
if (!this.options.flex) break;
|
|
2060
|
+
} else return !1;
|
|
2061
|
+
} else if (!this.options.flex) break;
|
|
2062
2062
|
}
|
|
2063
2063
|
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
2064
2064
|
text: "",
|
|
@@ -2499,7 +2499,7 @@ var F = P, I = {
|
|
|
2499
2499
|
QUEUE: "queue"
|
|
2500
2500
|
}, ne = class {
|
|
2501
2501
|
constructor() {
|
|
2502
|
-
this.state = new
|
|
2502
|
+
this.state = new M(() => ({
|
|
2503
2503
|
prevActor: void 0,
|
|
2504
2504
|
actors: /* @__PURE__ */ new Map(),
|
|
2505
2505
|
createdActors: /* @__PURE__ */ new Map(),
|
|
@@ -2529,7 +2529,7 @@ var F = P, I = {
|
|
|
2529
2529
|
let a = this.state.records.currentBox, o;
|
|
2530
2530
|
if (i !== void 0) {
|
|
2531
2531
|
let e;
|
|
2532
|
-
e = i.includes("\n") ? i + "\n" : "{\n" + i + "\n}", o =
|
|
2532
|
+
e = i.includes("\n") ? i + "\n" : "{\n" + i + "\n}", o = A(e, { schema: j });
|
|
2533
2533
|
}
|
|
2534
2534
|
r = o?.type ?? r, o?.alias && (!n || n.text === t) && (n = {
|
|
2535
2535
|
text: o.alias,
|
|
@@ -2876,7 +2876,9 @@ var F = P, I = {
|
|
|
2876
2876
|
case "breakStart":
|
|
2877
2877
|
this.addSignal(void 0, void 0, e.breakText, e.signalType);
|
|
2878
2878
|
break;
|
|
2879
|
-
case "breakEnd":
|
|
2879
|
+
case "breakEnd":
|
|
2880
|
+
this.addSignal(void 0, void 0, void 0, e.signalType);
|
|
2881
|
+
break;
|
|
2880
2882
|
}
|
|
2881
2883
|
}
|
|
2882
2884
|
getConfig() {
|
|
@@ -3060,7 +3062,9 @@ var F = P, I = {
|
|
|
3060
3062
|
d = /* @__PURE__ */ t(() => Math.round(n.y + (i + a + n.textMargin) / 2), "yfunc");
|
|
3061
3063
|
break;
|
|
3062
3064
|
case "bottom":
|
|
3063
|
-
case "end":
|
|
3065
|
+
case "end":
|
|
3066
|
+
d = /* @__PURE__ */ t(() => Math.round(n.y + (i + a + 2 * n.textMargin) - n.textMargin), "yfunc");
|
|
3067
|
+
break;
|
|
3064
3068
|
}
|
|
3065
3069
|
if (n.anchor !== void 0 && n.textMargin !== void 0 && n.width !== void 0) switch (n.anchor) {
|
|
3066
3070
|
case "left":
|
|
@@ -3072,7 +3076,9 @@ var F = P, I = {
|
|
|
3072
3076
|
n.x = Math.round(n.x + n.width / 2), n.anchor = "middle", n.dominantBaseline = "middle", n.alignmentBaseline = "middle";
|
|
3073
3077
|
break;
|
|
3074
3078
|
case "right":
|
|
3075
|
-
case "end":
|
|
3079
|
+
case "end":
|
|
3080
|
+
n.x = Math.round(n.x + n.width - n.textMargin), n.anchor = "end", n.dominantBaseline = "middle", n.alignmentBaseline = "middle";
|
|
3081
|
+
break;
|
|
3076
3082
|
}
|
|
3077
3083
|
for (let [t, r] of o.entries()) {
|
|
3078
3084
|
n.textMargin !== void 0 && n.textMargin === 0 && s !== void 0 && (u = t * s);
|
|
@@ -3104,7 +3110,7 @@ var F = P, I = {
|
|
|
3104
3110
|
r || (G++, Object.keys(t.links || {}).length && !n.forceMenus && c.attr("onclick", ae(`actor${G}_popup`)).attr("cursor", "pointer"), c.append("line").attr("id", "actor" + G).attr("x1", a).attr("y1", o).attr("x2", a).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name), c = s.append("g"), t.actorCnt = G, t.links != null && c.attr("id", "root-" + G));
|
|
3105
3111
|
let l = k();
|
|
3106
3112
|
var u = "actor";
|
|
3107
|
-
t.properties?.class ? u = t.properties.class : l.fill = "#eaeaea", u +=
|
|
3113
|
+
t.properties?.class ? u = t.properties.class : l.fill = "#eaeaea", r ? u += ` ${B}` : u += ` ${z}`, l.x = t.x, l.y = i, l.width = t.width, l.height = t.height, l.class = u, l.rx = 3, l.ry = 3, l.name = t.name;
|
|
3108
3114
|
let d = U(c, l);
|
|
3109
3115
|
if (t.rectData = l, t.properties?.icon) {
|
|
3110
3116
|
let e = t.properties.icon.trim();
|
|
@@ -3123,7 +3129,7 @@ var F = P, I = {
|
|
|
3123
3129
|
r || (G++, Object.keys(t.links || {}).length && !n.forceMenus && c.attr("onclick", ae(`actor${G}_popup`)).attr("cursor", "pointer"), c.append("line").attr("id", "actor" + G).attr("x1", a).attr("y1", o).attr("x2", a).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name), c = s.append("g"), t.actorCnt = G, t.links != null && c.attr("id", "root-" + G));
|
|
3124
3130
|
let l = k();
|
|
3125
3131
|
var u = "actor";
|
|
3126
|
-
t.properties?.class ? u = t.properties.class : l.fill = "#eaeaea", u +=
|
|
3132
|
+
t.properties?.class ? u = t.properties.class : l.fill = "#eaeaea", r ? u += ` ${B}` : u += ` ${z}`, l.x = t.x, l.y = i, l.width = t.width, l.height = t.height, l.class = u, l.name = t.name;
|
|
3127
3133
|
let d = {
|
|
3128
3134
|
...l,
|
|
3129
3135
|
x: l.x + -6,
|
|
@@ -3145,7 +3151,7 @@ var F = P, I = {
|
|
|
3145
3151
|
let i = r ? t.stopy : t.starty, a = t.x + t.width / 2, o = i + t.height, s = e.append("g").lower(), c = s;
|
|
3146
3152
|
r || (G++, Object.keys(t.links || {}).length && !n.forceMenus && c.attr("onclick", ae(`actor${G}_popup`)).attr("cursor", "pointer"), c.append("line").attr("id", "actor" + G).attr("x1", a).attr("y1", o).attr("x2", a).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name), c = s.append("g"), t.actorCnt = G, t.links != null && c.attr("id", "root-" + G));
|
|
3147
3153
|
let l = k(), u = "actor";
|
|
3148
|
-
t.properties?.class ? u = t.properties.class : l.fill = "#eaeaea", u +=
|
|
3154
|
+
t.properties?.class ? u = t.properties.class : l.fill = "#eaeaea", r ? u += ` ${B}` : u += ` ${z}`, l.x = t.x, l.y = i, l.width = t.width, l.height = t.height, l.class = u, l.name = t.name;
|
|
3149
3155
|
let d = l.height / 2, f = d / (2.5 + l.height / 50), p = c.append("g"), m = c.append("g");
|
|
3150
3156
|
if (p.append("path").attr("d", `M ${l.x},${l.y + d}
|
|
3151
3157
|
a ${f},${d} 0 0 0 0,${l.height}
|
|
@@ -3168,14 +3174,14 @@ var F = P, I = {
|
|
|
3168
3174
|
let i = r ? t.stopy : t.starty, a = t.x + t.width / 2, o = i + 75, s = e.append("g").lower();
|
|
3169
3175
|
r || (G++, s.append("line").attr("id", "actor" + G).attr("x1", a).attr("y1", o).attr("x2", a).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name), t.actorCnt = G);
|
|
3170
3176
|
let c = e.append("g"), l = H;
|
|
3171
|
-
l +=
|
|
3177
|
+
r ? l += ` ${B}` : l += ` ${z}`, c.attr("class", l), c.attr("name", t.name);
|
|
3172
3178
|
let u = k();
|
|
3173
3179
|
u.x = t.x, u.y = i, u.fill = "#eaeaea", u.width = t.width, u.height = t.height, u.class = "actor";
|
|
3174
3180
|
let d = t.x + t.width / 2, f = i + 32;
|
|
3175
3181
|
return c.append("defs").append("marker").attr("id", "filled-head-control").attr("refX", 11).attr("refY", 5.8).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "172.5").append("path").attr("d", "M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z"), c.append("circle").attr("cx", d).attr("cy", f).attr("r", 22).attr("fill", "#eaeaf7").attr("stroke", "#666").attr("stroke-width", 1.2), c.append("line").attr("marker-end", "url(#filled-head-control)").attr("transform", `translate(${d}, ${f - 22})`), t.height = c.node().getBBox().height + 2 * (n?.sequence?.labelBoxHeight ?? 0), J(n, v(t.description))(t.description, c, u.x, u.y + 22 + (r ? 5 : 12), u.width, u.height, { class: `actor ${H}` }, n), t.height;
|
|
3176
3182
|
}, "drawActorTypeControl"), pe = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
3177
3183
|
let i = r ? t.stopy : t.starty, a = t.x + t.width / 2, o = i + 75, s = e.append("g").lower(), c = e.append("g"), l = "actor";
|
|
3178
|
-
l +=
|
|
3184
|
+
r ? l += ` ${B}` : l += ` ${z}`, c.attr("class", l), c.attr("name", t.name);
|
|
3179
3185
|
let u = k();
|
|
3180
3186
|
u.x = t.x, u.y = i, u.fill = "#eaeaea", u.width = t.width, u.height = t.height, u.class = "actor";
|
|
3181
3187
|
let d = t.x + t.width / 2, f = i + (r ? 10 : 25);
|
|
@@ -3184,7 +3190,7 @@ var F = P, I = {
|
|
|
3184
3190
|
let i = r ? t.stopy : t.starty, a = t.x + t.width / 2, o = i + t.height + 2 * n.boxTextMargin, s = e.append("g").lower(), c = s;
|
|
3185
3191
|
r || (G++, Object.keys(t.links || {}).length && !n.forceMenus && c.attr("onclick", ae(`actor${G}_popup`)).attr("cursor", "pointer"), c.append("line").attr("id", "actor" + G).attr("x1", a).attr("y1", o).attr("x2", a).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name), c = s.append("g"), t.actorCnt = G, t.links != null && c.attr("id", "root-" + G));
|
|
3186
3192
|
let l = k(), u = "actor";
|
|
3187
|
-
t.properties?.class ? u = t.properties.class : l.fill = "#eaeaea", u +=
|
|
3193
|
+
t.properties?.class ? u = t.properties.class : l.fill = "#eaeaea", r ? u += ` ${B}` : u += ` ${z}`, l.x = t.x, l.y = i, l.width = t.width, l.height = t.height, l.class = u, l.name = t.name, l.x = t.x, l.y = i;
|
|
3188
3194
|
let d = l.width / 3, f = l.width / 3, p = d / 2, m = p / (2.5 + d / 50), h = c.append("g"), g = `
|
|
3189
3195
|
M ${l.x},${l.y + m}
|
|
3190
3196
|
a ${p},${m} 0 0 0 ${d},0
|
|
@@ -3200,14 +3206,14 @@ var F = P, I = {
|
|
|
3200
3206
|
let i = r ? t.stopy : t.starty, a = t.x + t.width / 2, o = i + 80, s = e.append("g").lower();
|
|
3201
3207
|
r || (G++, s.append("line").attr("id", "actor" + G).attr("x1", a).attr("y1", o).attr("x2", a).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name), t.actorCnt = G);
|
|
3202
3208
|
let c = e.append("g"), l = H;
|
|
3203
|
-
l +=
|
|
3209
|
+
r ? l += ` ${B}` : l += ` ${z}`, c.attr("class", l), c.attr("name", t.name);
|
|
3204
3210
|
let u = k();
|
|
3205
|
-
return u.x = t.x, u.y = i, u.fill = "#eaeaea", u.width = t.width, u.height = t.height, u.class = "actor", c.append("line").attr("id", "actor-man-torso" + G).attr("x1", t.x + t.width / 2 -
|
|
3211
|
+
return u.x = t.x, u.y = i, u.fill = "#eaeaea", u.width = t.width, u.height = t.height, u.class = "actor", c.append("line").attr("id", "actor-man-torso" + G).attr("x1", t.x + t.width / 2 - 22 * 2.5).attr("y1", i + 12).attr("x2", t.x + t.width / 2 - 15).attr("y2", i + 12), c.append("line").attr("id", "actor-man-arms" + G).attr("x1", t.x + t.width / 2 - 22 * 2.5).attr("y1", i + 2).attr("x2", t.x + t.width / 2 - 22 * 2.5).attr("y2", i + 22), c.append("circle").attr("cx", t.x + t.width / 2).attr("cy", i + 12).attr("r", 22), t.height = c.node().getBBox().height + (n.sequence.labelBoxHeight ?? 0), J(n, v(t.description))(t.description, c, u.x, u.y + 15, u.width, u.height, { class: `actor ${H}` }, n), c.attr("transform", "translate(0,21)"), t.height;
|
|
3206
3212
|
}, "drawActorTypeBoundary"), ge = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
3207
3213
|
let i = r ? t.stopy : t.starty, a = t.x + t.width / 2, o = i + 80, s = e.append("g").lower();
|
|
3208
3214
|
r || (G++, s.append("line").attr("id", "actor" + G).attr("x1", a).attr("y1", o).attr("x2", a).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name), t.actorCnt = G);
|
|
3209
3215
|
let c = e.append("g"), l = H;
|
|
3210
|
-
l +=
|
|
3216
|
+
r ? l += ` ${B}` : l += ` ${z}`, c.attr("class", l), c.attr("name", t.name);
|
|
3211
3217
|
let u = k();
|
|
3212
3218
|
u.x = t.x, u.y = i, u.fill = "#eaeaea", u.width = t.width, u.height = t.height, u.class = "actor", u.rx = 3, u.ry = 3, c.append("line").attr("id", "actor-man-torso" + G).attr("x1", a).attr("y1", i + 25).attr("x2", a).attr("y2", i + 45), c.append("line").attr("id", "actor-man-arms" + G).attr("x1", a - R / 2).attr("y1", i + 33).attr("x2", a + R / 2).attr("y2", i + 33), c.append("line").attr("x1", a - R / 2).attr("y1", i + 60).attr("x2", a).attr("y2", i + 45), c.append("line").attr("x1", a).attr("y1", i + 45).attr("x2", a + R / 2 - 2).attr("y2", i + 60);
|
|
3213
3219
|
let d = c.append("circle");
|
|
@@ -3438,7 +3444,7 @@ var F = P, I = {
|
|
|
3438
3444
|
}, this.verticalPos = 0, Be(h());
|
|
3439
3445
|
}, "init"),
|
|
3440
3446
|
updateVal: /* @__PURE__ */ t(function(e, t, n, r) {
|
|
3441
|
-
e[t]
|
|
3447
|
+
e[t] === void 0 ? e[t] = n : e[t] = r(n, e[t]);
|
|
3442
3448
|
}, "updateVal"),
|
|
3443
3449
|
updateBounds: /* @__PURE__ */ t(function(e, n, r, i) {
|
|
3444
3450
|
let a = this, o = 0;
|
|
@@ -3549,7 +3555,9 @@ var F = P, I = {
|
|
|
3549
3555
|
case b:
|
|
3550
3556
|
h || (f += _(m, !1));
|
|
3551
3557
|
break;
|
|
3552
|
-
case x:
|
|
3558
|
+
case x:
|
|
3559
|
+
h ? p += _(m, !0) : f += _(m, !1);
|
|
3560
|
+
break;
|
|
3553
3561
|
}
|
|
3554
3562
|
switch (n.centralConnection) {
|
|
3555
3563
|
case y:
|
|
@@ -3558,7 +3566,9 @@ var F = P, I = {
|
|
|
3558
3566
|
case b:
|
|
3559
3567
|
v(f);
|
|
3560
3568
|
break;
|
|
3561
|
-
case x:
|
|
3569
|
+
case x:
|
|
3570
|
+
v(f), v(p);
|
|
3571
|
+
break;
|
|
3562
3572
|
}
|
|
3563
3573
|
}, "drawCentralConnection"), Q = /* @__PURE__ */ t((e) => ({
|
|
3564
3574
|
fontFamily: e.messageFontFamily,
|
|
@@ -4061,10 +4071,12 @@ var Je = /* @__PURE__ */ t(async function(t, n, r) {
|
|
|
4061
4071
|
Z.activations.push(a);
|
|
4062
4072
|
}
|
|
4063
4073
|
break;
|
|
4064
|
-
case i.db.LINETYPE.ACTIVE_END:
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4074
|
+
case i.db.LINETYPE.ACTIVE_END:
|
|
4075
|
+
{
|
|
4076
|
+
let t = Z.activations.map((e) => e.actor).lastIndexOf(e.from);
|
|
4077
|
+
Z.activations.splice(t, 1).splice(0, 1);
|
|
4078
|
+
}
|
|
4079
|
+
break;
|
|
4068
4080
|
}
|
|
4069
4081
|
e.placement === void 0 ? (l = tt(e, n, i), e.msgModel = l, l.startx && l.stopx && o.length > 0 && o.forEach((t) => {
|
|
4070
4082
|
if (s = t, l.startx === l.stopx) {
|