@antdv-next/x 1.2.0 → 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/actions/ActionsFeedback.js +1 -1
- package/dist/actions/ActionsItem.js +1 -1
- package/dist/attachments/index.js +1 -2
- 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 +76 -4
- package/dist/code-highlighter/style/index.js +54 -29
- package/dist/folder/Folder.js +2 -1
- package/dist/index.umd.js +82 -49
- 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/theme/themes/seed.js +3 -0
- package/dist/thought-chain/ThoughtChain.js +2 -2
- package/es/Serializer-Sc9uEpQk.js +262 -0
- package/es/{_basePickBy-DFHEGO2M.js → _basePickBy-BL4DHvHb.js} +2 -2
- package/es/{_baseUniq-BlS7rXTs.js → _baseUniq-CyFYmJd-.js} +3 -3
- package/es/antdv-next-x.esm.js +2708 -2688
- package/es/{arc-BuXEd18J.js → arc-NI3ROx5X.js} +2 -2
- package/es/architecture-PBZL5I3N-M9p1teRv.js +3 -0
- package/es/{architectureDiagram-2XIMDMQ5-CmfsCwJk.js → architectureDiagram-2XIMDMQ5-zW5aGalx.js} +52 -52
- package/es/{blockDiagram-WCTKOSBZ-lJAan65A.js → blockDiagram-WCTKOSBZ-0QujSG-h.js} +20 -18
- package/es/{c4Diagram-IC4MRINW-B1c2x_1Q.js → c4Diagram-IC4MRINW-B7y07WFn.js} +6 -6
- package/es/{channel-DFgF_2F7.js → channel-CxLj88Pg.js} +1 -1
- package/es/{chunk-4BX2VUAB-J2N81Fpp.js → chunk-4BX2VUAB-CprgMM4u.js} +1 -1
- package/es/{chunk-55IACEB6-DGtfGRgi.js → chunk-55IACEB6-BpkEkHy8.js} +1 -1
- package/es/{chunk-7R4GIKGN-QT6IorJ_.js → chunk-7R4GIKGN-mKY502R8.js} +8 -6
- package/es/{chunk-FMBD7UC4-DCcRjunY.js → chunk-FMBD7UC4-B88neS61.js} +1 -1
- package/es/{chunk-GEFDOKGD-BWpC-zoH.js → chunk-GEFDOKGD-oBEpn5hN.js} +7 -7
- package/es/{chunk-GLR3WWYH-DiXcKb5Y.js → chunk-GLR3WWYH-B2D9kjtF.js} +9 -9
- package/es/{chunk-HHEYEP7N-Cxc7E4dX.js → chunk-HHEYEP7N-DcZkCke2.js} +2 -2
- package/es/{chunk-JSJVCQXG-D8_heHOp.js → chunk-JSJVCQXG-BbVOaXjl.js} +3 -3
- package/es/{chunk-KX2RTZJC-D5cc4rj6.js → chunk-KX2RTZJC-Dw3D7Wrw.js} +2 -2
- package/es/{chunk-KYZI473N-BHJ3T5Zv.js → chunk-KYZI473N-33-uii7Y.js} +7 -7
- package/es/{chunk-MX3YWQON-BxE-Aq9c.js → chunk-MX3YWQON-D4cz36rq.js} +1 -1
- package/es/{chunk-NQ4KR5QH-EYQBXkqP.js → chunk-NQ4KR5QH-CprADZhD.js} +7 -7
- package/es/{chunk-O4XLMI2P-qjOoGpnx.js → chunk-O4XLMI2P-DBAvycZ-.js} +10 -10
- package/es/{chunk-PQ6SQG4A-D3jtNCWN.js → chunk-PQ6SQG4A-BITIwHAS.js} +2 -2
- package/es/{chunk-PU5JKC2W-DdP8BS-S.js → chunk-PU5JKC2W-DIl8TkGX.js} +5 -5
- package/es/{chunk-QZHKN3VN-CW3cFN-h.js → chunk-QZHKN3VN-Cg0ROtzE.js} +1 -1
- package/es/{chunk-WL4C6EOR-BDbxJyGk.js → chunk-WL4C6EOR-Bhp_3T_o.js} +12 -10
- package/es/{chunk-XPW4576I-B0KVSHwE.js → chunk-XPW4576I-255j2Rgd.js} +2 -2
- package/es/{chunk-XZSTWKYB-CucN1XvM.js → chunk-XZSTWKYB-kjAdbx6i.js} +1589 -1541
- package/es/{chunk-YBOYWFTD-CvaddD9G.js → chunk-YBOYWFTD-C2IdGsg8.js} +3 -3
- package/es/classDiagram-VBA2DB6C-BQonl2jX.js +29 -0
- package/es/classDiagram-v2-RAHNMMFH-C9U3lqTc.js +29 -0
- package/es/{clone-r3YukIBB.js → clone-DIGEZsKS.js} +1 -1
- package/es/{cose-bilkent-S5V4N54A-B5OQuIhl.js → cose-bilkent-S5V4N54A-Cyxewg9z.js} +20 -20
- package/es/css-CRY9BUqw.js +2 -0
- package/es/{cytoscape.esm-i2CZcWd-.js → cytoscape.esm-DBPri10E.js} +121 -124
- package/es/{dagre-5aGJFKmT.js → dagre-BHOjJWBG.js} +6 -6
- package/es/{dagre-KLK3FWXG-BI5QQMXo.js → dagre-KLK3FWXG-CnJPDj7X.js} +18 -15
- package/es/{diagram-E7M64L7V-Dz62Vz_a.js → diagram-E7M64L7V-CBOCgbMd.js} +63 -63
- package/es/{diagram-IFDJBPK2-9fjvFkSc.js → diagram-IFDJBPK2-BtubJp0H.js} +20 -20
- package/es/{diagram-P4PSJMXO-BlX6jFjZ.js → diagram-P4PSJMXO-CI30BBYG.js} +17 -17
- package/es/{dist-BX_roQzC.js → dist-BpM0Gz7z.js} +1 -1
- package/es/{erDiagram-INFDFZHY-BcRXu8Cp.js → erDiagram-INFDFZHY-C8hYuPxm.js} +14 -14
- package/es/{flowDiagram-PKNHOUZH-UeyfgU8z.js → flowDiagram-PKNHOUZH-D5vrDkks.js} +18 -18
- package/es/{ganttDiagram-A5KZAMGK-txCzqgQ5.js → ganttDiagram-A5KZAMGK-BmIEQBGq.js} +25 -26
- package/es/gitGraph-HDMCJU4V-x8fnR2OX.js +3 -0
- package/es/{gitGraphDiagram-K3NZZRJ6-DghWYaFU.js → gitGraphDiagram-K3NZZRJ6-PO0pMJD3.js} +20 -20
- package/es/{graphlib-dRkI1OCL.js → graphlib-DqWOhV4K.js} +4 -4
- package/es/{html-CWvNBSxv.js → html-C4rrmxbP.js} +2 -2
- package/es/info-3K5VOQVL-CRBCVSej.js +3 -0
- package/es/{infoDiagram-LFFYTUFH-CA-vlAvP.js → infoDiagram-LFFYTUFH-DOcKfbXf.js} +9 -9
- package/es/{isArrayLikeObject-jl2bjkAJ.js → isArrayLikeObject-Dqk_yOP-.js} +5 -4
- package/es/{isEmpty-CmA-HYrg.js → isEmpty-BJdINx-6.js} +1 -1
- package/es/{ishikawaDiagram-PHBUUO56-DjdpS9Lb.js → ishikawaDiagram-PHBUUO56-DM1elxPS.js} +6 -6
- package/es/javascript--0qAxhnA.js +2 -0
- package/es/{journeyDiagram-4ABVD52K-CIJfC1fp.js → journeyDiagram-4ABVD52K-BnYWOH1P.js} +9 -9
- package/es/{kanban-definition-K7BYSVSG-CC2vwGck.js → kanban-definition-K7BYSVSG-Ys7nAs7y.js} +11 -11
- package/es/{katex-DCMiIo1z.js → katex-olkKUfKs.js} +16 -16
- package/es/{line-Cu9NTacD.js → line-Cm2n2y9Z.js} +3 -3
- package/es/{linear-C0rAYYmp.js → linear-D-yDc6KG.js} +3 -3
- package/es/mermaid-parser.core-DFgQn74w.js +259 -0
- package/es/{mermaid.core-Bvy_Q6Hu.js → mermaid.core-BzgA0NbC.js} +45 -45
- package/es/{mindmap-definition-YRQLILUH-BzTYDYmK.js → mindmap-definition-YRQLILUH-Ca8psfLi.js} +14 -14
- package/es/{ordinal-F3U6aXtP.js → ordinal-95c16pGC.js} +1 -1
- package/es/packet-RMMSAZCW-CyE-elPF.js +3 -0
- package/es/{path-Dm3C8WEs.js → path-CqWAdh69.js} +4 -7
- package/es/pie-UPGHQEXC-EfdQ-_OF.js +3 -0
- package/es/{pieDiagram-SKSYHLDU-COvqE_C6.js → pieDiagram-SKSYHLDU-DhQSMJCw.js} +48 -48
- package/es/{quadrantDiagram-337W2JSQ-Dgv8ccjt.js → quadrantDiagram-337W2JSQ-jOtIC8r0.js} +4 -4
- package/es/radar-KQ55EAFF-B68vkNB4.js +3 -0
- package/es/{requirementDiagram-Z7DCOOCP-B2NyhxO-.js → requirementDiagram-Z7DCOOCP-CNngzPE4.js} +13 -13
- package/es/{chunk-WQLz0Won.js → rolldown-runtime-Dv1pqm0U.js} +8 -1
- package/es/{rough.esm-BhGP2Udb.js → rough.esm-D1ibUQD-.js} +1 -1
- package/es/{sankeyDiagram-WA2Y5GQK-BfnH_gpl.js → sankeyDiagram-WA2Y5GQK-BgsyVNdD.js} +4 -4
- package/es/{sequenceDiagram-2WXFIKYE-DXssVQOF.js → sequenceDiagram-2WXFIKYE-BAc5PP9P.js} +98 -98
- package/es/{shiki-runtime-D0MO6er5.js → shiki-runtime-BlKUZiZP.js} +944 -952
- package/es/{src-CUQ6oOYk.js → src-3T61hYex.js} +26 -26
- package/es/{stateDiagram-RAJIS63D-DvDLfupV.js → stateDiagram-RAJIS63D-153LjStx.js} +16 -16
- package/es/stateDiagram-v2-FVOUBMTO-BXEvy1YD.js +27 -0
- package/es/{timeline-definition-YZTLITO2-ErcRjbZf.js → timeline-definition-YZTLITO2-BLhlkb_X.js} +4 -4
- package/es/treemap-KZPCXAKY-Dg_ShzRB.js +3 -0
- package/es/{vennDiagram-LZ73GAT5-CDTZUtc8.js → vennDiagram-LZ73GAT5-BTYWphmf.js} +8 -8
- package/es/{xychartDiagram-JWTSCODW-Y21jBOTg.js → xychartDiagram-JWTSCODW-B9Nlu6S_.js} +10 -10
- 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-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/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/javascript-CjdDmufJ.js +0 -2
- package/es/mermaid-parser.core-7Wn2L29P.js +0 -59
- 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/{defaultLocale-bckJcYh1.js → defaultLocale-aSMWOJHq.js} +0 -0
- /package/es/{init-B75p2clj.js → init-Co4dhKfe.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,5 +1,5 @@
|
|
|
1
|
-
import { n as e, t } from "./path-
|
|
2
|
-
import { a as n, c as r, d as i, f as a, i as o, l as s, n as c, p as l, r as u, s as d, t as f, u as p } from "./math-
|
|
1
|
+
import { n as e, t } from "./path-CqWAdh69.js";
|
|
2
|
+
import { a as n, c as r, d as i, f as a, i as o, l as s, n as c, p as l, r as u, s as d, t as f, u as p } from "./math-BZ_bUCIA.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.js
|
|
4
4
|
function m(e) {
|
|
5
5
|
return e.innerRadius;
|
package/es/{architectureDiagram-2XIMDMQ5-CmfsCwJk.js → architectureDiagram-2XIMDMQ5-zW5aGalx.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { o as e, t } from "./
|
|
2
|
-
import { g as n, h as r, p as i } from "./src-
|
|
3
|
-
import { r as a, s as o } from "./chunk-GEFDOKGD-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as T } from "./
|
|
9
|
-
import { t as E } from "./cytoscape.esm-
|
|
1
|
+
import { o as e, t } from "./rolldown-runtime-Dv1pqm0U.js";
|
|
2
|
+
import { g as n, h as r, p as i } from "./src-3T61hYex.js";
|
|
3
|
+
import { r as a, s as o } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
4
|
+
import { t as s } from "./mermaid-parser.core-DFgQn74w.js";
|
|
5
|
+
import { B as c, C as l, K as u, L as d, V as f, W as p, _ as m, a as h, b as g, d as _, v, y } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
6
|
+
import { t as b } from "./chunk-HHEYEP7N-DcZkCke2.js";
|
|
7
|
+
import { a as x, i as S, n as C, r as w } from "./chunk-PU5JKC2W-DIl8TkGX.js";
|
|
8
|
+
import { t as T } from "./chunk-4BX2VUAB-CprgMM4u.js";
|
|
9
|
+
import { t as E } from "./cytoscape.esm-DBPri10E.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.js
|
|
11
11
|
var D = /* @__PURE__ */ t(((e, t) => {
|
|
12
12
|
(function(n, r) {
|
|
@@ -152,7 +152,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
152
152
|
}, l.prototype.getEdgesBetween = function(e) {
|
|
153
153
|
var t = [], n = this;
|
|
154
154
|
return n.edges.forEach(function(r) {
|
|
155
|
-
if (
|
|
155
|
+
if (r.source != n && r.target != n) throw "Incorrect edge source and/or target";
|
|
156
156
|
(r.target == e || r.source == e) && t.push(r);
|
|
157
157
|
}), t;
|
|
158
158
|
}, l.prototype.getNeighborsList = function() {
|
|
@@ -275,14 +275,14 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
275
275
|
} else {
|
|
276
276
|
var i = e;
|
|
277
277
|
if (!(this.getNodes().indexOf(t) > -1 && this.getNodes().indexOf(n) > -1)) throw "Source or target not in graph!";
|
|
278
|
-
if (
|
|
278
|
+
if (t.owner != n.owner || t.owner != this) throw "Both owners must be this graph!";
|
|
279
279
|
return t.owner == n.owner ? (i.source = t, i.target = n, i.isInterGraph = !1, this.getEdges().push(i), t.edges.push(i), n != t && n.edges.push(i), i) : null;
|
|
280
280
|
}
|
|
281
281
|
}, f.prototype.remove = function(e) {
|
|
282
282
|
var t = e;
|
|
283
283
|
if (e instanceof s) {
|
|
284
284
|
if (t == null) throw "Node is null!";
|
|
285
|
-
if (
|
|
285
|
+
if (t.owner == null || t.owner != this) throw "Owner graph is invalid!";
|
|
286
286
|
if (this.graphManager == null) throw "Owner graph manager is invalid!";
|
|
287
287
|
for (var n = t.edges.slice(), r, i = n.length, a = 0; a < i; a++) r = n[a], r.isInterGraph ? this.graphManager.remove(r) : r.source.owner.remove(r);
|
|
288
288
|
var o = this.nodes.indexOf(t);
|
|
@@ -291,8 +291,8 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
291
291
|
} else if (e instanceof c) {
|
|
292
292
|
var r = e;
|
|
293
293
|
if (r == null) throw "Edge is null!";
|
|
294
|
-
if (
|
|
295
|
-
if (
|
|
294
|
+
if (r.source == null || r.target == null) throw "Source and/or target is null!";
|
|
295
|
+
if (r.source.owner == null || r.target.owner == null || r.source.owner != this || r.target.owner != this) throw "Source and/or target owner is invalid!";
|
|
296
296
|
var l = r.source.edges.indexOf(r), u = r.target.edges.indexOf(r);
|
|
297
297
|
if (!(l > -1 && u > -1)) throw "Source and/or target doesn't know this edge!";
|
|
298
298
|
r.source.edges.splice(l, 1), r.target != r.source && r.target.edges.splice(u, 1);
|
|
@@ -372,12 +372,12 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
372
372
|
} else {
|
|
373
373
|
i = n, r = t, n = e;
|
|
374
374
|
var a = r.getOwner(), o = i.getOwner();
|
|
375
|
-
if (
|
|
376
|
-
if (
|
|
375
|
+
if (a == null || a.getGraphManager() != this) throw "Source not in this graph mgr!";
|
|
376
|
+
if (o == null || o.getGraphManager() != this) throw "Target not in this graph mgr!";
|
|
377
377
|
if (a == o) return n.isInterGraph = !1, a.add(n, r, i);
|
|
378
378
|
if (n.isInterGraph = !0, n.source = r, n.target = i, this.edges.indexOf(n) > -1) throw "Edge already in inter-graph edge list!";
|
|
379
|
-
if (this.edges.push(n),
|
|
380
|
-
if (
|
|
379
|
+
if (this.edges.push(n), n.source == null || n.target == null) throw "Edge source and/or target is null!";
|
|
380
|
+
if (n.source.edges.indexOf(n) != -1 || n.target.edges.indexOf(n) != -1) throw "Edge already in source and/or target incidency list!";
|
|
381
381
|
return n.source.edges.push(n), n.target.edges.push(n), n;
|
|
382
382
|
}
|
|
383
383
|
}, a.prototype.remove = function(e) {
|
|
@@ -399,10 +399,10 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
399
399
|
} else if (e instanceof i) {
|
|
400
400
|
if (a = e, a == null) throw "Edge is null!";
|
|
401
401
|
if (!a.isInterGraph) throw "Not an inter-graph edge!";
|
|
402
|
-
if (
|
|
403
|
-
if (
|
|
402
|
+
if (a.source == null || a.target == null) throw "Source and/or target is null!";
|
|
403
|
+
if (a.source.edges.indexOf(a) == -1 || a.target.edges.indexOf(a) == -1) throw "Source and/or target doesn't know this edge!";
|
|
404
404
|
var u = a.source.edges.indexOf(a);
|
|
405
|
-
if (a.source.edges.splice(u, 1), u = a.target.edges.indexOf(a), a.target.edges.splice(u, 1),
|
|
405
|
+
if (a.source.edges.splice(u, 1), u = a.target.edges.indexOf(a), a.target.edges.splice(u, 1), a.source.owner == null || a.source.owner.getGraphManager() == null) throw "Edge owner graph or owner graph manager is null!";
|
|
406
406
|
if (a.source.owner.getGraphManager().edges.indexOf(a) == -1) throw "Not in owner graph manager's edge list!";
|
|
407
407
|
var u = a.source.owner.getGraphManager().edges.indexOf(a);
|
|
408
408
|
a.source.owner.getGraphManager().edges.splice(u, 1);
|
|
@@ -444,7 +444,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
444
444
|
}, a.prototype.getLayout = function() {
|
|
445
445
|
return this.layout;
|
|
446
446
|
}, a.prototype.isOneAncestorOfOther = function(e, t) {
|
|
447
|
-
if (
|
|
447
|
+
if (e == null || t == null) throw "assert failed";
|
|
448
448
|
if (e == t) return !0;
|
|
449
449
|
var n = e.getOwner(), r;
|
|
450
450
|
do {
|
|
@@ -841,7 +841,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
841
841
|
return this.graphManager.getRoot() == null || this.graphManager.getRoot().getNodes().length == 0 || this.graphManager.includesInvalidEdge();
|
|
842
842
|
}, f.prototype.runLayout = function() {
|
|
843
843
|
this.isLayoutFinished = !1, this.tilingPreLayout && this.tilingPreLayout(), this.initParameters();
|
|
844
|
-
var e = this.checkLayoutSuccess()
|
|
844
|
+
var e = !this.checkLayoutSuccess() && this.layout();
|
|
845
845
|
return i.ANIMATE === "during" ? !1 : (e && (this.isSubLayout || this.doPostLayout()), this.tilingPostLayout && this.tilingPostLayout(), this.isLayoutFinished = !0, e);
|
|
846
846
|
}, f.prototype.doPostLayout = function() {
|
|
847
847
|
this.incremental || this.transform(), this.update();
|
|
@@ -1054,7 +1054,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
1054
1054
|
}, l.prototype.calcSpringForces = function() {
|
|
1055
1055
|
for (var e = this.getAllEdges(), t, n = 0; n < e.length; n++) t = e[n], this.calcSpringForce(t, t.idealLength);
|
|
1056
1056
|
}, l.prototype.calcRepulsionForces = function() {
|
|
1057
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, t = arguments.length > 1 && arguments[1] !== void 0
|
|
1057
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n, r, i, o, s = this.getAllNodes(), c;
|
|
1058
1058
|
if (this.useFRGridVariant) for (this.totalIterations % a.GRID_CALCULATION_CHECK_PERIOD == 1 && e && this.updateGrid(), c = /* @__PURE__ */ new Set(), n = 0; n < s.length; n++) i = s[n], this.calculateRepulsionForceOfANode(i, c, e, t), c.add(i);
|
|
1059
1059
|
else for (n = 0; n < s.length; n++) for (i = s[n], r = n + 1; r < s.length; r++) o = s[r], i.getOwner() == o.getOwner() && this.calcRepulsionForce(i, o);
|
|
1060
1060
|
}, l.prototype.calcGravitationalForces = function() {
|
|
@@ -1106,7 +1106,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
1106
1106
|
var o = /* @__PURE__ */ new Set();
|
|
1107
1107
|
e.surrounding = [];
|
|
1108
1108
|
for (var s, c = this.grid, l = e.startX - 1; l < e.finishX + 2; l++) for (var u = e.startY - 1; u < e.finishY + 2; u++) if (!(l < 0 || u < 0 || l >= c.length || u >= c[0].length)) {
|
|
1109
|
-
for (var d = 0; d < c[l][u].length; d++) if (s = c[l][u][d],
|
|
1109
|
+
for (var d = 0; d < c[l][u].length; d++) if (s = c[l][u][d], e.getOwner() == s.getOwner() && e != s && !t.has(s) && !o.has(s)) {
|
|
1110
1110
|
var f = Math.abs(e.getCenterX() - s.getCenterX()) - (e.getWidth() / 2 + s.getWidth() / 2), p = Math.abs(e.getCenterY() - s.getCenterY()) - (e.getHeight() / 2 + s.getHeight() / 2);
|
|
1111
1111
|
f <= this.repulsionRange && p <= this.repulsionRange && o.add(s);
|
|
1112
1112
|
}
|
|
@@ -2374,7 +2374,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
2374
2374
|
});
|
|
2375
2375
|
var f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), m = new a();
|
|
2376
2376
|
d.forEach(function(e, r) {
|
|
2377
|
-
e == 0 ? (m.push(r), n || (t == "horizontal" ? f.set(r, c.has(r) ? l[c.get(r)] : i.get(r)) : f.set(r, c.has(r) ? u[c.get(r)] : i.get(r)))) : f.set(r, -Infinity), n && p.set(r, new Set([r]));
|
|
2377
|
+
e == 0 ? (m.push(r), n || (t == "horizontal" ? f.set(r, c.has(r) ? l[c.get(r)] : i.get(r)) : f.set(r, c.has(r) ? u[c.get(r)] : i.get(r)))) : f.set(r, -Infinity), n && p.set(r, /* @__PURE__ */ new Set([r]));
|
|
2378
2378
|
}), n && o.forEach(function(e) {
|
|
2379
2379
|
var r = [];
|
|
2380
2380
|
if (e.forEach(function(e) {
|
|
@@ -3421,15 +3421,15 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
3421
3421
|
return e.type === "service";
|
|
3422
3422
|
}, "isArchitectureService"), ne = /* @__PURE__ */ r(function(e) {
|
|
3423
3423
|
return e.type === "junction";
|
|
3424
|
-
}, "isArchitectureJunction"), re = /* @__PURE__ */ r((e) => e.data(), "edgeData"), U = /* @__PURE__ */ r((e) => e.data(), "nodeData"), W =
|
|
3424
|
+
}, "isArchitectureJunction"), re = /* @__PURE__ */ r((e) => e.data(), "edgeData"), U = /* @__PURE__ */ r((e) => e.data(), "nodeData"), W = _.architecture, G = class {
|
|
3425
3425
|
constructor() {
|
|
3426
|
-
this.nodes = {}, this.groups = {}, this.edges = [], this.registeredIds = {}, this.elements = {}, this.setAccTitle =
|
|
3426
|
+
this.nodes = {}, this.groups = {}, this.edges = [], this.registeredIds = {}, this.elements = {}, this.setAccTitle = f, this.getAccTitle = v, this.setDiagramTitle = p, this.getDiagramTitle = l, this.getAccDescription = m, this.setAccDescription = c, this.clear();
|
|
3427
3427
|
}
|
|
3428
3428
|
static {
|
|
3429
3429
|
r(this, "ArchitectureDB");
|
|
3430
3430
|
}
|
|
3431
3431
|
clear() {
|
|
3432
|
-
this.nodes = {}, this.groups = {}, this.edges = [], this.registeredIds = {}, this.dataStructures = void 0, this.elements = {},
|
|
3432
|
+
this.nodes = {}, this.groups = {}, this.edges = [], this.registeredIds = {}, this.dataStructures = void 0, this.elements = {}, h();
|
|
3433
3433
|
}
|
|
3434
3434
|
addService({ id: e, icon: t, in: n, title: r, iconText: i }) {
|
|
3435
3435
|
if (this.registeredIds[e] !== void 0) throw Error(`The service id [${e}] is already in use by another ${this.registeredIds[e]}`);
|
|
@@ -3566,14 +3566,14 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
3566
3566
|
getConfig() {
|
|
3567
3567
|
return a({
|
|
3568
3568
|
...W,
|
|
3569
|
-
...
|
|
3569
|
+
...y().architecture
|
|
3570
3570
|
});
|
|
3571
3571
|
}
|
|
3572
3572
|
getConfigField(e) {
|
|
3573
3573
|
return this.getConfig()[e];
|
|
3574
3574
|
}
|
|
3575
3575
|
}, ie = /* @__PURE__ */ r((e, t) => {
|
|
3576
|
-
|
|
3576
|
+
T(e, t), e.groups.map((e) => t.addGroup(e)), e.services.map((e) => t.addService({
|
|
3577
3577
|
...e,
|
|
3578
3578
|
type: "service"
|
|
3579
3579
|
})), e.junctions.map((e) => t.addJunction({
|
|
@@ -3583,7 +3583,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
3583
3583
|
}, "populateDb"), K = {
|
|
3584
3584
|
parser: { yy: void 0 },
|
|
3585
3585
|
parse: /* @__PURE__ */ r(async (e) => {
|
|
3586
|
-
let t = await
|
|
3586
|
+
let t = await s("architecture", e);
|
|
3587
3587
|
n.debug(t);
|
|
3588
3588
|
let r = K.parser?.yy;
|
|
3589
3589
|
if (!(r instanceof G)) throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
|
|
@@ -3630,32 +3630,32 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
3630
3630
|
disk: { body: J("<rect x=\"20\" y=\"15\" width=\"40\" height=\"50\" rx=\"1\" ry=\"1\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><ellipse cx=\"24\" cy=\"19.17\" rx=\".8\" ry=\".83\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><ellipse cx=\"56\" cy=\"19.17\" rx=\".8\" ry=\".83\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><ellipse cx=\"24\" cy=\"60.83\" rx=\".8\" ry=\".83\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><ellipse cx=\"56\" cy=\"60.83\" rx=\".8\" ry=\".83\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><ellipse cx=\"40\" cy=\"33.75\" rx=\"14\" ry=\"14.58\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><ellipse cx=\"40\" cy=\"33.75\" rx=\"4\" ry=\"4.17\" style=\"fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><path d=\"m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z\" style=\"fill: #fff; stroke-width: 0px;\"/>") },
|
|
3631
3631
|
internet: { body: J("<circle cx=\"40\" cy=\"40\" r=\"22.5\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><line x1=\"40\" y1=\"17.5\" x2=\"40\" y2=\"62.5\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><line x1=\"17.5\" y1=\"40\" x2=\"62.5\" y2=\"40\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><path d=\"m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><path d=\"m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><line x1=\"19.75\" y1=\"30.1\" x2=\"60.25\" y2=\"30.1\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/><line x1=\"19.75\" y1=\"49.9\" x2=\"60.25\" y2=\"49.9\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/>") },
|
|
3632
3632
|
cloud: { body: J("<path d=\"m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z\" style=\"fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;\"/>") },
|
|
3633
|
-
unknown:
|
|
3633
|
+
unknown: x,
|
|
3634
3634
|
blank: { body: J("") }
|
|
3635
3635
|
}
|
|
3636
3636
|
}, ae = /* @__PURE__ */ r(async function(e, t, n) {
|
|
3637
3637
|
let r = n.getConfigField("padding"), i = n.getConfigField("iconSize"), a = i / 2, s = i / 6, c = s / 2;
|
|
3638
3638
|
await Promise.all(t.edges().map(async (t) => {
|
|
3639
|
-
let { source: i, sourceDir: l, sourceArrow: u, sourceGroup: d, target: f, targetDir: p, targetArrow: m, targetGroup:
|
|
3640
|
-
if (d && (F(l) ? v += l === "L" ? -T : T : y += l === "T" ? -T : T + 18),
|
|
3639
|
+
let { source: i, sourceDir: l, sourceArrow: u, sourceGroup: d, target: f, targetDir: p, targetArrow: m, targetGroup: h, label: _ } = re(t), { x: v, y } = t[0].sourceEndpoint(), { x: b, y: x } = t[0].midpoint(), { x: S, y: w } = t[0].targetEndpoint(), T = r + 4;
|
|
3640
|
+
if (d && (F(l) ? v += l === "L" ? -T : T : y += l === "T" ? -T : T + 18), h && (F(p) ? S += p === "L" ? -T : T : w += p === "T" ? -T : T + 18), !d && n.getNode(i)?.type === "junction" && (F(l) ? v += l === "L" ? a : -a : y += l === "T" ? a : -a), !h && n.getNode(f)?.type === "junction" && (F(p) ? S += p === "L" ? a : -a : w += p === "T" ? a : -a), t[0]._private.rscratch) {
|
|
3641
3641
|
let t = e.insert("g");
|
|
3642
|
-
if (t.insert("path").attr("d", `M ${v},${y} L ${b},${x} L${
|
|
3642
|
+
if (t.insert("path").attr("d", `M ${v},${y} L ${b},${x} L${S},${w} `).attr("class", "edge").attr("id", o(i, f, { prefix: "L" })), u) {
|
|
3643
3643
|
let e = F(l) ? M[l](v, s) : v - c, n = I(l) ? M[l](y, s) : y - c;
|
|
3644
3644
|
t.insert("polygon").attr("points", j[l](s)).attr("transform", `translate(${e},${n})`).attr("class", "arrow");
|
|
3645
3645
|
}
|
|
3646
3646
|
if (m) {
|
|
3647
|
-
let e = F(p) ? M[p](
|
|
3647
|
+
let e = F(p) ? M[p](S, s) : S - c, n = I(p) ? M[p](w, s) : w - c;
|
|
3648
3648
|
t.insert("polygon").attr("points", j[p](s)).attr("transform", `translate(${e},${n})`).attr("class", "arrow");
|
|
3649
3649
|
}
|
|
3650
3650
|
if (_) {
|
|
3651
3651
|
let e = L(l, p) ? "XY" : F(l) ? "X" : "Y", n = 0;
|
|
3652
|
-
n = e === "X" ? Math.abs(v -
|
|
3652
|
+
n = e === "X" ? Math.abs(v - S) : e === "Y" ? Math.abs(y - w) / 1.5 : Math.abs(v - S) / 2;
|
|
3653
3653
|
let r = t.append("g");
|
|
3654
|
-
if (await
|
|
3654
|
+
if (await C(r, _, {
|
|
3655
3655
|
useHtmlLabels: !1,
|
|
3656
3656
|
width: n,
|
|
3657
3657
|
classes: "architecture-service-label"
|
|
3658
|
-
},
|
|
3658
|
+
}, g()), r.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle"), e === "X") r.attr("transform", "translate(" + b + ", " + x + ")");
|
|
3659
3659
|
else if (e === "Y") r.attr("transform", "translate(" + b + ", " + x + ") rotate(-90)");
|
|
3660
3660
|
else if (e === "XY") {
|
|
3661
3661
|
let e = B(l, p);
|
|
@@ -3683,7 +3683,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
3683
3683
|
let f = e.append("g"), p = l, m = u;
|
|
3684
3684
|
if (o.icon) {
|
|
3685
3685
|
let e = f.append("g");
|
|
3686
|
-
e.html(`<g>${await
|
|
3686
|
+
e.html(`<g>${await w(o.icon, {
|
|
3687
3687
|
height: r,
|
|
3688
3688
|
width: r,
|
|
3689
3689
|
fallbackPrefix: Y.prefix
|
|
@@ -3691,40 +3691,40 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
3691
3691
|
}
|
|
3692
3692
|
if (o.label) {
|
|
3693
3693
|
let e = f.append("g");
|
|
3694
|
-
await
|
|
3694
|
+
await C(e, o.label, {
|
|
3695
3695
|
useHtmlLabels: !1,
|
|
3696
3696
|
width: c,
|
|
3697
3697
|
classes: "architecture-service-label"
|
|
3698
|
-
},
|
|
3698
|
+
}, g()), e.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "start").attr("text-anchor", "start"), e.attr("transform", "translate(" + (p + a + 4) + ", " + (m + a + 2) + ")");
|
|
3699
3699
|
}
|
|
3700
3700
|
n.setElementForId(o.id, d);
|
|
3701
3701
|
}
|
|
3702
3702
|
}));
|
|
3703
3703
|
}, "drawGroups"), oe = /* @__PURE__ */ r(async function(e, t, n) {
|
|
3704
|
-
let r =
|
|
3704
|
+
let r = g();
|
|
3705
3705
|
for (let i of n) {
|
|
3706
3706
|
let n = t.append("g"), a = e.getConfigField("iconSize");
|
|
3707
3707
|
if (i.title) {
|
|
3708
3708
|
let e = n.append("g");
|
|
3709
|
-
await
|
|
3709
|
+
await C(e, i.title, {
|
|
3710
3710
|
useHtmlLabels: !1,
|
|
3711
3711
|
width: a * 1.5,
|
|
3712
3712
|
classes: "architecture-service-label"
|
|
3713
3713
|
}, r), e.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle"), e.attr("transform", "translate(" + a / 2 + ", " + a + ")");
|
|
3714
3714
|
}
|
|
3715
3715
|
let o = n.append("g");
|
|
3716
|
-
if (i.icon) o.html(`<g>${await
|
|
3716
|
+
if (i.icon) o.html(`<g>${await w(i.icon, {
|
|
3717
3717
|
height: a,
|
|
3718
3718
|
width: a,
|
|
3719
3719
|
fallbackPrefix: Y.prefix
|
|
3720
3720
|
})}</g>`);
|
|
3721
3721
|
else if (i.iconText) {
|
|
3722
|
-
o.html(`<g>${await
|
|
3722
|
+
o.html(`<g>${await w("blank", {
|
|
3723
3723
|
height: a,
|
|
3724
3724
|
width: a,
|
|
3725
3725
|
fallbackPrefix: Y.prefix
|
|
3726
3726
|
})}</g>`);
|
|
3727
|
-
let e = o.append("g").append("foreignObject").attr("width", a).attr("height", a).append("div").attr("class", "node-icon-text").attr("style", `height: ${a}px;`).append("div").html(
|
|
3727
|
+
let e = o.append("g").append("foreignObject").attr("width", a).attr("height", a).append("div").attr("class", "node-icon-text").attr("style", `height: ${a}px;`).append("div").html(d(i.iconText, r)), t = parseInt(window.getComputedStyle(e.node(), null).getPropertyValue("font-size").replace(/\D/g, "")) ?? 16;
|
|
3728
3728
|
e.attr("style", `-webkit-line-clamp: ${Math.floor((a - 2) / t)};`);
|
|
3729
3729
|
} else o.append("path").attr("class", "node-bkg").attr("id", "node-" + i.id).attr("d", `M0,${a} V5 Q0,0 5,0 H${a - 5} Q${a},0 ${a},5 V${a} Z`);
|
|
3730
3730
|
n.attr("id", `service-${i.id}`).attr("class", "architecture-service");
|
|
@@ -3740,7 +3740,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
|
|
|
3740
3740
|
r.width = a, r.height = o, e.setElementForId(n.id, r);
|
|
3741
3741
|
});
|
|
3742
3742
|
}, "drawJunctions");
|
|
3743
|
-
|
|
3743
|
+
S([{
|
|
3744
3744
|
name: Y.prefix,
|
|
3745
3745
|
icons: Y
|
|
3746
3746
|
}]), E.use(k.default);
|
|
@@ -4030,14 +4030,14 @@ var he = {
|
|
|
4030
4030
|
return new G();
|
|
4031
4031
|
},
|
|
4032
4032
|
renderer: { draw: /* @__PURE__ */ r(async (e, t, n, r) => {
|
|
4033
|
-
let i = r.db, a = i.getServices(), o = i.getJunctions(), s = i.getGroups(), c = i.getEdges(),
|
|
4033
|
+
let i = r.db, a = i.getServices(), o = i.getJunctions(), s = i.getGroups(), c = i.getEdges(), l = i.getDataStructures(), d = b(t), f = d.append("g");
|
|
4034
4034
|
f.attr("class", "architecture-edges");
|
|
4035
4035
|
let p = d.append("g");
|
|
4036
4036
|
p.attr("class", "architecture-services");
|
|
4037
4037
|
let m = d.append("g");
|
|
4038
4038
|
m.attr("class", "architecture-groups"), await oe(i, p, a), Z(i, p, o);
|
|
4039
|
-
let h = await me(a, o, s, c, i,
|
|
4040
|
-
await ae(f, h, i), await X(m, h, i), le(i, h),
|
|
4039
|
+
let h = await me(a, o, s, c, i, l);
|
|
4040
|
+
await ae(f, h, i), await X(m, h, i), le(i, h), u(void 0, d, i.getConfigField("padding"), i.getConfigField("useMaxWidth"));
|
|
4041
4041
|
}, "draw") },
|
|
4042
4042
|
styles: q
|
|
4043
4043
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
2
|
-
import { T as r, c as i, h as a, i as o } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { t as s } from "./clone-
|
|
4
|
-
import { t as c } from "./graphlib-
|
|
5
|
-
import { D as l, L as u, a as d, b as f, c as p, nt as m, s as h, w as g, y as _ } from "./chunk-7R4GIKGN-
|
|
6
|
-
import { t as v } from "./channel-
|
|
7
|
-
import { t as y } from "./line-
|
|
8
|
-
import { n as b } from "./chunk-PU5JKC2W-
|
|
9
|
-
import { t as x } from "./chunk-FMBD7UC4-
|
|
10
|
-
import { n as S, t as C } from "./chunk-MX3YWQON-
|
|
11
|
-
import { n as w, t as T } from "./chunk-YBOYWFTD-
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-3T61hYex.js";
|
|
2
|
+
import { T as r, c as i, h as a, i as o } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { t as s } from "./clone-DIGEZsKS.js";
|
|
4
|
+
import { t as c } from "./graphlib-DqWOhV4K.js";
|
|
5
|
+
import { D as l, L as u, a as d, b as f, c as p, nt as m, s as h, w as g, y as _ } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
6
|
+
import { t as v } from "./channel-CxLj88Pg.js";
|
|
7
|
+
import { t as y } from "./line-Cm2n2y9Z.js";
|
|
8
|
+
import { n as b } from "./chunk-PU5JKC2W-DIl8TkGX.js";
|
|
9
|
+
import { t as x } from "./chunk-FMBD7UC4-B88neS61.js";
|
|
10
|
+
import { n as S, t as C } from "./chunk-MX3YWQON-D4cz36rq.js";
|
|
11
|
+
import { n as w, t as T } from "./chunk-YBOYWFTD-C2IdGsg8.js";
|
|
12
12
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-WCTKOSBZ.mjs
|
|
13
13
|
var E = (function() {
|
|
14
14
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -226,9 +226,9 @@ var E = (function() {
|
|
|
226
226
|
};
|
|
227
227
|
break;
|
|
228
228
|
case 18:
|
|
229
|
-
let t = parseInt(a[s]);
|
|
229
|
+
let t = parseInt(a[s]), n = r.generateId();
|
|
230
230
|
this.$ = {
|
|
231
|
-
id:
|
|
231
|
+
id: n,
|
|
232
232
|
type: "space",
|
|
233
233
|
label: "",
|
|
234
234
|
width: t,
|
|
@@ -237,7 +237,7 @@ var E = (function() {
|
|
|
237
237
|
break;
|
|
238
238
|
case 23:
|
|
239
239
|
r.getLogger().debug("Rule: (nodeStatement link node) ", a[s - 2], a[s - 1], a[s], " typestr: ", a[s - 1].edgeTypeStr);
|
|
240
|
-
let
|
|
240
|
+
let i = r.edgeStrToEdgeData(a[s - 1].edgeTypeStr);
|
|
241
241
|
this.$ = [
|
|
242
242
|
{
|
|
243
243
|
id: a[s - 2].id,
|
|
@@ -252,7 +252,7 @@ var E = (function() {
|
|
|
252
252
|
label: a[s - 1].label,
|
|
253
253
|
type: "edge",
|
|
254
254
|
directions: a[s].directions,
|
|
255
|
-
arrowTypeEnd:
|
|
255
|
+
arrowTypeEnd: i,
|
|
256
256
|
arrowTypeStart: "arrow_open"
|
|
257
257
|
},
|
|
258
258
|
{
|
|
@@ -295,8 +295,10 @@ var E = (function() {
|
|
|
295
295
|
};
|
|
296
296
|
break;
|
|
297
297
|
case 28:
|
|
298
|
-
r.getLogger().debug("Rule: blockStatement : ", a[s - 2], a[s - 1], a[s])
|
|
299
|
-
|
|
298
|
+
r.getLogger().debug("Rule: blockStatement : ", a[s - 2], a[s - 1], a[s]);
|
|
299
|
+
let o = r.generateId();
|
|
300
|
+
this.$ = {
|
|
301
|
+
id: o,
|
|
300
302
|
type: "composite",
|
|
301
303
|
label: "",
|
|
302
304
|
children: a[s - 1]
|
|
@@ -690,7 +692,7 @@ var E = (function() {
|
|
|
690
692
|
} else return !1;
|
|
691
693
|
} else if (!this.options.flex) break;
|
|
692
694
|
}
|
|
693
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
695
|
+
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(), {
|
|
694
696
|
text: "",
|
|
695
697
|
token: null,
|
|
696
698
|
line: this.yylineno
|
|
@@ -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) {
|
|
@@ -1576,7 +1576,7 @@ var y = g(), b = (function() {
|
|
|
1576
1576
|
} else return !1;
|
|
1577
1577
|
} else if (!this.options.flex) break;
|
|
1578
1578
|
}
|
|
1579
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
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: "",
|
|
1581
1581
|
token: null,
|
|
1582
1582
|
line: this.yylineno
|
|
@@ -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: {
|
|
@@ -562,7 +562,7 @@ var Ee = C(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
562
562
|
"xlink:title",
|
|
563
563
|
"xml:space",
|
|
564
564
|
"xmlns:xlink"
|
|
565
|
-
]), Le = w(/\{\{[\w\W]*|[\w\W]*\}\}/gm), A = w(/<%[\w\W]*|[\w\W]*%>/gm), Re = w(/\$\{[\w\W]*/gm), j = w(/^data-[\-\w.\u00B7-\uFFFF]+$/), ze = w(/^aria-[\-\w]+$/), Be = w(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), M = w(/^(?:\w+script|data):/i), Ve = w(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), He = w(/^html$/i), Ue = w(/^[a-z][.\w]*(-[.\w]+)+$/i), We =
|
|
565
|
+
]), Le = w(/\{\{[\w\W]*|[\w\W]*\}\}/gm), A = w(/<%[\w\W]*|[\w\W]*%>/gm), Re = w(/\$\{[\w\W]*/gm), j = w(/^data-[\-\w.\u00B7-\uFFFF]+$/), ze = w(/^aria-[\-\w]+$/), Be = w(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), M = w(/^(?:\w+script|data):/i), Ve = w(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), He = w(/^html$/i), Ue = w(/^[a-z][.\w]*(-[.\w]+)+$/i), We = /*#__PURE__*/ Object.freeze({
|
|
566
566
|
__proto__: null,
|
|
567
567
|
ARIA_ATTR: ze,
|
|
568
568
|
ATTR_WHITESPACE: Ve,
|
|
@@ -956,11 +956,14 @@ function Ye() {
|
|
|
956
956
|
d = ye(d, e, " ");
|
|
957
957
|
}), _ && R ? _.createHTML(d) : d;
|
|
958
958
|
}, t.setConfig = function() {
|
|
959
|
-
|
|
959
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
960
|
+
yt(e), tt = !0;
|
|
960
961
|
}, t.clearConfig = function() {
|
|
961
962
|
Y = null, tt = !1;
|
|
962
963
|
}, t.isValidAttribute = function(e, t, n) {
|
|
963
|
-
|
|
964
|
+
Y || yt({});
|
|
965
|
+
let r = J(e), i = J(t);
|
|
966
|
+
return Ot(r, i, n);
|
|
964
967
|
}, t.addHook = function(e, t) {
|
|
965
968
|
typeof t == "function" && me(S[e], t);
|
|
966
969
|
}, t.removeHook = function(e, t) {
|
|
@@ -2446,14 +2449,13 @@ var Nt = /* @__PURE__ */ n((e) => (jt(), N.sanitize(e)), "removeScript"), Pt = /
|
|
|
2446
2449
|
if (!Xt(e)) return e;
|
|
2447
2450
|
if (!(Jt() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(Yt, "MathML is unsupported in this environment.");
|
|
2448
2451
|
{
|
|
2449
|
-
let { default: n } = await import("./katex-
|
|
2452
|
+
let { default: n } = await import("./katex-olkKUfKs.js"), r = t.forceLegacyMathML || !Jt() && t.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
2450
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, {
|
|
2451
2454
|
throwOnError: !0,
|
|
2452
2455
|
displayMode: !0,
|
|
2453
2456
|
output: r
|
|
2454
2457
|
}).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
|
|
2455
2458
|
}
|
|
2456
|
-
return e.replace(Yt, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
|
|
2457
2459
|
}, "renderKatexUnsanitized"), $t = /* @__PURE__ */ n(async (e, t) => Ft(await Qt(e, t), t), "renderKatexSanitized"), en = {
|
|
2458
2460
|
getRows: At,
|
|
2459
2461
|
sanitizeText: Ft,
|
|
@@ -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-
|
|
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-
|
|
3
|
-
import { I as y, f as oe, m as b, r as se, s as x } from "./chunk-7R4GIKGN-
|
|
4
|
-
import "./math-
|
|
5
|
-
import { t as ce } from "./dist-
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-3T61hYex.js";
|
|
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-mKY502R8.js";
|
|
4
|
+
import "./math-BZ_bUCIA.js";
|
|
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) {
|
|
@@ -20,7 +20,7 @@ function C(e, t, n) {
|
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_safeGet.js
|
|
22
22
|
function w(e, t) {
|
|
23
|
-
if (
|
|
23
|
+
if ((t !== "constructor" || typeof e[t] != "function") && t != "__proto__") return e[t];
|
|
24
24
|
}
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toPlainObject.js
|
|
@@ -671,7 +671,7 @@ H.prototype = {
|
|
|
671
671
|
},
|
|
672
672
|
point: function(e, t) {
|
|
673
673
|
var n = NaN;
|
|
674
|
-
if (e = +e, t = +t,
|
|
674
|
+
if (e = +e, t = +t, e !== this._x1 || t !== this._y1) {
|
|
675
675
|
switch (this._point) {
|
|
676
676
|
case 0:
|
|
677
677
|
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import { u as n } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { s as r, y as i } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { a, i as o, s } from "./chunk-KYZI473N-
|
|
5
|
-
import { a as c, i as l, n as u, r as d } from "./chunk-O4XLMI2P-
|
|
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
6
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-GLR3WWYH.mjs
|
|
7
7
|
var f = {
|
|
8
8
|
common: r,
|
|
@@ -22,11 +22,11 @@ var f = {
|
|
|
22
22
|
(/* @__PURE__ */ t(() => {
|
|
23
23
|
m([{
|
|
24
24
|
name: "dagre",
|
|
25
|
-
loader: /* @__PURE__ */ t(async () => await import("./dagre-KLK3FWXG-
|
|
26
|
-
},
|
|
25
|
+
loader: /* @__PURE__ */ t(async () => await import("./dagre-KLK3FWXG-CnJPDj7X.js"), "loader")
|
|
26
|
+
}, {
|
|
27
27
|
name: "cose-bilkent",
|
|
28
|
-
loader: /* @__PURE__ */ t(async () => await import("./cose-bilkent-S5V4N54A-
|
|
29
|
-
}]
|
|
28
|
+
loader: /* @__PURE__ */ t(async () => await import("./cose-bilkent-S5V4N54A-Cyxewg9z.js"), "loader")
|
|
29
|
+
}]);
|
|
30
30
|
}, "registerDefaultLayoutLoaders"))();
|
|
31
31
|
var h = /* @__PURE__ */ t(async (e, t) => {
|
|
32
32
|
if (!(e.layoutAlgorithm in p)) throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as e, p as t } from "./src-
|
|
2
|
-
import { b as n } from "./chunk-7R4GIKGN-
|
|
1
|
+
import { h as e, p as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { b 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-HHEYEP7N.mjs
|
|
4
4
|
var r = /* @__PURE__ */ e((e) => {
|
|
5
5
|
let { securityLevel: r } = n(), i = t("body");
|
|
@@ -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);
|