@antdv-next/x 1.2.0 → 1.2.1-beta.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/actions/ActionsFeedback.js +1 -1
- package/dist/actions/ActionsItem.js +1 -1
- package/dist/bubble/hooks/useCompatibleScroll.js +1 -1
- package/dist/code-highlighter/CodeHighlighter.js +2 -1
- package/dist/code-highlighter/shiki.js +1 -1
- package/dist/code-highlighter/style/index.d.ts +40 -0
- package/dist/code-highlighter/style/index.js +25 -13
- package/dist/folder/Folder.js +2 -1
- package/dist/index.umd.js +63 -40
- package/dist/mermaid/Mermaid.js +1 -1
- package/dist/package.js +1 -1
- package/dist/sender/components/SlotTextArea.js +3 -2
- package/dist/sender/components/SpeechButton/RecordingIcon.js +1 -1
- package/dist/sender/hooks/use-speech.js +2 -1
- package/dist/suggestion/useActive.js +0 -2
- package/dist/theme/themes/seed.js +3 -0
- package/dist/theme/util/alias.js +5 -5
- package/dist/think/Think.js +3 -2
- package/dist/thought-chain/Node.js +3 -2
- package/dist/thought-chain/ThoughtChain.js +2 -2
- package/dist/x-provider/index.js +3 -2
- package/es/Serializer-Sc9uEpQk.js +262 -0
- package/es/{_basePickBy-DFHEGO2M.js → _basePickBy-CrbncDqR.js} +2 -2
- package/es/{_baseUniq-BlS7rXTs.js → _baseUniq-B-qU_Imh.js} +9 -9
- package/es/antdv-next-x.esm.js +2887 -2875
- package/es/{arc-BuXEd18J.js → arc-NI3ROx5X.js} +2 -2
- package/es/architecture-PBZL5I3N-BRGGaMu3.js +3 -0
- package/es/{architectureDiagram-2XIMDMQ5-CmfsCwJk.js → architectureDiagram-2XIMDMQ5-OvuktNfv.js} +100 -110
- package/es/{blockDiagram-WCTKOSBZ-lJAan65A.js → blockDiagram-WCTKOSBZ-CS-kh74L.js} +42 -43
- package/es/{c4Diagram-IC4MRINW-B1c2x_1Q.js → c4Diagram-IC4MRINW-BZGIF4Dk.js} +17 -25
- package/es/{channel-DFgF_2F7.js → channel-DrSSYyxp.js} +1 -1
- package/es/{chunk-4BX2VUAB-J2N81Fpp.js → chunk-4BX2VUAB-Rm8-te6i.js} +1 -1
- package/es/{chunk-55IACEB6-DGtfGRgi.js → chunk-55IACEB6-Tre45n-8.js} +1 -1
- package/es/{chunk-7R4GIKGN-QT6IorJ_.js → chunk-7R4GIKGN-scch4dXY.js} +10 -10
- package/es/{chunk-FMBD7UC4-DCcRjunY.js → chunk-FMBD7UC4-JmekSPZP.js} +1 -1
- package/es/{chunk-GEFDOKGD-BWpC-zoH.js → chunk-GEFDOKGD-BEzc6NZw.js} +31 -71
- package/es/{chunk-JSJVCQXG-D8_heHOp.js → chunk-JSJVCQXG-_l_UVbaa.js} +3 -3
- package/es/{chunk-KX2RTZJC-D5cc4rj6.js → chunk-KX2RTZJC-BUWM8pJz.js} +2 -2
- package/es/{chunk-KYZI473N-BHJ3T5Zv.js → chunk-KYZI473N-BSgb_E0Q.js} +11 -11
- package/es/{chunk-MX3YWQON-BxE-Aq9c.js → chunk-MX3YWQON-D602L8pU.js} +1 -1
- package/es/{chunk-NQ4KR5QH-EYQBXkqP.js → chunk-NQ4KR5QH-BPQV0i93.js} +41 -45
- package/es/{chunk-O4XLMI2P-qjOoGpnx.js → chunk-O4XLMI2P-BMqc3iYa.js} +15 -14
- package/es/{chunk-PQ6SQG4A-D3jtNCWN.js → chunk-PQ6SQG4A-DcYrzB1X.js} +2 -2
- package/es/{chunk-PU5JKC2W-DdP8BS-S.js → chunk-PU5JKC2W-TuGY6X1n.js} +28 -24
- package/es/{chunk-QZHKN3VN-CW3cFN-h.js → chunk-QZHKN3VN-CKbD02cl.js} +1 -1
- package/es/{chunk-WL4C6EOR-BDbxJyGk.js → chunk-WL4C6EOR-B31ErTFp.js} +19 -17
- package/es/{chunk-XZSTWKYB-CucN1XvM.js → chunk-XZSTWKYB-DYKLwCEy.js} +1888 -1785
- package/es/{chunk-YBOYWFTD-CvaddD9G.js → chunk-YBOYWFTD-CRiKEIiS.js} +5 -5
- package/es/classDiagram-VBA2DB6C-BDqwxUdU.js +29 -0
- package/es/classDiagram-v2-RAHNMMFH-DdmOjeUb.js +29 -0
- package/es/{clone-r3YukIBB.js → clone-yzFtXY5G.js} +1 -1
- package/es/{cose-bilkent-S5V4N54A-B5OQuIhl.js → cose-bilkent-S5V4N54A-BM90wTBk.js} +43 -48
- package/es/css-CRY9BUqw.js +2 -0
- package/es/{cytoscape.esm-i2CZcWd-.js → cytoscape.esm-B_-hKv4-.js} +276 -321
- package/es/{dagre-5aGJFKmT.js → dagre-DCYVBij1.js} +25 -27
- package/es/{dagre-KLK3FWXG-BI5QQMXo.js → dagre-KLK3FWXG-Ced70SgJ.js} +21 -17
- package/es/{defaultLocale-bckJcYh1.js → defaultLocale-yzzuPw6P.js} +1 -4
- package/es/{diagram-E7M64L7V-Dz62Vz_a.js → diagram-E7M64L7V-xZCloH_i.js} +72 -70
- package/es/{diagram-IFDJBPK2-9fjvFkSc.js → diagram-IFDJBPK2-BTmFZhvz.js} +21 -21
- package/es/{diagram-P4PSJMXO-BlX6jFjZ.js → diagram-P4PSJMXO-DX_3B0LB.js} +16 -16
- package/es/{dist-BX_roQzC.js → dist-h4ggShny.js} +1 -1
- package/es/{erDiagram-INFDFZHY-BcRXu8Cp.js → erDiagram-INFDFZHY-MJ_HVY-7.js} +22 -22
- package/es/{flowDiagram-PKNHOUZH-UeyfgU8z.js → flowDiagram-PKNHOUZH-CQIRy1sx.js} +35 -42
- package/es/{ganttDiagram-A5KZAMGK-txCzqgQ5.js → ganttDiagram-A5KZAMGK-Dw9bjWjx.js} +39 -52
- package/es/gitGraph-HDMCJU4V-oForq_Vw.js +3 -0
- package/es/{gitGraphDiagram-K3NZZRJ6-DghWYaFU.js → gitGraphDiagram-K3NZZRJ6-Gk6FiGbZ.js} +21 -21
- package/es/{graphlib-dRkI1OCL.js → graphlib-BMvIh7N7.js} +4 -4
- package/es/{html-CWvNBSxv.js → html-C4rrmxbP.js} +2 -2
- package/es/info-3K5VOQVL-0F-ZLEMx.js +3 -0
- package/es/{infoDiagram-LFFYTUFH-CA-vlAvP.js → infoDiagram-LFFYTUFH-CS64-uil.js} +9 -9
- package/es/{init-B75p2clj.js → init-sjaVZO3f.js} +1 -3
- package/es/{isArrayLikeObject-jl2bjkAJ.js → isArrayLikeObject-Dqk_yOP-.js} +5 -4
- package/es/{ishikawaDiagram-PHBUUO56-DjdpS9Lb.js → ishikawaDiagram-PHBUUO56-C_Hw5UnV.js} +13 -13
- package/es/javascript--0qAxhnA.js +2 -0
- package/es/{journeyDiagram-4ABVD52K-CIJfC1fp.js → journeyDiagram-4ABVD52K-CFFyM4Ar.js} +16 -16
- package/es/{kanban-definition-K7BYSVSG-CC2vwGck.js → kanban-definition-K7BYSVSG-B_R-mA10.js} +27 -28
- package/es/{katex-DCMiIo1z.js → katex-C-qdUNlg.js} +78 -68
- package/es/{line-Cu9NTacD.js → line-D05MESIS.js} +3 -3
- package/es/{linear-C0rAYYmp.js → linear-B8tPH2Pw.js} +4 -6
- package/es/mermaid-parser.core-C_69nk7j.js +259 -0
- package/es/mermaid.core-BVGVwWcu.js +1914 -0
- package/es/{mindmap-definition-YRQLILUH-BzTYDYmK.js → mindmap-definition-YRQLILUH-qgGUYYe3.js} +26 -28
- package/es/{ordinal-F3U6aXtP.js → ordinal-CNQzPcrr.js} +1 -1
- package/es/packet-RMMSAZCW-CeqtQQ_e.js +3 -0
- package/es/{path-Dm3C8WEs.js → path-CqWAdh69.js} +4 -7
- package/es/pie-UPGHQEXC-BI60FhK4.js +3 -0
- package/es/{pieDiagram-SKSYHLDU-COvqE_C6.js → pieDiagram-SKSYHLDU-B8-AVOmP.js} +47 -47
- package/es/{quadrantDiagram-337W2JSQ-Dgv8ccjt.js → quadrantDiagram-337W2JSQ-C2Z0CN4Z.js} +10 -10
- package/es/radar-KQ55EAFF-CRwOOFw0.js +3 -0
- package/es/{requirementDiagram-Z7DCOOCP-B2NyhxO-.js → requirementDiagram-Z7DCOOCP-Cdj7PwWC.js} +19 -19
- package/es/{chunk-WQLz0Won.js → rolldown-runtime-CEY2VRuR.js} +10 -3
- package/es/{rough.esm-BhGP2Udb.js → rough.esm-D1ibUQD-.js} +1 -1
- package/es/{sankeyDiagram-WA2Y5GQK-BfnH_gpl.js → sankeyDiagram-WA2Y5GQK-BNmU-dM1.js} +10 -10
- package/es/{sequenceDiagram-2WXFIKYE-DXssVQOF.js → sequenceDiagram-2WXFIKYE-pj0uPf22.js} +114 -126
- package/es/{shiki-runtime-D0MO6er5.js → shiki-runtime-7QG17np_.js} +978 -983
- package/es/{src-CUQ6oOYk.js → src-Dynw_Lub.js} +26 -26
- package/es/{stateDiagram-RAJIS63D-DvDLfupV.js → stateDiagram-RAJIS63D-BgCfMnGb.js} +18 -18
- package/es/stateDiagram-v2-FVOUBMTO-ByMhP6Xo.js +27 -0
- package/es/{timeline-definition-YZTLITO2-ErcRjbZf.js → timeline-definition-YZTLITO2-Bj5QKnBI.js} +10 -10
- package/es/treemap-KZPCXAKY-BlOAFUbR.js +3 -0
- package/es/{vennDiagram-LZ73GAT5-CDTZUtc8.js → vennDiagram-LZ73GAT5-lpWcIvN6.js} +16 -16
- package/es/{xychartDiagram-JWTSCODW-Y21jBOTg.js → xychartDiagram-JWTSCODW-De1M-7Yz.js} +26 -30
- package/package.json +1 -1
- package/es/Serializer-D1JYN1kI.js +0 -262
- package/es/architecture-PBZL5I3N-D7tS55xM.js +0 -3
- package/es/chunk-7E7YKBS2-CL2d4WAf.js +0 -23
- package/es/chunk-C72U2L5F-OHTVpS-m.js +0 -23
- package/es/chunk-EGIJ26TM-DyMPGYrB.js +0 -23
- package/es/chunk-GLR3WWYH-DiXcKb5Y.js +0 -41
- package/es/chunk-HHEYEP7N-Cxc7E4dX.js +0 -9
- package/es/chunk-L3YUKLVL-7oGaUOdc.js +0 -23
- package/es/chunk-OZEHJAEY-D82nx27s.js +0 -64
- package/es/chunk-R5LLSJPH-CreI2kO9.js +0 -35
- package/es/chunk-XIRO2GV7-S5KkbVnN.js +0 -30
- package/es/chunk-XPW4576I-B0KVSHwE.js +0 -1146
- package/es/classDiagram-VBA2DB6C-Co3LMmg8.js +0 -29
- package/es/classDiagram-v2-RAHNMMFH-BZscgdF2.js +0 -29
- package/es/css-Bi5OTYo2.js +0 -2
- package/es/gitGraph-HDMCJU4V-CxsS0Qr1.js +0 -3
- package/es/info-3K5VOQVL-COqdvM99.js +0 -3
- package/es/isEmpty-CmA-HYrg.js +0 -35
- package/es/javascript-CjdDmufJ.js +0 -2
- package/es/mermaid-parser.core-7Wn2L29P.js +0 -59
- package/es/mermaid.core-Bvy_Q6Hu.js +0 -680
- package/es/packet-RMMSAZCW-2PTjWKLd.js +0 -3
- package/es/pie-UPGHQEXC-Du8-k-EA.js +0 -3
- package/es/radar-KQ55EAFF-jJOhyjxC.js +0 -3
- package/es/stateDiagram-v2-FVOUBMTO-DIXyaX9W.js +0 -27
- package/es/treemap-KZPCXAKY-CvZAIYVa.js +0 -3
- /package/es/{array-CWNufkl9.js → array-CApNbSU9.js} +0 -0
- /package/es/{css-v5r4VtJ6.js → css-DVAQAvTD.js} +0 -0
- /package/es/{javascript-o_jd8Ivw.js → javascript-Bk0bJ4nQ.js} +0 -0
- /package/es/{json-DqMXJlo0.js → json-CAwkMa5O.js} +0 -0
- /package/es/{math-CoDOuve-.js → math-BZ_bUCIA.js} +0 -0
- /package/es/{python-CQPNJfOt.js → python-D0AaDoWC.js} +0 -0
- /package/es/{typescript-Ck7Pr_E3.js → typescript-DWy2KXvB.js} +0 -0
|
@@ -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-Dynw_Lub.js";
|
|
2
|
+
import { h as i, s as a } from "./chunk-GEFDOKGD-BEzc6NZw.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-scch4dXY.js";
|
|
4
|
+
import { t as h } from "./channel-DrSSYyxp.js";
|
|
5
|
+
import "./chunk-PU5JKC2W-TuGY6X1n.js";
|
|
6
|
+
import "./chunk-MX3YWQON-D602L8pU.js";
|
|
7
|
+
import "./chunk-YBOYWFTD-CRiKEIiS.js";
|
|
8
|
+
import { t as g } from "./chunk-55IACEB6-Tre45n-8.js";
|
|
9
|
+
import { t as _ } from "./chunk-KX2RTZJC-BUWM8pJz.js";
|
|
10
|
+
import "./chunk-PQ6SQG4A-DcYrzB1X.js";
|
|
11
|
+
import "./chunk-KYZI473N-BSgb_E0Q.js";
|
|
12
|
+
import "./chunk-O4XLMI2P-BMqc3iYa.js";
|
|
13
|
+
import { i as v, r as y } from "./mermaid.core-BVGVwWcu.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,9 +532,7 @@ var b = (function() {
|
|
|
532
532
|
case 77:
|
|
533
533
|
this.$ = r.Identification.NON_IDENTIFYING;
|
|
534
534
|
break;
|
|
535
|
-
case 78:
|
|
536
|
-
this.$ = r.Identification.IDENTIFYING;
|
|
537
|
-
break;
|
|
535
|
+
case 78: this.$ = r.Identification.IDENTIFYING;
|
|
538
536
|
}
|
|
539
537
|
}, "anonymous"),
|
|
540
538
|
table: [
|
|
@@ -968,7 +966,7 @@ var b = (function() {
|
|
|
968
966
|
var v = h.yylloc;
|
|
969
967
|
o.push(v);
|
|
970
968
|
var y = h.options && h.options.ranges;
|
|
971
|
-
typeof g.yy.parseError == "function" ?
|
|
969
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
972
970
|
function b(e) {
|
|
973
971
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
974
972
|
}
|
|
@@ -1121,10 +1119,12 @@ var b = (function() {
|
|
|
1121
1119
|
if (this._backtrack) {
|
|
1122
1120
|
t = !1;
|
|
1123
1121
|
continue;
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1122
|
+
}
|
|
1123
|
+
return !1;
|
|
1124
|
+
}
|
|
1125
|
+
if (!this.options.flex) break;
|
|
1126
1126
|
}
|
|
1127
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
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: "",
|
|
1129
1129
|
token: null,
|
|
1130
1130
|
line: this.yylineno
|
|
@@ -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(
|
|
1591
|
+
let n = h, r = n(e, "r"), i = n(e, "g"), a = n(e, "b");
|
|
1592
|
+
return p(r, i, a, t);
|
|
1593
1593
|
}, "fade"), E = {
|
|
1594
1594
|
parser: x,
|
|
1595
1595
|
get db() {
|
|
@@ -1,19 +1,18 @@
|
|
|
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 {
|
|
16
|
-
import { n as C, t as w } from "./chunk-XPW4576I-B0KVSHwE.js";
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-Dynw_Lub.js";
|
|
2
|
+
import { h as r, s as i } from "./chunk-GEFDOKGD-BEzc6NZw.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-scch4dXY.js";
|
|
4
|
+
import { t as v } from "./channel-DrSSYyxp.js";
|
|
5
|
+
import "./chunk-PU5JKC2W-TuGY6X1n.js";
|
|
6
|
+
import { t as ee } from "./chunk-FMBD7UC4-JmekSPZP.js";
|
|
7
|
+
import "./chunk-MX3YWQON-D602L8pU.js";
|
|
8
|
+
import "./chunk-YBOYWFTD-CRiKEIiS.js";
|
|
9
|
+
import { t as te } from "./chunk-JSJVCQXG-_l_UVbaa.js";
|
|
10
|
+
import { t as ne } from "./chunk-55IACEB6-Tre45n-8.js";
|
|
11
|
+
import { t as y } from "./chunk-KX2RTZJC-BUWM8pJz.js";
|
|
12
|
+
import "./chunk-PQ6SQG4A-DcYrzB1X.js";
|
|
13
|
+
import { o as b } from "./chunk-KYZI473N-BSgb_E0Q.js";
|
|
14
|
+
import "./chunk-O4XLMI2P-BMqc3iYa.js";
|
|
15
|
+
import { i as x, n as S, r as C, t as w } from "./mermaid.core-BVGVwWcu.js";
|
|
17
16
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-PKNHOUZH.mjs
|
|
18
17
|
var T = "flowchart-", E = class {
|
|
19
18
|
constructor() {
|
|
@@ -42,7 +41,7 @@ var T = "flowchart-", E = class {
|
|
|
42
41
|
let c;
|
|
43
42
|
if (s !== void 0) {
|
|
44
43
|
let e;
|
|
45
|
-
e = s.includes("\n") ? s + "\n" : "{\n" + s + "\n}", c =
|
|
44
|
+
e = s.includes("\n") ? s + "\n" : "{\n" + s + "\n}", c = S(e, { schema: w });
|
|
46
45
|
}
|
|
47
46
|
let l = this.edges.find((t) => t.id === e);
|
|
48
47
|
if (l) {
|
|
@@ -86,10 +85,10 @@ var T = "flowchart-", E = class {
|
|
|
86
85
|
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;
|
|
87
86
|
else {
|
|
88
87
|
let e = this.edges.filter((e) => e.start === o.start && e.end === o.end);
|
|
89
|
-
e.length === 0 ?
|
|
88
|
+
o.id = e.length === 0 ? i(o.start, o.end, {
|
|
90
89
|
counter: 0,
|
|
91
90
|
prefix: "L"
|
|
92
|
-
}) :
|
|
91
|
+
}) : i(o.start, o.end, {
|
|
93
92
|
counter: e.length + 1,
|
|
94
93
|
prefix: "L"
|
|
95
94
|
});
|
|
@@ -242,7 +241,7 @@ You have to call mermaid.initialize.`);
|
|
|
242
241
|
return {
|
|
243
242
|
nodeList: e.filter(function(e) {
|
|
244
243
|
let i = typeof e;
|
|
245
|
-
return e.stmt && e.stmt === "dir" ? (r = e.value, !1) : e.trim() === "" ? !1 : i in t ? t[i].hasOwnProperty(e) ? !1 : t[i][e] = !0 : n.includes(e)
|
|
244
|
+
return e.stmt && e.stmt === "dir" ? (r = e.value, !1) : e.trim() === "" ? !1 : i in t ? t[i].hasOwnProperty(e) ? !1 : t[i][e] = !0 : !n.includes(e) && n.push(e);
|
|
246
245
|
}),
|
|
247
246
|
dir: r
|
|
248
247
|
};
|
|
@@ -312,9 +311,7 @@ You have to call mermaid.initialize.`);
|
|
|
312
311
|
case "x":
|
|
313
312
|
n = "arrow_cross", t = t.slice(1);
|
|
314
313
|
break;
|
|
315
|
-
case "o":
|
|
316
|
-
n = "arrow_circle", t = t.slice(1);
|
|
317
|
-
break;
|
|
314
|
+
case "o": n = "arrow_circle", t = t.slice(1);
|
|
318
315
|
}
|
|
319
316
|
let r = "normal";
|
|
320
317
|
return t.includes("=") && (r = "thick"), t.includes(".") && (r = "dotted"), {
|
|
@@ -336,9 +333,7 @@ You have to call mermaid.initialize.`);
|
|
|
336
333
|
case ">":
|
|
337
334
|
r = "arrow_point", t.startsWith("<") && (r = "double_" + r, n = n.slice(1));
|
|
338
335
|
break;
|
|
339
|
-
case "o":
|
|
340
|
-
r = "arrow_circle", t.startsWith("o") && (r = "double_" + r, n = n.slice(1));
|
|
341
|
-
break;
|
|
336
|
+
case "o": r = "arrow_circle", t.startsWith("o") && (r = "double_" + r, n = n.slice(1));
|
|
342
337
|
}
|
|
343
338
|
let i = "normal", a = n.length - 1;
|
|
344
339
|
n.startsWith("=") && (i = "thick"), n.startsWith("~") && (i = "invisible");
|
|
@@ -402,9 +397,7 @@ You have to call mermaid.initialize.`);
|
|
|
402
397
|
break;
|
|
403
398
|
case "double_arrow_point":
|
|
404
399
|
case "double_arrow_circle":
|
|
405
|
-
case "double_arrow_cross":
|
|
406
|
-
t = e.replace("double_", ""), n = t;
|
|
407
|
-
break;
|
|
400
|
+
case "double_arrow_cross": t = e.replace("double_", ""), n = t;
|
|
408
401
|
}
|
|
409
402
|
return {
|
|
410
403
|
arrowTypeStart: t,
|
|
@@ -543,7 +536,7 @@ You have to call mermaid.initialize.`);
|
|
|
543
536
|
let f = o.db.getData();
|
|
544
537
|
e.debug("Data: ", f);
|
|
545
538
|
let m = ne(i, s), h = o.db.getDirection();
|
|
546
|
-
f.type = o.type, f.layoutAlgorithm =
|
|
539
|
+
f.type = o.type, f.layoutAlgorithm = C(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 = [
|
|
547
540
|
"point",
|
|
548
541
|
"circle",
|
|
549
542
|
"cross"
|
|
@@ -1640,12 +1633,10 @@ You have to call mermaid.initialize.`);
|
|
|
1640
1633
|
value: "LR"
|
|
1641
1634
|
};
|
|
1642
1635
|
break;
|
|
1643
|
-
case 189:
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
};
|
|
1648
|
-
break;
|
|
1636
|
+
case 189: this.$ = {
|
|
1637
|
+
stmt: "dir",
|
|
1638
|
+
value: "TD"
|
|
1639
|
+
};
|
|
1649
1640
|
}
|
|
1650
1641
|
}, "anonymous"),
|
|
1651
1642
|
table: [
|
|
@@ -3014,7 +3005,7 @@ You have to call mermaid.initialize.`);
|
|
|
3014
3005
|
var v = h.yylloc;
|
|
3015
3006
|
o.push(v);
|
|
3016
3007
|
var ee = h.options && h.options.ranges;
|
|
3017
|
-
typeof g.yy.parseError == "function" ?
|
|
3008
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
3018
3009
|
function te(e) {
|
|
3019
3010
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
3020
3011
|
}
|
|
@@ -3167,10 +3158,12 @@ You have to call mermaid.initialize.`);
|
|
|
3167
3158
|
if (this._backtrack) {
|
|
3168
3159
|
t = !1;
|
|
3169
3160
|
continue;
|
|
3170
|
-
}
|
|
3171
|
-
|
|
3161
|
+
}
|
|
3162
|
+
return !1;
|
|
3163
|
+
}
|
|
3164
|
+
if (!this.options.flex) break;
|
|
3172
3165
|
}
|
|
3173
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
3166
|
+
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(), {
|
|
3174
3167
|
text: "",
|
|
3175
3168
|
token: null,
|
|
3176
3169
|
line: this.yylineno
|
|
@@ -3997,8 +3990,8 @@ ie.parse = (e) => {
|
|
|
3997
3990
|
return re.parse(t);
|
|
3998
3991
|
};
|
|
3999
3992
|
var ae = ie, oe = /* @__PURE__ */ t((e, t) => {
|
|
4000
|
-
let n = v;
|
|
4001
|
-
return m(
|
|
3993
|
+
let n = v, r = n(e, "r"), i = n(e, "g"), a = n(e, "b");
|
|
3994
|
+
return m(r, i, a, t);
|
|
4002
3995
|
}, "fade"), k = {
|
|
4003
3996
|
parser: ae,
|
|
4004
3997
|
get db() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as e, t } from "./
|
|
2
|
-
import { a as n, c as r, d as i, f as a, g as o, h as s, i as c, p as l, s as u, u as d, v as f } from "./src-
|
|
3
|
-
import { h as p } from "./chunk-GEFDOKGD-
|
|
4
|
-
import { B as m, C as h, V as g, W as _, _ as v, a as y, b, c as x, s as S, v as C } from "./chunk-7R4GIKGN-
|
|
5
|
-
import { a as w, i as T, n as E, r as D, t as O } from "./linear-
|
|
6
|
-
import { t as k } from "./init-
|
|
7
|
-
import { t as ee } from "./dist-
|
|
1
|
+
import { o as e, t } from "./rolldown-runtime-CEY2VRuR.js";
|
|
2
|
+
import { a as n, c as r, d as i, f as a, g as o, h as s, i as c, p as l, s as u, u as d, v as f } from "./src-Dynw_Lub.js";
|
|
3
|
+
import { h as p } from "./chunk-GEFDOKGD-BEzc6NZw.js";
|
|
4
|
+
import { B as m, C as h, V as g, W as _, _ as v, a as y, b, c as x, s as S, v as C } from "./chunk-7R4GIKGN-scch4dXY.js";
|
|
5
|
+
import { a as w, i as T, n as E, r as D, t as O } from "./linear-B8tPH2Pw.js";
|
|
6
|
+
import { t as k } from "./init-sjaVZO3f.js";
|
|
7
|
+
import { t as ee } from "./dist-h4ggShny.js";
|
|
8
8
|
//#region ../../node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/plugin/advancedFormat.js
|
|
9
9
|
var A = /* @__PURE__ */ t(((e, t) => {
|
|
10
10
|
(function(n, r) {
|
|
@@ -104,8 +104,8 @@ var A = /* @__PURE__ */ t(((e, t) => {
|
|
|
104
104
|
D: [i, c("day")],
|
|
105
105
|
DD: [r, c("day")],
|
|
106
106
|
Do: [a, function(e) {
|
|
107
|
-
var t = o.ordinal;
|
|
108
|
-
if (this.day =
|
|
107
|
+
var t = o.ordinal, n = e.match(/\d+/);
|
|
108
|
+
if (this.day = n[0], t) for (var r = 1; r <= 31; r += 1) t(r).replace(/\[|\]/g, "") === e && (this.day = r);
|
|
109
109
|
}],
|
|
110
110
|
w: [i, c("week")],
|
|
111
111
|
ww: [r, c("week")],
|
|
@@ -769,7 +769,7 @@ function yt(e) {
|
|
|
769
769
|
if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {
|
|
770
770
|
if (r.V < 1 || r.V > 53) return null;
|
|
771
771
|
"w" in r || (r.w = 1), "Z" in r ? (a = _t(vt(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? it.ceil(a) : it(a), a = Ye.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = gt(vt(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? Qe.ceil(a) : Qe(a), a = B.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
|
|
772
|
-
} else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : "W" in r
|
|
772
|
+
} else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? _t(vt(r.y, 0, 1)).getUTCDay() : gt(vt(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
|
|
773
773
|
return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, _t(r)) : gt(r);
|
|
774
774
|
};
|
|
775
775
|
}
|
|
@@ -1204,24 +1204,23 @@ var Un = /* @__PURE__ */ t(((e, t) => {
|
|
|
1204
1204
|
(function(n, r) {
|
|
1205
1205
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_isoWeek = r();
|
|
1206
1206
|
})(e, (function() {
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
}, a.isoWeekday = function(e) {
|
|
1207
|
+
return function(e, t, n) {
|
|
1208
|
+
var r = function(e) {
|
|
1209
|
+
return e.add(4 - e.isoWeekday(), "day");
|
|
1210
|
+
}, i = t.prototype;
|
|
1211
|
+
i.isoWeekYear = function() {
|
|
1212
|
+
return r(this).year();
|
|
1213
|
+
}, i.isoWeek = function(e) {
|
|
1214
|
+
if (!this.$utils().u(e)) return this.add(7 * (e - this.isoWeek()), "day");
|
|
1215
|
+
var t, i, a, o, s = r(this), c = (t = this.isoWeekYear(), i = this.$u, a = (i ? n.utc : n)().year(t).startOf("year"), o = 4 - a.isoWeekday(), a.isoWeekday() > 4 && (o += 7), a.add(o, "day"));
|
|
1216
|
+
return s.diff(c, "week") + 1;
|
|
1217
|
+
}, i.isoWeekday = function(e) {
|
|
1219
1218
|
return this.$utils().u(e) ? this.day() || 7 : this.day(this.day() % 7 ? e : e - 7);
|
|
1220
1219
|
};
|
|
1221
|
-
var
|
|
1222
|
-
|
|
1220
|
+
var a = i.startOf;
|
|
1221
|
+
i.startOf = function(e, t) {
|
|
1223
1222
|
var n = this.$utils(), r = !!n.u(t) || t;
|
|
1224
|
-
return n.p(e) === "isoweek" ? r ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") :
|
|
1223
|
+
return n.p(e) === "isoweek" ? r ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : a.bind(this)(e, t);
|
|
1225
1224
|
};
|
|
1226
1225
|
};
|
|
1227
1226
|
}));
|
|
@@ -1670,9 +1669,7 @@ var Un = /* @__PURE__ */ t(((e, t) => {
|
|
|
1670
1669
|
this.$ = a[s - 2] + " " + a[s - 1] + " " + a[s];
|
|
1671
1670
|
break;
|
|
1672
1671
|
case 44:
|
|
1673
|
-
case 46:
|
|
1674
|
-
this.$ = a[s - 3] + " " + a[s - 2] + " " + a[s - 1] + " " + a[s];
|
|
1675
|
-
break;
|
|
1672
|
+
case 46: this.$ = a[s - 3] + " " + a[s - 2] + " " + a[s - 1] + " " + a[s];
|
|
1676
1673
|
}
|
|
1677
1674
|
}, "anonymous"),
|
|
1678
1675
|
table: [
|
|
@@ -1810,7 +1807,7 @@ var Un = /* @__PURE__ */ t(((e, t) => {
|
|
|
1810
1807
|
var v = h.yylloc;
|
|
1811
1808
|
a.push(v);
|
|
1812
1809
|
var y = h.options && h.options.ranges;
|
|
1813
|
-
typeof g.yy.parseError == "function" ?
|
|
1810
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
1814
1811
|
function b(e) {
|
|
1815
1812
|
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
1816
1813
|
}
|
|
@@ -1963,10 +1960,12 @@ var Un = /* @__PURE__ */ t(((e, t) => {
|
|
|
1963
1960
|
if (this._backtrack) {
|
|
1964
1961
|
t = !1;
|
|
1965
1962
|
continue;
|
|
1966
|
-
}
|
|
1967
|
-
|
|
1963
|
+
}
|
|
1964
|
+
return !1;
|
|
1965
|
+
}
|
|
1966
|
+
if (!this.options.flex) break;
|
|
1968
1967
|
}
|
|
1969
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
1968
|
+
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(), {
|
|
1970
1969
|
text: "",
|
|
1971
1970
|
token: null,
|
|
1972
1971
|
line: this.yylineno
|
|
@@ -2357,10 +2356,7 @@ var Qn = {
|
|
|
2357
2356
|
case 2:
|
|
2358
2357
|
i.id = Yr(), i.startTime = Gr(void 0, X, r[0]), a = r[1];
|
|
2359
2358
|
break;
|
|
2360
|
-
case 3:
|
|
2361
|
-
i.id = Yr(r[0]), i.startTime = Gr(void 0, X, r[1]), a = r[2];
|
|
2362
|
-
break;
|
|
2363
|
-
default:
|
|
2359
|
+
case 3: i.id = Yr(r[0]), i.startTime = Gr(void 0, X, r[1]), a = r[2];
|
|
2364
2360
|
}
|
|
2365
2361
|
return a && (i.endTime = qr(i.startTime, X, a, dr), i.manualEndTime = (0, Y.default)(a, "YYYY-MM-DD", !0).isValid(), Ur(i, X, rr, nr)), i;
|
|
2366
2362
|
}, "compileData"), Zr = /* @__PURE__ */ s(function(e, t) {
|
|
@@ -2382,13 +2378,10 @@ var Qn = {
|
|
|
2382
2378
|
startData: r[0]
|
|
2383
2379
|
}, i.endTime = { data: r[1] };
|
|
2384
2380
|
break;
|
|
2385
|
-
case 3:
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
}, i.endTime = { data: r[2] };
|
|
2390
|
-
break;
|
|
2391
|
-
default:
|
|
2381
|
+
case 3: i.id = Yr(r[0]), i.startTime = {
|
|
2382
|
+
type: "getStartDate",
|
|
2383
|
+
startData: r[1]
|
|
2384
|
+
}, i.endTime = { data: r[2] };
|
|
2392
2385
|
}
|
|
2393
2386
|
return i;
|
|
2394
2387
|
}, "parseData"), Qr, $r, Z = [], ei = {}, ti = /* @__PURE__ */ s(function(e, t) {
|
|
@@ -2424,9 +2417,7 @@ var Qn = {
|
|
|
2424
2417
|
case "prevTaskEnd":
|
|
2425
2418
|
t.startTime = Q(t.prevTaskId).endTime;
|
|
2426
2419
|
break;
|
|
2427
|
-
case "getStartDate":
|
|
2428
|
-
n = Gr(void 0, X, Z[e].raw.startTime.startData), n && (Z[e].startTime = n);
|
|
2429
|
-
break;
|
|
2420
|
+
case "getStartDate": n = Gr(void 0, X, Z[e].raw.startTime.startData), n && (Z[e].startTime = n);
|
|
2430
2421
|
}
|
|
2431
2422
|
return Z[e].startTime && (Z[e].endTime = qr(Z[e].startTime, X, Z[e].raw.endTime.data, dr), Z[e].endTime && (Z[e].processed = !0, Z[e].manualEndTime = (0, Y.default)(Z[e].raw.endTime.data, "YYYY-MM-DD", !0).isValid(), Ur(Z[e], X, rr, nr))), Z[e].processed;
|
|
2432
2423
|
}, "compileTask"), t = !0;
|
|
@@ -2707,9 +2698,7 @@ var ui = /* @__PURE__ */ s(function() {
|
|
|
2707
2698
|
case "week":
|
|
2708
2699
|
u.ticks(di[n].every(e));
|
|
2709
2700
|
break;
|
|
2710
|
-
case "month":
|
|
2711
|
-
u.ticks(lt.every(e));
|
|
2712
|
-
break;
|
|
2701
|
+
case "month": u.ticks(lt.every(e));
|
|
2713
2702
|
}
|
|
2714
2703
|
}
|
|
2715
2704
|
}
|
|
@@ -2739,9 +2728,7 @@ var ui = /* @__PURE__ */ s(function() {
|
|
|
2739
2728
|
case "week":
|
|
2740
2729
|
n.ticks(di[a].every(e));
|
|
2741
2730
|
break;
|
|
2742
|
-
case "month":
|
|
2743
|
-
n.ticks(lt.every(e));
|
|
2744
|
-
break;
|
|
2731
|
+
case "month": n.ticks(lt.every(e));
|
|
2745
2732
|
}
|
|
2746
2733
|
}
|
|
2747
2734
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
2
|
-
import { h as r, p as i, r as a } from "./chunk-GEFDOKGD-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as g } from "./
|
|
6
|
-
import { t as ne } from "./chunk-QZHKN3VN-
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-Dynw_Lub.js";
|
|
2
|
+
import { h as r, p as i, r as a } from "./chunk-GEFDOKGD-BEzc6NZw.js";
|
|
3
|
+
import { t as o } from "./mermaid-parser.core-C_69nk7j.js";
|
|
4
|
+
import { B as s, C as c, V as l, W as u, _ as d, a as f, d as ee, q as te, s as p, v as m, y as h } from "./chunk-7R4GIKGN-scch4dXY.js";
|
|
5
|
+
import { t as g } from "./chunk-4BX2VUAB-Rm8-te6i.js";
|
|
6
|
+
import { t as ne } from "./chunk-QZHKN3VN-CKbD02cl.js";
|
|
7
7
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-K3NZZRJ6.mjs
|
|
8
8
|
var _ = {
|
|
9
9
|
NORMAL: 0,
|
|
@@ -11,9 +11,9 @@ var _ = {
|
|
|
11
11
|
HIGHLIGHT: 2,
|
|
12
12
|
MERGE: 3,
|
|
13
13
|
CHERRY_PICK: 4
|
|
14
|
-
}, re =
|
|
14
|
+
}, re = ee.gitGraph, v = /* @__PURE__ */ t(() => a({
|
|
15
15
|
...re,
|
|
16
|
-
...
|
|
16
|
+
...h().gitGraph
|
|
17
17
|
}), "getConfig"), y = new ne(() => {
|
|
18
18
|
let e = v(), t = e.mainBranchName, n = e.mainBranchOrder;
|
|
19
19
|
return {
|
|
@@ -218,7 +218,7 @@ t(T, "upsert");
|
|
|
218
218
|
function E(t) {
|
|
219
219
|
let n = t.reduce((e, t) => e.seq > t.seq ? e : t, t[0]), r = "";
|
|
220
220
|
t.forEach(function(e) {
|
|
221
|
-
e === n ?
|
|
221
|
+
r += e === n ? " *" : " |";
|
|
222
222
|
});
|
|
223
223
|
let i = [
|
|
224
224
|
r,
|
|
@@ -242,7 +242,7 @@ var le = /* @__PURE__ */ t(function() {
|
|
|
242
242
|
let t = D()[0];
|
|
243
243
|
E([t]);
|
|
244
244
|
}, "prettyPrint"), ue = /* @__PURE__ */ t(function() {
|
|
245
|
-
y.reset(),
|
|
245
|
+
y.reset(), f();
|
|
246
246
|
}, "clear"), de = /* @__PURE__ */ t(function() {
|
|
247
247
|
return [...y.records.branchConfig.values()].map((e, t) => e.order !== null && e.order !== void 0 ? e : {
|
|
248
248
|
...e,
|
|
@@ -283,14 +283,14 @@ var le = /* @__PURE__ */ t(function() {
|
|
|
283
283
|
getHead: /* @__PURE__ */ t(function() {
|
|
284
284
|
return y.records.head;
|
|
285
285
|
}, "getHead"),
|
|
286
|
-
setAccTitle:
|
|
287
|
-
getAccTitle:
|
|
288
|
-
getAccDescription:
|
|
289
|
-
setAccDescription:
|
|
290
|
-
setDiagramTitle:
|
|
291
|
-
getDiagramTitle:
|
|
286
|
+
setAccTitle: l,
|
|
287
|
+
getAccTitle: m,
|
|
288
|
+
getAccDescription: d,
|
|
289
|
+
setAccDescription: s,
|
|
290
|
+
setDiagramTitle: u,
|
|
291
|
+
getDiagramTitle: c
|
|
292
292
|
}, k = /* @__PURE__ */ t((e, t) => {
|
|
293
|
-
|
|
293
|
+
g(e, t), e.dir && t.setDirection(e.dir);
|
|
294
294
|
for (let n of e.statements) A(n, t);
|
|
295
295
|
}, "populate"), A = /* @__PURE__ */ t((n, r) => {
|
|
296
296
|
let i = {
|
|
@@ -320,7 +320,7 @@ var le = /* @__PURE__ */ t(function() {
|
|
|
320
320
|
tags: e.tags?.length === 0 ? void 0 : e.tags,
|
|
321
321
|
parent: e.parent
|
|
322
322
|
}), "parseCherryPicking"), I = { parse: /* @__PURE__ */ t(async (t) => {
|
|
323
|
-
let n = await
|
|
323
|
+
let n = await o("gitGraph", t);
|
|
324
324
|
e.debug(n), k(n, O);
|
|
325
325
|
}, "parse") }, L = 10, R = 40, z = 4, B = 2, V = 8, H = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map(), W = 30, G = /* @__PURE__ */ new Map(), K = [], q = 0, J = "LR", me = /* @__PURE__ */ t(() => {
|
|
326
326
|
H.clear(), U.clear(), G.clear(), q = 0, K = [], J = "LR";
|
|
@@ -483,8 +483,8 @@ var le = /* @__PURE__ */ t(function() {
|
|
|
483
483
|
l && (s = we(t, J, s, U));
|
|
484
484
|
let c = Te(t, s, l);
|
|
485
485
|
if (r) {
|
|
486
|
-
let e = Ce(t), n = t.customType ?? t.type;
|
|
487
|
-
xe(a, t, c, e,
|
|
486
|
+
let e = Ce(t), n = t.customType ?? t.type, r = H.get(t.branch)?.index ?? 0;
|
|
487
|
+
xe(a, t, c, e, r, n), Se(o, t, c, s, i), Z(o, t, c, s);
|
|
488
488
|
}
|
|
489
489
|
J === "TB" || J === "BT" ? U.set(t.id, {
|
|
490
490
|
x: c.x,
|
|
@@ -558,7 +558,7 @@ var le = /* @__PURE__ */ t(function() {
|
|
|
558
558
|
a.node()?.appendChild(n);
|
|
559
559
|
let o = n.getBBox();
|
|
560
560
|
f = Ae(e.name, f, t, o, l), a.remove(), i.remove(), r.remove();
|
|
561
|
-
}), Q(d, G, !1, c), c.showBranches && ke(d, u, c), Oe(d, G), Q(d, G, !0, c), r.insertTitle(d, "gitTitleText", c.titleTopMargin ?? 0, s.getDiagramTitle()),
|
|
561
|
+
}), Q(d, G, !1, c), c.showBranches && ke(d, u, c), Oe(d, G), Q(d, G, !0, c), r.insertTitle(d, "gitTitleText", c.titleTopMargin ?? 0, s.getDiagramTitle()), te(void 0, d, c.diagramPadding, c.useMaxWidth);
|
|
562
562
|
}, "draw") },
|
|
563
563
|
styles: /* @__PURE__ */ t((e) => `
|
|
564
564
|
.commit-id,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { E as e, P as t, R as n, t as r } from "./isArrayLikeObject-
|
|
2
|
-
import { D as i, S as a, a as o, i as s, n as c, r as l, s as u, t as d } from "./_baseUniq-
|
|
3
|
-
import {
|
|
1
|
+
import { E as e, P as t, R as n, t as r } from "./isArrayLikeObject-Dqk_yOP-.js";
|
|
2
|
+
import { D as i, S as a, a as o, i as s, n as c, r as l, s as u, t as d } from "./_baseUniq-B-qU_Imh.js";
|
|
3
|
+
import { o as f } from "./mermaid.core-BVGVwWcu.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/union.js
|
|
5
5
|
var p = e(function(e) {
|
|
6
6
|
return d(a(e, 1, r, !0));
|
|
7
7
|
}), m = "\0", h = "\0", g = "", _ = class {
|
|
8
8
|
constructor(e = {}) {
|
|
9
|
-
this._isDirected = Object.prototype.hasOwnProperty.call(e, "directed")
|
|
9
|
+
this._isDirected = !Object.prototype.hasOwnProperty.call(e, "directed") || e.directed, this._isMultigraph = Object.prototype.hasOwnProperty.call(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = t(void 0), this._defaultEdgeLabelFn = t(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[h] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
|
|
10
10
|
}
|
|
11
11
|
isDirected() {
|
|
12
12
|
return this._isDirected;
|