@antdv-next/x 1.2.1-beta.1 → 1.2.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/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 +133 -52
- package/dist/package.js +1 -1
- package/dist/sender/hooks/use-speech.js +1 -2
- package/dist/suggestion/Suggestion.js +37 -6
- package/dist/suggestion/useActive.d.ts +1 -1
- package/dist/suggestion/useActive.js +44 -2
- 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 +374 -335
- 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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
2
|
-
import { g as r, n as i, t as a } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { B as o, L as s, V as l, _ as u, b as d, c as f, r as p, s as m, v as h } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { t as g } from "./dist-
|
|
5
|
-
import { a as _, s as v } from "./chunk-JSJVCQXG-
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-3T61hYex.js";
|
|
2
|
+
import { g as r, n as i, t as a } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { B as o, L as s, V as l, _ as u, b as d, c as f, r as p, s as m, v as h } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import { t as g } from "./dist-BpM0Gz7z.js";
|
|
5
|
+
import { a as _, s as v } from "./chunk-JSJVCQXG-BbVOaXjl.js";
|
|
6
6
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-IC4MRINW.mjs
|
|
7
7
|
var y = g(), b = (function() {
|
|
8
8
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -545,7 +545,9 @@ var y = g(), b = (function() {
|
|
|
545
545
|
let e = {};
|
|
546
546
|
e[a[s - 1].trim()] = a[s].trim(), this.$ = e;
|
|
547
547
|
break;
|
|
548
|
-
case 76:
|
|
548
|
+
case 76:
|
|
549
|
+
this.$ = "";
|
|
550
|
+
break;
|
|
549
551
|
}
|
|
550
552
|
}, "anonymous"),
|
|
551
553
|
table: [
|
|
@@ -1418,7 +1420,7 @@ var y = g(), b = (function() {
|
|
|
1418
1420
|
var y = g.yylloc;
|
|
1419
1421
|
o.push(y);
|
|
1420
1422
|
var b = g.options && g.options.ranges;
|
|
1421
|
-
|
|
1423
|
+
typeof _.yy.parseError == "function" ? this.parseError = _.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
1422
1424
|
function x(e) {
|
|
1423
1425
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
1424
1426
|
}
|
|
@@ -1571,10 +1573,8 @@ var y = g(), b = (function() {
|
|
|
1571
1573
|
if (this._backtrack) {
|
|
1572
1574
|
t = !1;
|
|
1573
1575
|
continue;
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
}
|
|
1577
|
-
if (!this.options.flex) break;
|
|
1576
|
+
} else return !1;
|
|
1577
|
+
} else if (!this.options.flex) break;
|
|
1578
1578
|
}
|
|
1579
1579
|
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(), {
|
|
1580
1580
|
text: "",
|
|
@@ -2663,7 +2663,9 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2663
2663
|
case "person":
|
|
2664
2664
|
o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
|
|
2665
2665
|
break;
|
|
2666
|
-
case "external_person":
|
|
2666
|
+
case "external_person":
|
|
2667
|
+
o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
|
|
2668
|
+
break;
|
|
2667
2669
|
}
|
|
2668
2670
|
let s = e.append("g");
|
|
2669
2671
|
s.attr("class", "person-man");
|
|
@@ -2692,12 +2694,16 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2692
2694
|
case "container_queue":
|
|
2693
2695
|
case "external_container_queue":
|
|
2694
2696
|
case "component_queue":
|
|
2695
|
-
case "external_component_queue":
|
|
2697
|
+
case "external_component_queue":
|
|
2698
|
+
s.append("path").attr("fill", r).attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("width", t.width).replaceAll("half", t.height / 2)), s.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx", t.x + t.width).replaceAll("starty", t.y).replaceAll("half", t.height / 2));
|
|
2699
|
+
break;
|
|
2696
2700
|
}
|
|
2697
2701
|
let u = we(n, t.typeC4Shape.text);
|
|
2698
2702
|
switch (s.append("text").attr("fill", a).attr("font-family", u.fontFamily).attr("font-size", u.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", t.typeC4Shape.width).attr("x", t.x + t.width / 2 - t.typeC4Shape.width / 2).attr("y", t.y + t.typeC4Shape.Y).text("<<" + t.typeC4Shape.text + ">>"), t.typeC4Shape.text) {
|
|
2699
2703
|
case "person":
|
|
2700
|
-
case "external_person":
|
|
2704
|
+
case "external_person":
|
|
2705
|
+
fe(s, 48, 48, t.x + t.width / 2 - 24, t.y + t.image.Y, o);
|
|
2706
|
+
break;
|
|
2701
2707
|
}
|
|
2702
2708
|
let d = n[t.typeC4Shape.text + "Font"]();
|
|
2703
2709
|
return d.fontWeight = "bold", d.fontSize += 2, d.fontColor = a, Y(n)(t.label.text, s, t.x, t.y + t.label.Y, t.width, t.height, { fill: a }, d), d = n[t.typeC4Shape.text + "Font"](), d.fontColor = a, t.techn && t.techn?.text !== "" ? Y(n)(t.techn.text, s, t.x, t.y + t.techn.Y, t.width, t.height, {
|
|
@@ -2779,7 +2785,7 @@ var Z = {}, ke = class {
|
|
|
2779
2785
|
this.nextData.startx = this.data.startx = e, this.nextData.stopx = this.data.stopx = t, this.nextData.starty = this.data.starty = n, this.nextData.stopy = this.data.stopy = r;
|
|
2780
2786
|
}
|
|
2781
2787
|
updateVal(e, t, n, r) {
|
|
2782
|
-
e[t]
|
|
2788
|
+
e[t] === void 0 ? e[t] = n : e[t] = r(n, e[t]);
|
|
2783
2789
|
}
|
|
2784
2790
|
insert(e) {
|
|
2785
2791
|
this.nextData.cnt = this.nextData.cnt + 1;
|
|
@@ -2845,7 +2851,9 @@ var Pe = /* @__PURE__ */ t(function(e, t, n) {
|
|
|
2845
2851
|
Y: 0
|
|
2846
2852
|
}, r.typeC4Shape.text) {
|
|
2847
2853
|
case "person":
|
|
2848
|
-
case "external_person":
|
|
2854
|
+
case "external_person":
|
|
2855
|
+
r.image.width = 48, r.image.height = 48, r.image.Y = a, a = r.image.Y + r.image.height;
|
|
2856
|
+
break;
|
|
2849
2857
|
}
|
|
2850
2858
|
r.sprite && (r.image.width = 48, r.image.height = 48, r.image.Y = a, a = r.image.Y + r.image.height);
|
|
2851
2859
|
let l = r.wrap && Z.wrap, u = Z.width - Z.c4ShapePadding * 2, d = je(Z, r.typeC4Shape.text);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { it as e, rt as t } from "./chunk-7R4GIKGN-
|
|
1
|
+
import { it as e, rt as t } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.js
|
|
3
3
|
var n = (n, r) => e.lang.round(t.parse(n)[r]);
|
|
4
4
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as e } from "./src-
|
|
1
|
+
import { h as e } from "./src-3T61hYex.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.mjs
|
|
3
3
|
function t(e, t) {
|
|
4
4
|
e.accDescr && t.setAccDescription?.(e.accDescr), e.accTitle && t.setAccTitle?.(e.accTitle), e.title && t.setDiagramTitle?.(e.title);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as e, p as t } from "./src-
|
|
1
|
+
import { h as e, p as t } from "./src-3T61hYex.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.mjs
|
|
3
3
|
var n = /* @__PURE__ */ e((e, n) => {
|
|
4
4
|
let r;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, g as t, h as n, m as r } from "./src-
|
|
1
|
+
import { _ as e, g as t, h as n, m as r } from "./src-3T61hYex.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.js
|
|
3
3
|
var i = {
|
|
4
4
|
min: {
|
|
@@ -474,7 +474,7 @@ function we(e) {
|
|
|
474
474
|
}
|
|
475
475
|
function k(e) {
|
|
476
476
|
let t = ce(null);
|
|
477
|
-
for (let [n, r] of ie(e)) T(e, n) && (
|
|
477
|
+
for (let [n, r] of ie(e)) T(e, n) && (Array.isArray(r) ? t[n] = we(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = k(r) : t[n] = r);
|
|
478
478
|
return t;
|
|
479
479
|
}
|
|
480
480
|
function Te(e, t) {
|
|
@@ -906,7 +906,9 @@ function Ye() {
|
|
|
906
906
|
case "TrustedHTML":
|
|
907
907
|
u = _.createHTML(u);
|
|
908
908
|
break;
|
|
909
|
-
case "TrustedScriptURL":
|
|
909
|
+
case "TrustedScriptURL":
|
|
910
|
+
u = _.createScriptURL(u);
|
|
911
|
+
break;
|
|
910
912
|
}
|
|
911
913
|
if (u !== l) try {
|
|
912
914
|
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), Tt(e) ? X(e) : pe(t.removed);
|
|
@@ -2447,7 +2449,7 @@ var Nt = /* @__PURE__ */ n((e) => (jt(), N.sanitize(e)), "removeScript"), Pt = /
|
|
|
2447
2449
|
if (!Xt(e)) return e;
|
|
2448
2450
|
if (!(Jt() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(Yt, "MathML is unsupported in this environment.");
|
|
2449
2451
|
{
|
|
2450
|
-
let { default: n } = await import("./katex-
|
|
2452
|
+
let { default: n } = await import("./katex-olkKUfKs.js"), r = t.forceLegacyMathML || !Jt() && t.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
2451
2453
|
return e.split($).map((e) => Xt(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(Yt, (e, t) => n.renderToString(t, {
|
|
2452
2454
|
throwOnError: !0,
|
|
2453
2455
|
displayMode: !0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as e } from "./src-
|
|
1
|
+
import { h as e } from "./src-3T61hYex.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.mjs
|
|
3
3
|
var t = /* @__PURE__ */ e(() => "\n /* Font Awesome icon styling - consolidated */\n .label-icon {\n display: inline-block;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n }\n \n .node .label-icon path {\n fill: currentColor;\n stroke: revert;\n stroke-width: revert;\n }\n", "getIconStyles");
|
|
4
4
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-3T61hYex.js";
|
|
2
2
|
import { A as r, B as i, F as a, H as o, O as s, R as c, S as l, U as u, V as d, b as f, c as p, g as ee, i as te, j as m, l as h, n as g, p as _, r as ne, s as re, t as ie, u as v, y as ae } from "./isArrayLikeObject-Dqk_yOP-.js";
|
|
3
|
-
import { I as y, f as oe, m as b, r as se, s as x } from "./chunk-7R4GIKGN-
|
|
3
|
+
import { I as y, f as oe, m as b, r as se, s as x } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
4
|
import "./math-BZ_bUCIA.js";
|
|
5
|
-
import { t as ce } from "./dist-
|
|
5
|
+
import { t as ce } from "./dist-BpM0Gz7z.js";
|
|
6
6
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isPlainObject.js
|
|
7
7
|
var le = "[object Object]", ue = Function.prototype, de = Object.prototype, S = ue.toString, fe = de.hasOwnProperty, pe = S.call(Object);
|
|
8
8
|
function me(e) {
|
|
@@ -82,7 +82,9 @@ ye.prototype = {
|
|
|
82
82
|
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
83
83
|
break;
|
|
84
84
|
case 1: this._point = 2;
|
|
85
|
-
default:
|
|
85
|
+
default:
|
|
86
|
+
this._context.lineTo(e, t);
|
|
87
|
+
break;
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
90
|
};
|
|
@@ -113,7 +115,9 @@ var xe = class {
|
|
|
113
115
|
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
114
116
|
break;
|
|
115
117
|
case 1: this._point = 2;
|
|
116
|
-
default:
|
|
118
|
+
default:
|
|
119
|
+
this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);
|
|
120
|
+
break;
|
|
117
121
|
}
|
|
118
122
|
this._x0 = e, this._y0 = t;
|
|
119
123
|
}
|
|
@@ -148,7 +152,9 @@ k.prototype = {
|
|
|
148
152
|
lineEnd: function() {
|
|
149
153
|
switch (this._point) {
|
|
150
154
|
case 3: O(this, this._x1, this._y1);
|
|
151
|
-
case 2:
|
|
155
|
+
case 2:
|
|
156
|
+
this._context.lineTo(this._x1, this._y1);
|
|
157
|
+
break;
|
|
152
158
|
}
|
|
153
159
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
154
160
|
},
|
|
@@ -161,7 +167,9 @@ k.prototype = {
|
|
|
161
167
|
this._point = 2;
|
|
162
168
|
break;
|
|
163
169
|
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
|
|
164
|
-
default:
|
|
170
|
+
default:
|
|
171
|
+
O(this, e, t);
|
|
172
|
+
break;
|
|
165
173
|
}
|
|
166
174
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
167
175
|
}
|
|
@@ -188,7 +196,9 @@ j.prototype = {
|
|
|
188
196
|
case 2:
|
|
189
197
|
this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();
|
|
190
198
|
break;
|
|
191
|
-
case 3:
|
|
199
|
+
case 3:
|
|
200
|
+
this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
|
|
201
|
+
break;
|
|
192
202
|
}
|
|
193
203
|
},
|
|
194
204
|
point: function(e, t) {
|
|
@@ -202,7 +212,9 @@ j.prototype = {
|
|
|
202
212
|
case 2:
|
|
203
213
|
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
|
|
204
214
|
break;
|
|
205
|
-
default:
|
|
215
|
+
default:
|
|
216
|
+
O(this, e, t);
|
|
217
|
+
break;
|
|
206
218
|
}
|
|
207
219
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
208
220
|
}
|
|
@@ -242,7 +254,9 @@ M.prototype = {
|
|
|
242
254
|
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
|
|
243
255
|
break;
|
|
244
256
|
case 3: this._point = 4;
|
|
245
|
-
default:
|
|
257
|
+
default:
|
|
258
|
+
O(this, e, t);
|
|
259
|
+
break;
|
|
246
260
|
}
|
|
247
261
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
248
262
|
}
|
|
@@ -299,7 +313,9 @@ F.prototype = {
|
|
|
299
313
|
case 2:
|
|
300
314
|
this._context.lineTo(this._x2, this._y2);
|
|
301
315
|
break;
|
|
302
|
-
case 3:
|
|
316
|
+
case 3:
|
|
317
|
+
P(this, this._x1, this._y1);
|
|
318
|
+
break;
|
|
303
319
|
}
|
|
304
320
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
305
321
|
},
|
|
@@ -312,7 +328,9 @@ F.prototype = {
|
|
|
312
328
|
this._point = 2, this._x1 = e, this._y1 = t;
|
|
313
329
|
break;
|
|
314
330
|
case 2: this._point = 3;
|
|
315
|
-
default:
|
|
331
|
+
default:
|
|
332
|
+
P(this, e, t);
|
|
333
|
+
break;
|
|
316
334
|
}
|
|
317
335
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
318
336
|
}
|
|
@@ -344,7 +362,9 @@ L.prototype = {
|
|
|
344
362
|
case 2:
|
|
345
363
|
this._context.lineTo(this._x3, this._y3), this._context.closePath();
|
|
346
364
|
break;
|
|
347
|
-
case 3:
|
|
365
|
+
case 3:
|
|
366
|
+
this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
367
|
+
break;
|
|
348
368
|
}
|
|
349
369
|
},
|
|
350
370
|
point: function(e, t) {
|
|
@@ -358,7 +378,9 @@ L.prototype = {
|
|
|
358
378
|
case 2:
|
|
359
379
|
this._point = 3, this._x5 = e, this._y5 = t;
|
|
360
380
|
break;
|
|
361
|
-
default:
|
|
381
|
+
default:
|
|
382
|
+
P(this, e, t);
|
|
383
|
+
break;
|
|
362
384
|
}
|
|
363
385
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
364
386
|
}
|
|
@@ -401,7 +423,9 @@ R.prototype = {
|
|
|
401
423
|
this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
|
|
402
424
|
break;
|
|
403
425
|
case 3: this._point = 4;
|
|
404
|
-
default:
|
|
426
|
+
default:
|
|
427
|
+
P(this, e, t);
|
|
428
|
+
break;
|
|
405
429
|
}
|
|
406
430
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
407
431
|
}
|
|
@@ -446,7 +470,9 @@ B.prototype = {
|
|
|
446
470
|
case 2:
|
|
447
471
|
this._context.lineTo(this._x2, this._y2);
|
|
448
472
|
break;
|
|
449
|
-
case 3:
|
|
473
|
+
case 3:
|
|
474
|
+
this.point(this._x2, this._y2);
|
|
475
|
+
break;
|
|
450
476
|
}
|
|
451
477
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
452
478
|
},
|
|
@@ -463,7 +489,9 @@ B.prototype = {
|
|
|
463
489
|
this._point = 2;
|
|
464
490
|
break;
|
|
465
491
|
case 2: this._point = 3;
|
|
466
|
-
default:
|
|
492
|
+
default:
|
|
493
|
+
z(this, e, t);
|
|
494
|
+
break;
|
|
467
495
|
}
|
|
468
496
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
469
497
|
}
|
|
@@ -495,7 +523,9 @@ Oe.prototype = {
|
|
|
495
523
|
case 2:
|
|
496
524
|
this._context.lineTo(this._x3, this._y3), this._context.closePath();
|
|
497
525
|
break;
|
|
498
|
-
case 3:
|
|
526
|
+
case 3:
|
|
527
|
+
this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
528
|
+
break;
|
|
499
529
|
}
|
|
500
530
|
},
|
|
501
531
|
point: function(e, t) {
|
|
@@ -513,7 +543,9 @@ Oe.prototype = {
|
|
|
513
543
|
case 2:
|
|
514
544
|
this._point = 3, this._x5 = e, this._y5 = t;
|
|
515
545
|
break;
|
|
516
|
-
default:
|
|
546
|
+
default:
|
|
547
|
+
z(this, e, t);
|
|
548
|
+
break;
|
|
517
549
|
}
|
|
518
550
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
519
551
|
}
|
|
@@ -560,7 +592,9 @@ Ae.prototype = {
|
|
|
560
592
|
this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
|
|
561
593
|
break;
|
|
562
594
|
case 3: this._point = 4;
|
|
563
|
-
default:
|
|
595
|
+
default:
|
|
596
|
+
z(this, e, t);
|
|
597
|
+
break;
|
|
564
598
|
}
|
|
565
599
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
566
600
|
}
|
|
@@ -629,7 +663,9 @@ H.prototype = {
|
|
|
629
663
|
case 2:
|
|
630
664
|
this._context.lineTo(this._x1, this._y1);
|
|
631
665
|
break;
|
|
632
|
-
case 3:
|
|
666
|
+
case 3:
|
|
667
|
+
V(this, this._t0, Ie(this, this._t0));
|
|
668
|
+
break;
|
|
633
669
|
}
|
|
634
670
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
635
671
|
},
|
|
@@ -646,7 +682,9 @@ H.prototype = {
|
|
|
646
682
|
case 2:
|
|
647
683
|
this._point = 3, V(this, Ie(this, n = Fe(this, e, t)), n);
|
|
648
684
|
break;
|
|
649
|
-
default:
|
|
685
|
+
default:
|
|
686
|
+
V(this, this._t0, n = Fe(this, e, t));
|
|
687
|
+
break;
|
|
650
688
|
}
|
|
651
689
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
|
|
652
690
|
}
|
|
@@ -741,11 +779,13 @@ U.prototype = {
|
|
|
741
779
|
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
742
780
|
break;
|
|
743
781
|
case 1: this._point = 2;
|
|
744
|
-
default:
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
782
|
+
default:
|
|
783
|
+
if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
|
|
784
|
+
else {
|
|
785
|
+
var n = this._x * (1 - this._t) + e * this._t;
|
|
786
|
+
this._context.lineTo(n, this._y), this._context.lineTo(n, t);
|
|
787
|
+
}
|
|
788
|
+
break;
|
|
749
789
|
}
|
|
750
790
|
this._x = e, this._y = t;
|
|
751
791
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { g as e, h as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { u as n } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { s as r, y as i } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import { a, i as o, s } from "./chunk-KYZI473N-33-uii7Y.js";
|
|
5
|
+
import { a as c, i as l, n as u, r as d } from "./chunk-O4XLMI2P-DBAvycZ-.js";
|
|
6
|
+
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-GLR3WWYH.mjs
|
|
7
|
+
var f = {
|
|
8
|
+
common: r,
|
|
9
|
+
getConfig: i,
|
|
10
|
+
insertCluster: o,
|
|
11
|
+
insertEdge: u,
|
|
12
|
+
insertEdgeLabel: d,
|
|
13
|
+
insertMarkers: l,
|
|
14
|
+
insertNode: a,
|
|
15
|
+
interpolateToCurve: n,
|
|
16
|
+
labelHelper: s,
|
|
17
|
+
log: e,
|
|
18
|
+
positionEdgeLabel: c
|
|
19
|
+
}, p = {}, m = /* @__PURE__ */ t((e) => {
|
|
20
|
+
for (let t of e) p[t.name] = t;
|
|
21
|
+
}, "registerLayoutLoaders");
|
|
22
|
+
(/* @__PURE__ */ t(() => {
|
|
23
|
+
m([{
|
|
24
|
+
name: "dagre",
|
|
25
|
+
loader: /* @__PURE__ */ t(async () => await import("./dagre-KLK3FWXG-CnJPDj7X.js"), "loader")
|
|
26
|
+
}, {
|
|
27
|
+
name: "cose-bilkent",
|
|
28
|
+
loader: /* @__PURE__ */ t(async () => await import("./cose-bilkent-S5V4N54A-Cyxewg9z.js"), "loader")
|
|
29
|
+
}]);
|
|
30
|
+
}, "registerDefaultLayoutLoaders"))();
|
|
31
|
+
var h = /* @__PURE__ */ t(async (e, t) => {
|
|
32
|
+
if (!(e.layoutAlgorithm in p)) throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
|
|
33
|
+
let n = p[e.layoutAlgorithm];
|
|
34
|
+
return (await n.loader()).render(e, t, f, { algorithm: n.algorithm });
|
|
35
|
+
}, "render"), g = /* @__PURE__ */ t((t = "", { fallback: n = "dagre" } = {}) => {
|
|
36
|
+
if (t in p) return t;
|
|
37
|
+
if (n in p) return e.warn(`Layout algorithm ${t} is not registered. Using ${n} as fallback.`), n;
|
|
38
|
+
throw Error(`Both layout algorithms ${t} and ${n} are not registered.`);
|
|
39
|
+
}, "getRegisteredLayoutAlgorithm");
|
|
40
|
+
//#endregion
|
|
41
|
+
export { m as n, h as r, g as t };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { h as e, p as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { b as n } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HHEYEP7N.mjs
|
|
4
|
+
var r = /* @__PURE__ */ e((e) => {
|
|
5
|
+
let { securityLevel: r } = n(), i = t("body");
|
|
6
|
+
return r === "sandbox" && (i = t((t(`#i${e}`).node()?.contentDocument ?? document).body)), i.select(`#${e}`);
|
|
7
|
+
}, "selectSvgElement");
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as e, p as t } from "./src-
|
|
2
|
-
import { A as n } from "./chunk-7R4GIKGN-
|
|
3
|
-
import { t as r } from "./dist-
|
|
1
|
+
import { h as e, p as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { A as n } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
3
|
+
import { t as r } from "./dist-BpM0Gz7z.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JSJVCQXG.mjs
|
|
5
5
|
var i = r(), a = /* @__PURE__ */ e((e, t) => {
|
|
6
6
|
let n = e.append("rect");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import { c as n } from "./chunk-7R4GIKGN-
|
|
1
|
+
import { g as e, h as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { c as n } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-KX2RTZJC.mjs
|
|
4
4
|
var r = /* @__PURE__ */ t((t, r, o, s) => {
|
|
5
5
|
t.attr("class", o);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
2
|
-
import { i as r, l as i, n as a } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { L as o, R as s, b as c, h as l, j as u, k as d, w as f, y as p } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { n as m, r as h } from "./chunk-PU5JKC2W-
|
|
5
|
-
import { n as g, t as _ } from "./chunk-YBOYWFTD-
|
|
6
|
-
import { a as v, i as y, r as b, t as x } from "./chunk-PQ6SQG4A-
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-3T61hYex.js";
|
|
2
|
+
import { i as r, l as i, n as a } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { L as o, R as s, b as c, h as l, j as u, k as d, w as f, y as p } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import { n as m, r as h } from "./chunk-PU5JKC2W-DIl8TkGX.js";
|
|
5
|
+
import { n as g, t as _ } from "./chunk-YBOYWFTD-C2IdGsg8.js";
|
|
6
|
+
import { a as v, i as y, r as b, t as x } from "./chunk-PQ6SQG4A-BITIwHAS.js";
|
|
7
7
|
import { t as S } from "./rough.esm-D1ibUQD-.js";
|
|
8
8
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-KYZI473N.mjs
|
|
9
9
|
var C = /* @__PURE__ */ t(async (e, t, a) => {
|
|
@@ -157,7 +157,7 @@ var A = /* @__PURE__ */ t((e, t) => {
|
|
|
157
157
|
w = e.getBoundingClientRect(), t.attr("width", w.width), t.attr("height", w.height);
|
|
158
158
|
}
|
|
159
159
|
let T = r.width <= w.width + r.padding ? w.width + r.padding : r.width;
|
|
160
|
-
r.
|
|
160
|
+
r.width <= w.width + r.padding ? r.diff = (T - r.width) / 2 - r.padding : r.diff = -r.padding;
|
|
161
161
|
let E = r.height, D = r.x - T / 2, O = r.y - E / 2;
|
|
162
162
|
e.trace("Data ", r, JSON.stringify(r));
|
|
163
163
|
let k;
|
|
@@ -193,7 +193,7 @@ var A = /* @__PURE__ */ t((e, t) => {
|
|
|
193
193
|
_ = e.getBoundingClientRect(), t.attr("width", _.width), t.attr("height", _.height);
|
|
194
194
|
}
|
|
195
195
|
let v = 0 * t.padding, y = v / 2, b = (t.width <= _.width + t.padding ? _.width + t.padding : t.width) + v;
|
|
196
|
-
t.
|
|
196
|
+
t.width <= _.width + t.padding ? t.diff = (b - t.width) / 2 - t.padding : t.diff = -t.padding;
|
|
197
197
|
let x = t.height + v, C = t.height + v - _.height - 6, w = t.x - b / 2, T = t.y - x / 2;
|
|
198
198
|
t.width = b;
|
|
199
199
|
let E = t.y - t.height / 2 - y + _.height + 2, D;
|
|
@@ -271,7 +271,7 @@ var A = /* @__PURE__ */ t((e, t) => {
|
|
|
271
271
|
w = e.getBoundingClientRect(), t.attr("width", w.width), t.attr("height", w.height);
|
|
272
272
|
}
|
|
273
273
|
let T = r.width <= w.width + r.padding ? w.width + r.padding : r.width;
|
|
274
|
-
r.
|
|
274
|
+
r.width <= w.width + r.padding ? r.diff = (T - r.width) / 2 - r.padding : r.diff = -r.padding;
|
|
275
275
|
let E = r.height, D = r.x - T / 2, O = r.y - E / 2;
|
|
276
276
|
e.trace("Data ", r, JSON.stringify(r));
|
|
277
277
|
let k;
|
|
@@ -3410,7 +3410,7 @@ t(jt, "isValidShape");
|
|
|
3410
3410
|
var $ = /* @__PURE__ */ new Map();
|
|
3411
3411
|
async function Mt(e, t, n) {
|
|
3412
3412
|
let r, i;
|
|
3413
|
-
t.shape === "rect" && (t.
|
|
3413
|
+
t.shape === "rect" && (t.rx && t.ry ? t.shape = "roundedRect" : t.shape = "squareRect");
|
|
3414
3414
|
let a = t.shape ? At[t.shape] : void 0;
|
|
3415
3415
|
if (!a) throw Error(`No such shape: ${t.shape}. Please check your syntax.`);
|
|
3416
3416
|
if (t.link) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as e } from "./src-
|
|
1
|
+
import { h as e } from "./src-3T61hYex.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MX3YWQON.mjs
|
|
3
3
|
var t = /* @__PURE__ */ e((e, t) => {
|
|
4
4
|
if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
|