@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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { C as e, D as t, E as n, G as r, N as i, P as a, V as o, j as s, k as c, n as l, p as u, v as d, w as f, z as p } from "./isArrayLikeObject-Dqk_yOP-.js";
|
|
2
|
-
import { C as m, E as ee, M as h, N as te, S as ne, a as g, c as re, d as ie, f as _, i as v, m as ae, n as y, p as oe, r as b, s as x, y as se } from "./_baseUniq-
|
|
3
|
-
import { a as ce, c as le, d as ue, f as S, i as de, l as C, m as w, n as T, o as fe, r as pe, s as E, t as me, u as D } from "./_basePickBy-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { C as m, E as ee, M as h, N as te, S as ne, a as g, c as re, d as ie, f as _, i as v, m as ae, n as y, p as oe, r as b, s as x, y as se } from "./_baseUniq-CyFYmJd-.js";
|
|
3
|
+
import { a as ce, c as le, d as ue, f as S, i as de, l as C, m as w, n as T, o as fe, r as pe, s as E, t as me, u as D } from "./_basePickBy-BL4DHvHb.js";
|
|
4
|
+
import { i as he, n as ge } from "./isEmpty-BJdINx-6.js";
|
|
5
|
+
import { k as O } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
6
|
+
import { t as k } from "./graphlib-DqWOhV4K.js";
|
|
7
7
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_flatRest.js
|
|
8
8
|
function _e(e) {
|
|
9
9
|
return i(t(e, void 0, S), e + "");
|
|
@@ -215,8 +215,8 @@ function ct(e, t) {
|
|
|
215
215
|
var lt = a(1);
|
|
216
216
|
function ut(e, t) {
|
|
217
217
|
if (e.nodeCount() <= 1) return [];
|
|
218
|
-
var n = ft(e, t || lt)
|
|
219
|
-
return S(E(
|
|
218
|
+
var n = ft(e, t || lt);
|
|
219
|
+
return S(E(dt(n.graph, n.buckets, n.zeroIdx), function(t) {
|
|
220
220
|
return e.outEdges(t.v, t.w);
|
|
221
221
|
}));
|
|
222
222
|
}
|
|
@@ -275,12 +275,11 @@ function B(e, t, n) {
|
|
|
275
275
|
//#endregion
|
|
276
276
|
//#region ../../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/acyclic.js
|
|
277
277
|
function pt(e) {
|
|
278
|
-
|
|
279
|
-
x(t, function(t) {
|
|
278
|
+
x(e.graph().acyclicer === "greedy" ? ut(e, t(e)) : mt(e), function(t) {
|
|
280
279
|
var n = e.edge(t);
|
|
281
280
|
e.removeEdge(t), n.forwardName = t.name, n.reversed = !0, e.setEdge(t.w, t.v, n, R("rev"));
|
|
282
281
|
});
|
|
283
|
-
function
|
|
282
|
+
function t(e) {
|
|
284
283
|
return function(t) {
|
|
285
284
|
return e.edge(t).weight;
|
|
286
285
|
};
|
|
@@ -819,18 +818,17 @@ function mn(e, t, n) {
|
|
|
819
818
|
function hn(e) {
|
|
820
819
|
var t = {}, n = g(e.nodes(), function(t) {
|
|
821
820
|
return !e.children(t).length;
|
|
822
|
-
}), r = j(E(n, function(t) {
|
|
821
|
+
}), r = E(I(j(E(n, function(t) {
|
|
823
822
|
return e.node(t).rank;
|
|
824
|
-
}))
|
|
823
|
+
})) + 1), function() {
|
|
825
824
|
return [];
|
|
826
825
|
});
|
|
827
|
-
function
|
|
828
|
-
fe(t, n) || (t[n] = !0,
|
|
826
|
+
function i(n) {
|
|
827
|
+
fe(t, n) || (t[n] = !0, r[e.node(n).rank].push(n), x(e.successors(n), i));
|
|
829
828
|
}
|
|
830
|
-
|
|
829
|
+
return x(L(n, function(t) {
|
|
831
830
|
return e.node(t).rank;
|
|
832
|
-
});
|
|
833
|
-
return x(o, a), i;
|
|
831
|
+
}), i), r;
|
|
834
832
|
}
|
|
835
833
|
//#endregion
|
|
836
834
|
//#region ../../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/barycenter.js
|
|
@@ -853,8 +851,7 @@ function gn(e, t) {
|
|
|
853
851
|
barycenter: r.sum / r.weight,
|
|
854
852
|
weight: r.weight
|
|
855
853
|
};
|
|
856
|
-
}
|
|
857
|
-
return { v: t };
|
|
854
|
+
} else return { v: t };
|
|
858
855
|
});
|
|
859
856
|
}
|
|
860
857
|
//#endregion
|
|
@@ -1223,13 +1220,17 @@ function Gn(e, t, n) {
|
|
|
1223
1220
|
case "l":
|
|
1224
1221
|
l = -o.width / 2;
|
|
1225
1222
|
break;
|
|
1226
|
-
case "r":
|
|
1223
|
+
case "r":
|
|
1224
|
+
l = o.width / 2;
|
|
1225
|
+
break;
|
|
1227
1226
|
}
|
|
1228
1227
|
if (l && (c += n ? l : -l), l = 0, c += (o.dummy ? t : e) / 2, c += (s.dummy ? t : e) / 2, c += s.width / 2, Object.prototype.hasOwnProperty.call(s, "labelpos")) switch (s.labelpos.toLowerCase()) {
|
|
1229
1228
|
case "l":
|
|
1230
1229
|
l = s.width / 2;
|
|
1231
1230
|
break;
|
|
1232
|
-
case "r":
|
|
1231
|
+
case "r":
|
|
1232
|
+
l = -s.width / 2;
|
|
1233
|
+
break;
|
|
1233
1234
|
}
|
|
1234
1235
|
return l && (c += n ? l : -l), l = 0, c;
|
|
1235
1236
|
};
|
|
@@ -1388,7 +1389,9 @@ function pr(e) {
|
|
|
1388
1389
|
case "l":
|
|
1389
1390
|
n.x -= n.width / 2 + n.labeloffset;
|
|
1390
1391
|
break;
|
|
1391
|
-
case "r":
|
|
1392
|
+
case "r":
|
|
1393
|
+
n.x += n.width / 2 + n.labeloffset;
|
|
1394
|
+
break;
|
|
1392
1395
|
}
|
|
1393
1396
|
});
|
|
1394
1397
|
}
|
|
@@ -1420,8 +1423,7 @@ function gr(e) {
|
|
|
1420
1423
|
});
|
|
1421
1424
|
}
|
|
1422
1425
|
function _r(e) {
|
|
1423
|
-
|
|
1424
|
-
x(t, function(t) {
|
|
1426
|
+
x(H(e), function(t) {
|
|
1425
1427
|
var n = 0;
|
|
1426
1428
|
x(t, function(t, r) {
|
|
1427
1429
|
var i = e.node(t);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import { r as n } from "./_baseUniq-
|
|
3
|
-
import { s as r } from "./_basePickBy-
|
|
4
|
-
import { t as i } from "./dagre-
|
|
5
|
-
import "./chunk-GEFDOKGD-
|
|
6
|
-
import { t as a } from "./clone-
|
|
7
|
-
import { t as o } from "./graphlib-
|
|
8
|
-
import { b as s } from "./chunk-7R4GIKGN-
|
|
9
|
-
import "./chunk-PU5JKC2W-
|
|
10
|
-
import "./chunk-MX3YWQON-
|
|
11
|
-
import { n as c } from "./chunk-YBOYWFTD-
|
|
12
|
-
import "./chunk-PQ6SQG4A-
|
|
13
|
-
import { a as l, c as u, i as d, l as f, n as p, t as m, u as h } from "./chunk-KYZI473N-
|
|
14
|
-
import { a as g, i as _, n as v, r as y, t as b } from "./chunk-O4XLMI2P-
|
|
1
|
+
import { g as e, h as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { r as n } from "./_baseUniq-CyFYmJd-.js";
|
|
3
|
+
import { s as r } from "./_basePickBy-BL4DHvHb.js";
|
|
4
|
+
import { t as i } from "./dagre-BHOjJWBG.js";
|
|
5
|
+
import "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
6
|
+
import { t as a } from "./clone-DIGEZsKS.js";
|
|
7
|
+
import { t as o } from "./graphlib-DqWOhV4K.js";
|
|
8
|
+
import { b as s } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
9
|
+
import "./chunk-PU5JKC2W-DIl8TkGX.js";
|
|
10
|
+
import "./chunk-MX3YWQON-D4cz36rq.js";
|
|
11
|
+
import { n as c } from "./chunk-YBOYWFTD-C2IdGsg8.js";
|
|
12
|
+
import "./chunk-PQ6SQG4A-BITIwHAS.js";
|
|
13
|
+
import { a as l, c as u, i as d, l as f, n as p, t as m, u as h } from "./chunk-KYZI473N-33-uii7Y.js";
|
|
14
|
+
import { a as g, i as _, n as v, r as y, t as b } from "./chunk-O4XLMI2P-DBAvycZ-.js";
|
|
15
15
|
//#region ../../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/graphlib/json.js
|
|
16
16
|
function x(e) {
|
|
17
17
|
var t = {
|
|
@@ -99,8 +99,8 @@ var w = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), E = /* @__PURE
|
|
|
99
99
|
if (!t || n > 10) {
|
|
100
100
|
e.debug("Opting out, no graph ");
|
|
101
101
|
return;
|
|
102
|
-
}
|
|
103
|
-
|
|
102
|
+
} else e.debug("Opting in, graph ");
|
|
103
|
+
t.nodes().forEach(function(n) {
|
|
104
104
|
t.children(n).length > 0 && (e.warn("Cluster identified", n, " Replacement id in edges: ", N(n, t, n)), T.set(n, j(n, t)), w.set(n, {
|
|
105
105
|
id: N(n, t, n),
|
|
106
106
|
clusterData: t.node(n)
|
|
@@ -237,8 +237,7 @@ var w = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), E = /* @__PURE
|
|
|
237
237
|
e.info("Edge " + t.v + " -> " + t.w + ": " + JSON.stringify(n), n), n.points.forEach((e) => e.y += D / 2);
|
|
238
238
|
let i = r.node(t.v);
|
|
239
239
|
var s = r.node(t.w);
|
|
240
|
-
|
|
241
|
-
g(n, c);
|
|
240
|
+
g(n, v(S, n, w, a, i, s, o));
|
|
242
241
|
}), r.nodes().forEach(function(t) {
|
|
243
242
|
let n = r.node(t);
|
|
244
243
|
e.info(t, n.type, n.diff), n.isGroup && (E = n.diff);
|
|
@@ -68,6 +68,7 @@ function c(e) {
|
|
|
68
68
|
default:
|
|
69
69
|
if (!+e[n]) break out;
|
|
70
70
|
r > 0 && (r = 0);
|
|
71
|
+
break;
|
|
71
72
|
}
|
|
72
73
|
return r > 0 ? e.slice(0, r) + e.slice(i + 1) : e;
|
|
73
74
|
}
|
|
@@ -164,7 +165,9 @@ function g(e) {
|
|
|
164
165
|
case "^":
|
|
165
166
|
e = k.slice(0, g = k.length >> 1) + n + e + a + k.slice(g);
|
|
166
167
|
break;
|
|
167
|
-
default:
|
|
168
|
+
default:
|
|
169
|
+
e = k + n + e + a;
|
|
170
|
+
break;
|
|
168
171
|
}
|
|
169
172
|
return d(e);
|
|
170
173
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
2
|
-
import { 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, c as d, d as f, v as p, y as m } from "./chunk-7R4GIKGN-
|
|
5
|
-
import { t as h } from "./ordinal-
|
|
6
|
-
import { t as g } from "./defaultLocale-
|
|
7
|
-
import { t as _ } from "./chunk-
|
|
8
|
-
import { t as v } from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-3T61hYex.js";
|
|
2
|
+
import { 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, c as d, d as f, v as p, y as m } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
5
|
+
import { t as h } from "./ordinal-95c16pGC.js";
|
|
6
|
+
import { t as g } from "./defaultLocale-aSMWOJHq.js";
|
|
7
|
+
import { t as _ } from "./chunk-HHEYEP7N-DcZkCke2.js";
|
|
8
|
+
import { t as v } from "./chunk-4BX2VUAB-CprgMM4u.js";
|
|
9
|
+
import { t as y } from "./chunk-KX2RTZJC-Dw3D7Wrw.js";
|
|
10
|
+
import { i as b, n as x } from "./chunk-PQ6SQG4A-BITIwHAS.js";
|
|
11
11
|
//#region ../../node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/count.js
|
|
12
12
|
function S(e) {
|
|
13
13
|
var t = 0, n = e.children, r = n && n.length;
|
|
@@ -286,7 +286,7 @@ var Y = class {
|
|
|
286
286
|
textStyles: []
|
|
287
287
|
}, r = t.replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
|
|
288
288
|
r && r.forEach((e) => {
|
|
289
|
-
|
|
289
|
+
x(e) && (n?.textStyles ? n.textStyles.push(e) : n.textStyles = [e]), n?.styles ? n.styles.push(e) : n.styles = [e];
|
|
290
290
|
}), this.classes.set(e, n);
|
|
291
291
|
}
|
|
292
292
|
getClasses() {
|
|
@@ -321,7 +321,7 @@ function X(e) {
|
|
|
321
321
|
}
|
|
322
322
|
t(X, "buildHierarchy");
|
|
323
323
|
var ae = /* @__PURE__ */ t((e, n) => {
|
|
324
|
-
|
|
324
|
+
v(e, n);
|
|
325
325
|
let r = [];
|
|
326
326
|
for (let t of e.TreemapRows ?? []) t.$type === "ClassDefStatement" && n.addClass(t.className ?? "", t.styleText ?? "");
|
|
327
327
|
for (let t of e.TreemapRows ?? []) {
|
|
@@ -358,8 +358,8 @@ var ae = /* @__PURE__ */ t((e, n) => {
|
|
|
358
358
|
draw: /* @__PURE__ */ t((r, i, a, o) => {
|
|
359
359
|
let s = o.db, c = s.getConfig(), l = c.padding ?? se, u = s.getDiagramTitle(), f = s.getRoot(), { themeVariables: p } = m();
|
|
360
360
|
if (!f) return;
|
|
361
|
-
let
|
|
362
|
-
|
|
361
|
+
let v = u ? 30 : 0, x = _(i), S = c.nodeWidth ? c.nodeWidth * Q : 960, C = c.nodeHeight ? c.nodeHeight * Q : 500, w = S, T = C + v;
|
|
362
|
+
x.attr("viewBox", `0 0 ${w} ${T}`), d(x, T, w, c.useMaxWidth);
|
|
363
363
|
let E;
|
|
364
364
|
try {
|
|
365
365
|
let e = c.valueFormat || ",";
|
|
@@ -416,13 +416,13 @@ var ae = /* @__PURE__ */ t((e, n) => {
|
|
|
416
416
|
p.cScaleLabel10,
|
|
417
417
|
p.cScaleLabel11
|
|
418
418
|
]);
|
|
419
|
-
u &&
|
|
420
|
-
let A =
|
|
419
|
+
u && x.append("text").attr("x", w / 2).attr("y", v / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(u);
|
|
420
|
+
let A = x.append("g").attr("transform", `translate(0, ${v})`).attr("class", "treemapContainer"), j = L(f).sum((e) => e.value ?? 0).sort((e, t) => (t.value ?? 0) - (e.value ?? 0)), M = ie().size([S, C]).paddingTop((e) => e.children && e.children.length > 0 ? $ + Q : 0).paddingInner(l).paddingLeft((e) => e.children && e.children.length > 0 ? Q : 0).paddingRight((e) => e.children && e.children.length > 0 ? Q : 0).paddingBottom((e) => e.children && e.children.length > 0 ? Q : 0).round(!0)(j), N = M.descendants().filter((e) => e.children && e.children.length > 0), P = A.selectAll(".treemapSection").data(N).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
|
|
421
421
|
P.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", $).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", .6).attr("stroke-width", .6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), P.append("clipPath").attr("id", (e, t) => `clip-section-${i}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", $), P.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, t) => `treemapSection section${t}`).attr("fill", (e) => D(e.data.name)).attr("fill-opacity", .6).attr("stroke", (e) => O(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", .4).attr("style", (e) => {
|
|
422
422
|
if (e.depth === 0) return "display: none;";
|
|
423
|
-
let t =
|
|
423
|
+
let t = b({ cssCompiledStyles: e.data.cssCompiledStyles });
|
|
424
424
|
return t.nodeStyles + ";" + t.borderStyles.join(";");
|
|
425
|
-
}), P.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", $ / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => e.depth === 0 ? "display: none;" : "dominant-baseline: middle; font-size: 12px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" +
|
|
425
|
+
}), P.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", $ / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => e.depth === 0 ? "display: none;" : "dominant-baseline: middle; font-size: 12px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).each(function(e) {
|
|
426
426
|
if (e.depth === 0) return;
|
|
427
427
|
let t = n(this), r = e.data.name;
|
|
428
428
|
t.text(r);
|
|
@@ -439,9 +439,9 @@ var ae = /* @__PURE__ */ t((e, n) => {
|
|
|
439
439
|
if (t.text(e + "..."), s.getComputedTextLength() <= o) break;
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
}), c.showValues !== !1 && P.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", $ / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? E(e.value) : "").attr("font-style", "italic").attr("style", (e) => e.depth === 0 ? "display: none;" : "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" +
|
|
442
|
+
}), c.showValues !== !1 && P.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", $ / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? E(e.value) : "").attr("font-style", "italic").attr("style", (e) => e.depth === 0 ? "display: none;" : "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:"));
|
|
443
443
|
let F = M.leaves(), I = A.selectAll(".treemapLeafGroup").data(F).enter().append("g").attr("class", (e, t) => `treemapNode treemapLeafGroup leaf${t}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
|
|
444
|
-
I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("style", (e) =>
|
|
444
|
+
I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("style", (e) => b({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", .3).attr("stroke", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("stroke-width", 3), I.append("clipPath").attr("id", (e, t) => `clip-${i}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), I.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + k(e.data.name) + ";" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.data.name).each(function(e) {
|
|
445
445
|
let t = n(this), r = e.x1 - e.x0, i = e.y1 - e.y0, a = t.node(), o = r - 8, s = i - 8;
|
|
446
446
|
if (o < 10 || s < 10) {
|
|
447
447
|
t.style("display", "none");
|
|
@@ -454,7 +454,7 @@ var ae = /* @__PURE__ */ t((e, n) => {
|
|
|
454
454
|
t.style("font-size", `${c}px`), (a.getComputedTextLength() > o || c < 8 || s < c) && t.style("display", "none");
|
|
455
455
|
}), c.showValues !== !1 && I.append("text").attr("class", "treemapValue").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", function(e) {
|
|
456
456
|
return (e.y1 - e.y0) / 2;
|
|
457
|
-
}).attr("style", (e) => "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + k(e.data.name) + ";" +
|
|
457
|
+
}).attr("style", (e) => "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + k(e.data.name) + ";" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.value ? E(e.value) : "").each(function(e) {
|
|
458
458
|
let t = n(this), r = this.parentNode;
|
|
459
459
|
if (!r) {
|
|
460
460
|
t.style("display", "none");
|
|
@@ -471,9 +471,7 @@ var ae = /* @__PURE__ */ t((e, n) => {
|
|
|
471
471
|
t.attr("y", s);
|
|
472
472
|
let c = e.x1 - e.x0, l = e.y1 - e.y0 - 4, u = c - 8;
|
|
473
473
|
t.node().getComputedTextLength() > u || s + o > l || o < 6 ? t.style("display", "none") : t.style("display", null);
|
|
474
|
-
});
|
|
475
|
-
let R = c.diagramPadding ?? 8;
|
|
476
|
-
v(b, R, "flowchart", c?.useMaxWidth || !1);
|
|
474
|
+
}), y(x, c.diagramPadding ?? 8, "flowchart", c?.useMaxWidth || !1);
|
|
477
475
|
}, "draw"),
|
|
478
476
|
getClasses: /* @__PURE__ */ t(function(e, t) {
|
|
479
477
|
return t.db.getClasses();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import { r as n } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { t as r } from "./mermaid-parser.core-
|
|
4
|
-
import { B as i, C as a, E as o, V as s, W as c, _ as l, a as u, c as d, d as f, v as p, y as m } from "./chunk-7R4GIKGN-
|
|
5
|
-
import { t as h } from "./chunk-
|
|
6
|
-
import {
|
|
1
|
+
import { g as e, h as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { r as n } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { t as r } from "./mermaid-parser.core-DFgQn74w.js";
|
|
4
|
+
import { B as i, C as a, E as o, V as s, W as c, _ as l, a as u, c as d, d as f, v as p, y as m } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
5
|
+
import { t as h } from "./chunk-HHEYEP7N-DcZkCke2.js";
|
|
6
|
+
import { t as g } from "./chunk-4BX2VUAB-CprgMM4u.js";
|
|
7
7
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-IFDJBPK2.mjs
|
|
8
8
|
var _ = {
|
|
9
9
|
showLegend: !0,
|
|
@@ -65,14 +65,14 @@ var _ = {
|
|
|
65
65
|
getAccDescription: l,
|
|
66
66
|
setAccDescription: i
|
|
67
67
|
}, k = /* @__PURE__ */ t((e) => {
|
|
68
|
-
|
|
68
|
+
g(e, O);
|
|
69
69
|
let { axes: t, curves: n, options: r } = e;
|
|
70
70
|
O.setAxes(t), O.setCurves(n), O.setOptions(r);
|
|
71
71
|
}, "populate"), A = { parse: /* @__PURE__ */ t(async (t) => {
|
|
72
72
|
let n = await r("radar", t);
|
|
73
73
|
e.debug(n), k(n);
|
|
74
74
|
}, "parse") }, j = /* @__PURE__ */ t((e, t, n, r) => {
|
|
75
|
-
let i = r.db, a = i.getAxes(), o = i.getCurves(), s = i.getOptions(), c = i.getConfig(), l = i.getDiagramTitle(), u = M(
|
|
75
|
+
let i = r.db, a = i.getAxes(), o = i.getCurves(), s = i.getOptions(), c = i.getConfig(), l = i.getDiagramTitle(), u = M(h(t), c), d = s.max ?? Math.max(...o.map((e) => Math.max(...e.entries))), f = s.min, p = Math.min(c.width, c.height) / 2;
|
|
76
76
|
N(u, a, p, s.ticks, s.graticule), P(u, a, p, c), F(u, a, o, f, d, s.graticule, c), R(u, o, s.showLegend, c), u.append("text").attr("class", "radarTitle").text(l).attr("x", 0).attr("y", -c.height / 2 - c.marginTop);
|
|
77
77
|
}, "draw"), M = /* @__PURE__ */ t((e, t) => {
|
|
78
78
|
let n = t.width + t.marginLeft + t.marginRight, r = t.height + t.marginTop + t.marginBottom, i = {
|
|
@@ -166,10 +166,10 @@ var z = { draw: j }, B = /* @__PURE__ */ t((e, t) => {
|
|
|
166
166
|
}
|
|
167
167
|
return n;
|
|
168
168
|
}, "genIndexStyles"), V = /* @__PURE__ */ t((e) => {
|
|
169
|
-
let t = o(),
|
|
169
|
+
let t = n(o(), m().themeVariables);
|
|
170
170
|
return {
|
|
171
|
-
themeVariables:
|
|
172
|
-
radarOptions: n(
|
|
171
|
+
themeVariables: t,
|
|
172
|
+
radarOptions: n(t.radar, e)
|
|
173
173
|
};
|
|
174
174
|
}, "buildRadarStyleOptions"), H = {
|
|
175
175
|
parser: A,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import { r as n } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { t as r } from "./mermaid-parser.core-
|
|
4
|
-
import { B as i, C as a, V as o, W as s, _ as c, a as l, c as u, d, v as f, y as p } from "./chunk-7R4GIKGN-
|
|
5
|
-
import { t as m } from "./chunk-
|
|
6
|
-
import {
|
|
1
|
+
import { g as e, h as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { r as n } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { t as r } from "./mermaid-parser.core-DFgQn74w.js";
|
|
4
|
+
import { B as i, C as a, V as o, W as s, _ as c, a as l, c as u, d, v as f, y as p } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
5
|
+
import { t as m } from "./chunk-HHEYEP7N-DcZkCke2.js";
|
|
6
|
+
import { t as h } from "./chunk-4BX2VUAB-CprgMM4u.js";
|
|
7
7
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-P4PSJMXO.mjs
|
|
8
8
|
var g = d.packet, _ = class {
|
|
9
9
|
constructor() {
|
|
@@ -29,7 +29,7 @@ var g = d.packet, _ = class {
|
|
|
29
29
|
l(), this.packet = [];
|
|
30
30
|
}
|
|
31
31
|
}, v = 1e4, y = /* @__PURE__ */ t((t, n) => {
|
|
32
|
-
|
|
32
|
+
h(t, n);
|
|
33
33
|
let r = -1, i = [], a = 1, { bitsPerRow: o } = n.getConfig();
|
|
34
34
|
for (let { start: s, end: c, bits: l, label: u } of t.blocks) {
|
|
35
35
|
if (s !== void 0 && c !== void 0 && c < s) throw Error(`Packet block ${s} - ${c} is invalid. End must be greater than start.`);
|
|
@@ -72,10 +72,10 @@ var g = d.packet, _ = class {
|
|
|
72
72
|
e.debug(n), y(n, i);
|
|
73
73
|
}, "parse")
|
|
74
74
|
}, S = /* @__PURE__ */ t((e, t, n, r) => {
|
|
75
|
-
let i = r.db, a = i.getConfig(), { rowHeight: o, paddingY: s, bitWidth: c, bitsPerRow: l } = a, d = i.getPacket(), f = i.getDiagramTitle(), p = o + s,
|
|
76
|
-
_.attr("viewBox", `0 0 ${g} ${
|
|
75
|
+
let i = r.db, a = i.getConfig(), { rowHeight: o, paddingY: s, bitWidth: c, bitsPerRow: l } = a, d = i.getPacket(), f = i.getDiagramTitle(), p = o + s, h = p * (d.length + 1) - (f ? 0 : o), g = c * l + 2, _ = m(t);
|
|
76
|
+
_.attr("viewBox", `0 0 ${g} ${h}`), u(_, h, g, a.useMaxWidth);
|
|
77
77
|
for (let [e, t] of d.entries()) C(_, t, e, a);
|
|
78
|
-
_.append("text").text(f).attr("x", g / 2).attr("y",
|
|
78
|
+
_.append("text").text(f).attr("x", g / 2).attr("y", h - p / 2).attr("dominant-baseline", "middle").attr("text-anchor", "middle").attr("class", "packetTitle");
|
|
79
79
|
}, "draw"), C = /* @__PURE__ */ t((e, t, n, { rowHeight: r, paddingX: i, paddingY: a, bitWidth: o, bitsPerRow: s, showBits: c }) => {
|
|
80
80
|
let l = e.append("g"), u = n * (r + a) + a;
|
|
81
81
|
for (let e of t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dv1pqm0U.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@braintree+sanitize-url@7.1.2/node_modules/@braintree/sanitize-url/dist/constants.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e) => {
|
|
4
4
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.BLANK_URL = e.relativeFirstCharacters = e.whitespaceEscapeCharsRegex = e.urlSchemeRegex = e.ctrlCharactersRegex = e.htmlCtrlEntityRegex = e.htmlEntitiesRegex = e.invalidProtocolRegex = void 0, e.invalidProtocolRegex = /^([^\w]*)(javascript|data|vbscript)/im, e.htmlEntitiesRegex = /&#(\w+)(^\w|;)?/g, e.htmlCtrlEntityRegex = /&(newline|tab);/gi, e.ctrlCharactersRegex = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim, e.urlSchemeRegex = /^.+(:|:)/gim, e.whitespaceEscapeCharsRegex = /(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g, e.relativeFirstCharacters = [".", "/"], e.BLANK_URL = "about:blank";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { g as e, h as t, m as n, p as r } from "./src-
|
|
2
|
-
import { h as i, s as a } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { B as o, C as s, V as c, W as l, _ as u, a as d, b as f, nt as p, v as m } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { t as h } from "./channel-
|
|
5
|
-
import "./chunk-PU5JKC2W-
|
|
6
|
-
import "./chunk-MX3YWQON-
|
|
7
|
-
import "./chunk-YBOYWFTD-
|
|
8
|
-
import { t as g } from "./chunk-55IACEB6-
|
|
9
|
-
import { t as _ } from "./chunk-KX2RTZJC-
|
|
10
|
-
import "./chunk-PQ6SQG4A-
|
|
11
|
-
import "./chunk-KYZI473N-
|
|
12
|
-
import "./chunk-O4XLMI2P-
|
|
13
|
-
import {
|
|
1
|
+
import { g as e, h as t, m as n, p as r } from "./src-3T61hYex.js";
|
|
2
|
+
import { h as i, s as a } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { B as o, C as s, V as c, W as l, _ as u, a as d, b as f, nt as p, v as m } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import { t as h } from "./channel-CxLj88Pg.js";
|
|
5
|
+
import "./chunk-PU5JKC2W-DIl8TkGX.js";
|
|
6
|
+
import "./chunk-MX3YWQON-D4cz36rq.js";
|
|
7
|
+
import "./chunk-YBOYWFTD-C2IdGsg8.js";
|
|
8
|
+
import { t as g } from "./chunk-55IACEB6-BpkEkHy8.js";
|
|
9
|
+
import { t as _ } from "./chunk-KX2RTZJC-Dw3D7Wrw.js";
|
|
10
|
+
import "./chunk-PQ6SQG4A-BITIwHAS.js";
|
|
11
|
+
import "./chunk-KYZI473N-33-uii7Y.js";
|
|
12
|
+
import "./chunk-O4XLMI2P-DBAvycZ-.js";
|
|
13
|
+
import { r as v, t as y } from "./chunk-GLR3WWYH-B2D9kjtF.js";
|
|
14
14
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-INFDFZHY.mjs
|
|
15
15
|
var b = (function() {
|
|
16
16
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -532,7 +532,9 @@ var b = (function() {
|
|
|
532
532
|
case 77:
|
|
533
533
|
this.$ = r.Identification.NON_IDENTIFYING;
|
|
534
534
|
break;
|
|
535
|
-
case 78:
|
|
535
|
+
case 78:
|
|
536
|
+
this.$ = r.Identification.IDENTIFYING;
|
|
537
|
+
break;
|
|
536
538
|
}
|
|
537
539
|
}, "anonymous"),
|
|
538
540
|
table: [
|
|
@@ -966,7 +968,7 @@ var b = (function() {
|
|
|
966
968
|
var v = h.yylloc;
|
|
967
969
|
o.push(v);
|
|
968
970
|
var y = h.options && h.options.ranges;
|
|
969
|
-
|
|
971
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
970
972
|
function b(e) {
|
|
971
973
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
972
974
|
}
|
|
@@ -1119,10 +1121,8 @@ var b = (function() {
|
|
|
1119
1121
|
if (this._backtrack) {
|
|
1120
1122
|
t = !1;
|
|
1121
1123
|
continue;
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
}
|
|
1125
|
-
if (!this.options.flex) break;
|
|
1124
|
+
} else return !1;
|
|
1125
|
+
} else if (!this.options.flex) break;
|
|
1126
1126
|
}
|
|
1127
1127
|
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(), {
|
|
1128
1128
|
text: "",
|
|
@@ -1588,8 +1588,8 @@ var w = /* @__PURE__ */ t(async function(t, n, a, o) {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
}), i.insertTitle(d, "erDiagramTitleText", c?.titleTopMargin ?? 25, o.db.getDiagramTitle()), _(d, 8, "erDiagram", c?.useMaxWidth ?? !0);
|
|
1590
1590
|
}, "draw"), T = /* @__PURE__ */ t((e, t) => {
|
|
1591
|
-
let n = h
|
|
1592
|
-
return p(r,
|
|
1591
|
+
let n = h;
|
|
1592
|
+
return p(n(e, "r"), n(e, "g"), n(e, "b"), t);
|
|
1593
1593
|
}, "fade"), E = {
|
|
1594
1594
|
parser: x,
|
|
1595
1595
|
get db() {
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
2
|
-
import { h as r, s as i } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { B as a, C as o, U as s, V as c, W as l, Z as u, _ as d, a as f, b as p, nt as m, s as h, u as g, v as _ } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { t as v } from "./channel-
|
|
5
|
-
import "./chunk-PU5JKC2W-
|
|
6
|
-
import { t as ee } from "./chunk-FMBD7UC4-
|
|
7
|
-
import "./chunk-MX3YWQON-
|
|
8
|
-
import "./chunk-YBOYWFTD-
|
|
9
|
-
import { t as te } from "./chunk-JSJVCQXG-
|
|
10
|
-
import { t as ne } from "./chunk-55IACEB6-
|
|
11
|
-
import { t as y } from "./chunk-KX2RTZJC-
|
|
12
|
-
import "./chunk-PQ6SQG4A-
|
|
13
|
-
import { o as b } from "./chunk-KYZI473N-
|
|
14
|
-
import "./chunk-O4XLMI2P-
|
|
15
|
-
import {
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-3T61hYex.js";
|
|
2
|
+
import { h as r, s as i } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { B as a, C as o, U as s, V as c, W as l, Z as u, _ as d, a as f, b as p, nt as m, s as h, u as g, v as _ } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import { t as v } from "./channel-CxLj88Pg.js";
|
|
5
|
+
import "./chunk-PU5JKC2W-DIl8TkGX.js";
|
|
6
|
+
import { t as ee } from "./chunk-FMBD7UC4-B88neS61.js";
|
|
7
|
+
import "./chunk-MX3YWQON-D4cz36rq.js";
|
|
8
|
+
import "./chunk-YBOYWFTD-C2IdGsg8.js";
|
|
9
|
+
import { t as te } from "./chunk-JSJVCQXG-BbVOaXjl.js";
|
|
10
|
+
import { t as ne } from "./chunk-55IACEB6-BpkEkHy8.js";
|
|
11
|
+
import { t as y } from "./chunk-KX2RTZJC-Dw3D7Wrw.js";
|
|
12
|
+
import "./chunk-PQ6SQG4A-BITIwHAS.js";
|
|
13
|
+
import { o as b } from "./chunk-KYZI473N-33-uii7Y.js";
|
|
14
|
+
import "./chunk-O4XLMI2P-DBAvycZ-.js";
|
|
15
|
+
import { r as x, t as S } from "./chunk-GLR3WWYH-B2D9kjtF.js";
|
|
16
|
+
import { n as C, t as w } from "./chunk-XPW4576I-255j2Rgd.js";
|
|
16
17
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-PKNHOUZH.mjs
|
|
17
18
|
var T = "flowchart-", E = class {
|
|
18
19
|
constructor() {
|
|
@@ -41,7 +42,7 @@ var T = "flowchart-", E = class {
|
|
|
41
42
|
let c;
|
|
42
43
|
if (s !== void 0) {
|
|
43
44
|
let e;
|
|
44
|
-
e = s.includes("\n") ? s + "\n" : "{\n" + s + "\n}", c =
|
|
45
|
+
e = s.includes("\n") ? s + "\n" : "{\n" + s + "\n}", c = C(e, { schema: w });
|
|
45
46
|
}
|
|
46
47
|
let l = this.edges.find((t) => t.id === e);
|
|
47
48
|
if (l) {
|
|
@@ -85,10 +86,10 @@ var T = "flowchart-", E = class {
|
|
|
85
86
|
if (s !== void 0 && (o.text = this.sanitizeText(s.text.trim()), o.text.startsWith("\"") && o.text.endsWith("\"") && (o.text = o.text.substring(1, o.text.length - 1)), o.labelType = this.sanitizeNodeLabelType(s.type)), r !== void 0 && (o.type = r.type, o.stroke = r.stroke, o.length = r.length > 10 ? 10 : r.length), a && !this.edges.some((e) => e.id === a)) o.id = a, o.isUserDefinedId = !0;
|
|
86
87
|
else {
|
|
87
88
|
let e = this.edges.filter((e) => e.start === o.start && e.end === o.end);
|
|
88
|
-
|
|
89
|
+
e.length === 0 ? o.id = i(o.start, o.end, {
|
|
89
90
|
counter: 0,
|
|
90
91
|
prefix: "L"
|
|
91
|
-
}) : i(o.start, o.end, {
|
|
92
|
+
}) : o.id = i(o.start, o.end, {
|
|
92
93
|
counter: e.length + 1,
|
|
93
94
|
prefix: "L"
|
|
94
95
|
});
|
|
@@ -311,7 +312,9 @@ You have to call mermaid.initialize.`);
|
|
|
311
312
|
case "x":
|
|
312
313
|
n = "arrow_cross", t = t.slice(1);
|
|
313
314
|
break;
|
|
314
|
-
case "o":
|
|
315
|
+
case "o":
|
|
316
|
+
n = "arrow_circle", t = t.slice(1);
|
|
317
|
+
break;
|
|
315
318
|
}
|
|
316
319
|
let r = "normal";
|
|
317
320
|
return t.includes("=") && (r = "thick"), t.includes(".") && (r = "dotted"), {
|
|
@@ -333,7 +336,9 @@ You have to call mermaid.initialize.`);
|
|
|
333
336
|
case ">":
|
|
334
337
|
r = "arrow_point", t.startsWith("<") && (r = "double_" + r, n = n.slice(1));
|
|
335
338
|
break;
|
|
336
|
-
case "o":
|
|
339
|
+
case "o":
|
|
340
|
+
r = "arrow_circle", t.startsWith("o") && (r = "double_" + r, n = n.slice(1));
|
|
341
|
+
break;
|
|
337
342
|
}
|
|
338
343
|
let i = "normal", a = n.length - 1;
|
|
339
344
|
n.startsWith("=") && (i = "thick"), n.startsWith("~") && (i = "invisible");
|
|
@@ -397,7 +402,9 @@ You have to call mermaid.initialize.`);
|
|
|
397
402
|
break;
|
|
398
403
|
case "double_arrow_point":
|
|
399
404
|
case "double_arrow_circle":
|
|
400
|
-
case "double_arrow_cross":
|
|
405
|
+
case "double_arrow_cross":
|
|
406
|
+
t = e.replace("double_", ""), n = t;
|
|
407
|
+
break;
|
|
401
408
|
}
|
|
402
409
|
return {
|
|
403
410
|
arrowTypeStart: t,
|
|
@@ -536,7 +543,7 @@ You have to call mermaid.initialize.`);
|
|
|
536
543
|
let f = o.db.getData();
|
|
537
544
|
e.debug("Data: ", f);
|
|
538
545
|
let m = ne(i, s), h = o.db.getDirection();
|
|
539
|
-
f.type = o.type, f.layoutAlgorithm =
|
|
546
|
+
f.type = o.type, f.layoutAlgorithm = S(l), f.layoutAlgorithm === "dagre" && l === "elk" && e.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."), f.direction = h, f.nodeSpacing = c?.nodeSpacing || 50, f.rankSpacing = c?.rankSpacing || 50, f.markers = [
|
|
540
547
|
"point",
|
|
541
548
|
"circle",
|
|
542
549
|
"cross"
|
|
@@ -1633,10 +1640,12 @@ You have to call mermaid.initialize.`);
|
|
|
1633
1640
|
value: "LR"
|
|
1634
1641
|
};
|
|
1635
1642
|
break;
|
|
1636
|
-
case 189:
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1643
|
+
case 189:
|
|
1644
|
+
this.$ = {
|
|
1645
|
+
stmt: "dir",
|
|
1646
|
+
value: "TD"
|
|
1647
|
+
};
|
|
1648
|
+
break;
|
|
1640
1649
|
}
|
|
1641
1650
|
}, "anonymous"),
|
|
1642
1651
|
table: [
|
|
@@ -3005,7 +3014,7 @@ You have to call mermaid.initialize.`);
|
|
|
3005
3014
|
var v = h.yylloc;
|
|
3006
3015
|
o.push(v);
|
|
3007
3016
|
var ee = h.options && h.options.ranges;
|
|
3008
|
-
|
|
3017
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
3009
3018
|
function te(e) {
|
|
3010
3019
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
3011
3020
|
}
|
|
@@ -3158,10 +3167,8 @@ You have to call mermaid.initialize.`);
|
|
|
3158
3167
|
if (this._backtrack) {
|
|
3159
3168
|
t = !1;
|
|
3160
3169
|
continue;
|
|
3161
|
-
}
|
|
3162
|
-
|
|
3163
|
-
}
|
|
3164
|
-
if (!this.options.flex) break;
|
|
3170
|
+
} else return !1;
|
|
3171
|
+
} else if (!this.options.flex) break;
|
|
3165
3172
|
}
|
|
3166
3173
|
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(), {
|
|
3167
3174
|
text: "",
|
|
@@ -3990,8 +3997,8 @@ ie.parse = (e) => {
|
|
|
3990
3997
|
return re.parse(t);
|
|
3991
3998
|
};
|
|
3992
3999
|
var ae = ie, oe = /* @__PURE__ */ t((e, t) => {
|
|
3993
|
-
let n = v
|
|
3994
|
-
return m(r,
|
|
4000
|
+
let n = v;
|
|
4001
|
+
return m(n(e, "r"), n(e, "g"), n(e, "b"), t);
|
|
3995
4002
|
}, "fade"), k = {
|
|
3996
4003
|
parser: ae,
|
|
3997
4004
|
get db() {
|