@antdv-next/x 1.0.2-beta.2 → 1.0.2-beta.4
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/Actions.js +1 -1
- package/dist/attachments/index.js +1 -1
- package/dist/conversations/index.js +1 -1
- package/dist/file-card/FileCard.js +1 -1
- package/dist/file-card/List.js +1 -1
- package/dist/index.umd.js +25 -25
- package/dist/locale/useLocale.js +1 -1
- package/dist/mermaid/Mermaid.js +1 -1
- package/dist/package.js +1 -1
- package/dist/prompts/Prompts.js +1 -1
- package/dist/sender/Sender.js +1 -1
- package/dist/sender/SenderHeader.js +1 -1
- package/dist/sender/SenderSwitch.js +1 -1
- package/dist/sources/Sources.js +1 -1
- package/dist/suggestion/Suggestion.js +1 -1
- package/dist/theme/genStyleUtils.js +1 -1
- package/dist/think/Think.js +1 -1
- package/dist/thought-chain/Item.js +1 -1
- package/dist/thought-chain/Node.js +1 -1
- package/dist/thought-chain/ThoughtChain.js +1 -1
- package/dist/welcome/index.js +1 -1
- package/dist/x-provider/hooks/use-x-provider-context.js +1 -1
- package/es/{Serializer-y_SfSPKv.js → Serializer-D1JYN1kI.js} +4 -4
- package/es/{_basePickBy-DPqob0cQ.js → _basePickBy-DFHEGO2M.js} +23 -23
- package/es/{_baseUniq-AMhRdOMz.js → _baseUniq-BlS7rXTs.js} +83 -83
- package/es/antdv-next-x.esm.js +44833 -7290
- package/es/{arc-caEkbRYF.js → arc-BuXEd18J.js} +3 -3
- package/es/architecture-PBZL5I3N-D7tS55xM.js +3 -0
- package/es/{architectureDiagram-2XIMDMQ5-ZOgJV9Kg.js → architectureDiagram-2XIMDMQ5-CmfsCwJk.js} +85 -85
- package/es/{blockDiagram-WCTKOSBZ-8iZwAKBK.js → blockDiagram-WCTKOSBZ-lJAan65A.js} +530 -530
- package/es/{c4Diagram-IC4MRINW-DrH9eRMR.js → c4Diagram-IC4MRINW-B1c2x_1Q.js} +170 -170
- package/es/channel-DFgF_2F7.js +5 -0
- package/es/{chunk-4BX2VUAB-DUVpjbJi.js → chunk-4BX2VUAB-J2N81Fpp.js} +2 -2
- package/es/{chunk-55IACEB6-RlJ-J3tE.js → chunk-55IACEB6-DGtfGRgi.js} +2 -2
- package/es/{chunk-7E7YKBS2-ChLFamzc.js → chunk-7E7YKBS2-CL2d4WAf.js} +2 -2
- package/es/{chunk-7R4GIKGN-B9vamSzt.js → chunk-7R4GIKGN-QT6IorJ_.js} +3 -3
- package/es/{chunk-C72U2L5F-BV-rXau1.js → chunk-C72U2L5F-OHTVpS-m.js} +2 -2
- package/es/{chunk-EGIJ26TM-GvsuORRL.js → chunk-EGIJ26TM-DyMPGYrB.js} +2 -2
- package/es/{chunk-FMBD7UC4-D6ZlqqMC.js → chunk-FMBD7UC4-DCcRjunY.js} +2 -2
- package/es/{chunk-GEFDOKGD-DM6dsEsk.js → chunk-GEFDOKGD-BWpC-zoH.js} +278 -278
- package/es/chunk-GLR3WWYH-DiXcKb5Y.js +41 -0
- package/es/{chunk-HHEYEP7N-FVfYw94p.js → chunk-HHEYEP7N-Cxc7E4dX.js} +3 -3
- package/es/{chunk-JSJVCQXG-Wr9uPcCh.js → chunk-JSJVCQXG-D8_heHOp.js} +4 -4
- package/es/{chunk-KX2RTZJC-BGffjoxB.js → chunk-KX2RTZJC-D5cc4rj6.js} +3 -3
- package/es/{chunk-KYZI473N-Bit5smNE.js → chunk-KYZI473N-BHJ3T5Zv.js} +573 -573
- package/es/{chunk-L3YUKLVL-DBuHDpQ2.js → chunk-L3YUKLVL-7oGaUOdc.js} +2 -2
- package/es/{chunk-MX3YWQON-Cbj2WwUZ.js → chunk-MX3YWQON-BxE-Aq9c.js} +2 -2
- package/es/{chunk-NQ4KR5QH-FPQ-IHJN.js → chunk-NQ4KR5QH-EYQBXkqP.js} +120 -120
- package/es/{chunk-O4XLMI2P-BCDk0ZIW.js → chunk-O4XLMI2P-qjOoGpnx.js} +238 -238
- package/es/{chunk-OZEHJAEY-BZ24IOgQ.js → chunk-OZEHJAEY-D82nx27s.js} +2 -2
- package/es/{chunk-PQ6SQG4A-DpwBx6Hx.js → chunk-PQ6SQG4A-D3jtNCWN.js} +3 -3
- package/es/{chunk-PU5JKC2W-BNpJuXxn.js → chunk-PU5JKC2W-DdP8BS-S.js} +76 -76
- package/es/{chunk-QZHKN3VN-NEMwPryC.js → chunk-QZHKN3VN-CW3cFN-h.js} +2 -2
- package/es/{chunk-R5LLSJPH-g44vgerl.js → chunk-R5LLSJPH-CreI2kO9.js} +2 -2
- package/es/{chunk-WL4C6EOR-B6l-Yy2t.js → chunk-WL4C6EOR-BDbxJyGk.js} +120 -120
- package/es/{chunk-XIRO2GV7-CaFInIOW.js → chunk-XIRO2GV7-S5KkbVnN.js} +2 -2
- package/es/{chunk-XPW4576I-Cp1j6iTN.js → chunk-XPW4576I-B0KVSHwE.js} +2 -2
- package/es/{chunk-XZSTWKYB-CGk7ipHd.js → chunk-XZSTWKYB-CucN1XvM.js} +93 -93
- package/es/{chunk-YBOYWFTD-dOTBpTYs.js → chunk-YBOYWFTD-CvaddD9G.js} +8 -8
- package/es/classDiagram-VBA2DB6C-Co3LMmg8.js +29 -0
- package/es/classDiagram-v2-RAHNMMFH-BZscgdF2.js +29 -0
- package/es/clone-r3YukIBB.js +8 -0
- package/es/{cose-bilkent-S5V4N54A-DlmXyn6m.js → cose-bilkent-S5V4N54A-B5OQuIhl.js} +3 -3
- package/es/{cytoscape.esm-BY3wHcbp.js → cytoscape.esm-i2CZcWd-.js} +1 -1
- package/es/{dagre-B1qTL793.js → dagre-5aGJFKmT.js} +57 -57
- package/es/dagre-KLK3FWXG-BI5QQMXo.js +294 -0
- package/es/{defaultLocale-BaPFSbai.js → defaultLocale-bckJcYh1.js} +12 -12
- package/es/{diagram-E7M64L7V-Dnd8N74o.js → diagram-E7M64L7V-Dz62Vz_a.js} +83 -83
- package/es/{diagram-IFDJBPK2-Dan7RsGr.js → diagram-IFDJBPK2-9fjvFkSc.js} +31 -31
- package/es/{diagram-P4PSJMXO-DwKJpttH.js → diagram-P4PSJMXO-BlX6jFjZ.js} +32 -32
- package/es/{dist-DltyvPj3.js → dist-BX_roQzC.js} +1 -1
- package/es/{erDiagram-INFDFZHY-CGO6k23w.js → erDiagram-INFDFZHY-BcRXu8Cp.js} +128 -128
- package/es/{flowDiagram-PKNHOUZH-DFN1GsRx.js → flowDiagram-PKNHOUZH-UeyfgU8z.js} +156 -156
- package/es/{ganttDiagram-A5KZAMGK-Cf5NxH1w.js → ganttDiagram-A5KZAMGK-txCzqgQ5.js} +625 -622
- package/es/gitGraph-HDMCJU4V-CxsS0Qr1.js +3 -0
- package/es/{gitGraphDiagram-K3NZZRJ6-BgE6aSZO.js → gitGraphDiagram-K3NZZRJ6-DghWYaFU.js} +176 -176
- package/es/{graphlib-DFxSohCv.js → graphlib-dRkI1OCL.js} +4 -4
- package/es/{html-C2-_98S6.js → html-B6UxjOv0.js} +1 -1
- package/es/html-Hb1oe8XT.js +2 -0
- package/es/info-3K5VOQVL-COqdvM99.js +3 -0
- package/es/{infoDiagram-LFFYTUFH-WcApcdl5.js → infoDiagram-LFFYTUFH-CA-vlAvP.js} +5 -5
- package/es/{init-PAs0hR-b.js → init-B75p2clj.js} +1 -1
- package/es/{isArrayLikeObject-BEG9p74d.js → isArrayLikeObject-jl2bjkAJ.js} +80 -80
- package/es/{isEmpty-B1YrVV8B.js → isEmpty-CmA-HYrg.js} +3 -3
- package/es/{ishikawaDiagram-PHBUUO56-DwK7J31a.js → ishikawaDiagram-PHBUUO56-DjdpS9Lb.js} +67 -67
- package/es/{journeyDiagram-4ABVD52K-CWuA57by.js → journeyDiagram-4ABVD52K-CIJfC1fp.js} +6 -6
- package/es/{kanban-definition-K7BYSVSG-DBt3gYRQ.js → kanban-definition-K7BYSVSG-CC2vwGck.js} +11 -11
- package/es/{katex-OR8z_f6I.js → katex-DCMiIo1z.js} +1 -1
- package/es/{line-zOBKZCP5.js → line-Cu9NTacD.js} +4 -4
- package/es/{linear-DttXWw4q.js → linear-C0rAYYmp.js} +23 -23
- package/es/{math-DPzKeDKn.js → math-CoDOuve-.js} +1 -1
- package/es/{mermaid-parser.core-CWNEdmZ_.js → mermaid-parser.core-7Wn2L29P.js} +16 -16
- package/es/{mermaid.core-DPBXXViR.js → mermaid.core-Bvy_Q6Hu.js} +208 -208
- package/es/{mindmap-definition-YRQLILUH-Bq2xqboX.js → mindmap-definition-YRQLILUH-BzTYDYmK.js} +16 -16
- package/es/{ordinal-D8PKtxfM.js → ordinal-F3U6aXtP.js} +3 -3
- package/es/packet-RMMSAZCW-2PTjWKLd.js +3 -0
- package/es/{path-DZ-6AyWK.js → path-Dm3C8WEs.js} +3 -3
- package/es/pie-UPGHQEXC-Du8-k-EA.js +3 -0
- package/es/{pieDiagram-SKSYHLDU-D4iMzwzH.js → pieDiagram-SKSYHLDU-COvqE_C6.js} +32 -32
- package/es/{quadrantDiagram-337W2JSQ-DSbXC0z6.js → quadrantDiagram-337W2JSQ-Dgv8ccjt.js} +4 -4
- package/es/radar-KQ55EAFF-jJOhyjxC.js +3 -0
- package/es/{requirementDiagram-Z7DCOOCP-D7eLn3fs.js → requirementDiagram-Z7DCOOCP-B2NyhxO-.js} +59 -59
- package/es/{rough.esm-C_hJ3ICT.js → rough.esm-BhGP2Udb.js} +1 -1
- package/es/{sankeyDiagram-WA2Y5GQK-DN5ZPgWU.js → sankeyDiagram-WA2Y5GQK-BfnH_gpl.js} +18 -18
- package/es/{sequenceDiagram-2WXFIKYE-CRFEBP8-.js → sequenceDiagram-2WXFIKYE-DXssVQOF.js} +390 -390
- package/es/{src-BH16DVv0.js → src-CUQ6oOYk.js} +86 -86
- package/es/{stateDiagram-RAJIS63D-CfO23QJX.js → stateDiagram-RAJIS63D-DvDLfupV.js} +68 -68
- package/es/stateDiagram-v2-FVOUBMTO-DIXyaX9W.js +27 -0
- package/es/{timeline-definition-YZTLITO2-DmpPrD-3.js → timeline-definition-YZTLITO2-ErcRjbZf.js} +4 -4
- package/es/treemap-KZPCXAKY-CvZAIYVa.js +3 -0
- package/es/{vennDiagram-LZ73GAT5-B80Xr4jV.js → vennDiagram-LZ73GAT5-CDTZUtc8.js} +107 -107
- package/es/{vue-DTiWrQBM.js → vue-2aJw7p5p.js} +2 -2
- package/es/{vue-html-BG3Xflut.js → vue-html-DEjI8X9t.js} +1 -1
- package/es/{xychartDiagram-JWTSCODW-DvQyPDr4.js → xychartDiagram-JWTSCODW-Y21jBOTg.js} +103 -103
- package/package.json +1 -1
- package/es/architecture-PBZL5I3N-CBmkTWjb.js +0 -3
- package/es/channel-DIQFjdG3.js +0 -5
- package/es/chunk-GLR3WWYH-CqFdLic9.js +0 -41
- package/es/classDiagram-VBA2DB6C-B3yBiQy3.js +0 -29
- package/es/classDiagram-v2-RAHNMMFH-jbFYm_Xj.js +0 -29
- package/es/clone-DXVS0uSx.js +0 -8
- package/es/dagre-KLK3FWXG-CEhXRLVR.js +0 -294
- package/es/gitGraph-HDMCJU4V-CrEEHSZS.js +0 -3
- package/es/html-JbFqcNgP.js +0 -2
- package/es/info-3K5VOQVL-Dg3DCp4F.js +0 -3
- package/es/packet-RMMSAZCW-Dk7mKMJ4.js +0 -3
- package/es/pie-UPGHQEXC-CnM5YLNO.js +0 -3
- package/es/radar-KQ55EAFF-BwfADDx8.js +0 -3
- package/es/stateDiagram-v2-FVOUBMTO-BGWbXepL.js +0 -27
- package/es/treemap-KZPCXAKY-BWfn7JxQ.js +0 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { B as a, C as o, L as s, V as c, W as l, Z as u, _ as d, a as f, b as p, j as m, s as h, v as g } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { t as _ } from "./chunk-FMBD7UC4-
|
|
5
|
-
import { t as v } from "./chunk-JSJVCQXG-
|
|
6
|
-
import { t as y } from "./chunk-55IACEB6-
|
|
7
|
-
import { t as b } from "./chunk-KX2RTZJC-
|
|
8
|
-
import { r as x, t as S } from "./chunk-GLR3WWYH-
|
|
9
|
-
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-WL4C6EOR.mjs
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-CUQ6oOYk.js";
|
|
2
|
+
import { h as r, s as i } from "./chunk-GEFDOKGD-BWpC-zoH.js";
|
|
3
|
+
import { B as a, C as o, L as s, V as c, W as l, Z as u, _ as d, a as f, b as p, j as m, s as h, v as g } from "./chunk-7R4GIKGN-QT6IorJ_.js";
|
|
4
|
+
import { t as _ } from "./chunk-FMBD7UC4-DCcRjunY.js";
|
|
5
|
+
import { t as v } from "./chunk-JSJVCQXG-D8_heHOp.js";
|
|
6
|
+
import { t as y } from "./chunk-55IACEB6-DGtfGRgi.js";
|
|
7
|
+
import { t as b } from "./chunk-KX2RTZJC-D5cc4rj6.js";
|
|
8
|
+
import { r as x, t as S } from "./chunk-GLR3WWYH-DiXcKb5Y.js";
|
|
9
|
+
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WL4C6EOR.mjs
|
|
10
10
|
var C = (function() {
|
|
11
|
-
var e = /* @__PURE__ */
|
|
11
|
+
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
12
12
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
13
13
|
return n;
|
|
14
|
-
}, "o"),
|
|
14
|
+
}, "o"), n = [1, 18], r = [1, 19], i = [1, 20], a = [1, 41], o = [1, 42], s = [1, 26], c = [1, 24], l = [1, 25], u = [1, 32], d = [1, 33], f = [1, 34], p = [1, 45], m = [1, 35], h = [1, 36], g = [1, 37], _ = [1, 38], v = [1, 27], y = [1, 28], b = [1, 29], x = [1, 30], S = [1, 31], C = [1, 44], w = [1, 46], T = [1, 43], E = [1, 47], D = [1, 9], O = [
|
|
15
15
|
1,
|
|
16
16
|
8,
|
|
17
17
|
9
|
|
@@ -137,7 +137,7 @@ var C = (function() {
|
|
|
137
137
|
89,
|
|
138
138
|
90
|
|
139
139
|
], oe = {
|
|
140
|
-
trace: /* @__PURE__ */
|
|
140
|
+
trace: /* @__PURE__ */ t(function() {}, "trace"),
|
|
141
141
|
yy: {},
|
|
142
142
|
symbols_: {
|
|
143
143
|
error: 2,
|
|
@@ -446,7 +446,7 @@ var C = (function() {
|
|
|
446
446
|
[17, 1],
|
|
447
447
|
[55, 1]
|
|
448
448
|
],
|
|
449
|
-
performAction: /* @__PURE__ */
|
|
449
|
+
performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
|
|
450
450
|
var s = a.length - 1;
|
|
451
451
|
switch (i) {
|
|
452
452
|
case 8:
|
|
@@ -727,8 +727,8 @@ var C = (function() {
|
|
|
727
727
|
30: 15,
|
|
728
728
|
31: 16,
|
|
729
729
|
32: 17,
|
|
730
|
-
33:
|
|
731
|
-
35:
|
|
730
|
+
33: n,
|
|
731
|
+
35: r,
|
|
732
732
|
37: i,
|
|
733
733
|
38: 22,
|
|
734
734
|
42: a,
|
|
@@ -934,8 +934,8 @@ var C = (function() {
|
|
|
934
934
|
16: 39,
|
|
935
935
|
17: 40,
|
|
936
936
|
5: 87,
|
|
937
|
-
33:
|
|
938
|
-
35:
|
|
937
|
+
33: n,
|
|
938
|
+
35: r,
|
|
939
939
|
37: i,
|
|
940
940
|
42: a,
|
|
941
941
|
46: o,
|
|
@@ -977,8 +977,8 @@ var C = (function() {
|
|
|
977
977
|
30: 15,
|
|
978
978
|
31: 16,
|
|
979
979
|
32: 17,
|
|
980
|
-
33:
|
|
981
|
-
35:
|
|
980
|
+
33: n,
|
|
981
|
+
35: r,
|
|
982
982
|
37: i,
|
|
983
983
|
38: 22,
|
|
984
984
|
42: a,
|
|
@@ -1376,15 +1376,15 @@ var C = (function() {
|
|
|
1376
1376
|
154: [2, 39],
|
|
1377
1377
|
155: [2, 42]
|
|
1378
1378
|
},
|
|
1379
|
-
parseError: /* @__PURE__ */
|
|
1379
|
+
parseError: /* @__PURE__ */ t(function(e, t) {
|
|
1380
1380
|
if (t.recoverable) this.trace(e);
|
|
1381
1381
|
else {
|
|
1382
1382
|
var n = Error(e);
|
|
1383
1383
|
throw n.hash = t, n;
|
|
1384
1384
|
}
|
|
1385
1385
|
}, "parseError"),
|
|
1386
|
-
parse: /* @__PURE__ */
|
|
1387
|
-
var
|
|
1386
|
+
parse: /* @__PURE__ */ t(function(e) {
|
|
1387
|
+
var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
1388
1388
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
1389
1389
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
1390
1390
|
var v = h.yylloc;
|
|
@@ -1392,16 +1392,16 @@ var C = (function() {
|
|
|
1392
1392
|
var y = h.options && h.options.ranges;
|
|
1393
1393
|
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
1394
1394
|
function b(e) {
|
|
1395
|
-
|
|
1395
|
+
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
1396
1396
|
}
|
|
1397
|
-
|
|
1397
|
+
t(b, "popStack");
|
|
1398
1398
|
function x() {
|
|
1399
1399
|
var e = i.pop() || h.lex() || p;
|
|
1400
|
-
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e =
|
|
1400
|
+
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
|
|
1401
1401
|
}
|
|
1402
|
-
|
|
1402
|
+
t(x, "lex");
|
|
1403
1403
|
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
1404
|
-
if (w =
|
|
1404
|
+
if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
|
|
1405
1405
|
var M = "";
|
|
1406
1406
|
for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
|
|
1407
1407
|
M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
|
|
@@ -1415,7 +1415,7 @@ var C = (function() {
|
|
|
1415
1415
|
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
1416
1416
|
switch (T[0]) {
|
|
1417
1417
|
case 1:
|
|
1418
|
-
|
|
1418
|
+
r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
|
|
1419
1419
|
break;
|
|
1420
1420
|
case 2:
|
|
1421
1421
|
if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
|
|
@@ -1432,7 +1432,7 @@ var C = (function() {
|
|
|
1432
1432
|
a,
|
|
1433
1433
|
o
|
|
1434
1434
|
].concat(m)), E !== void 0) return E;
|
|
1435
|
-
k && (
|
|
1435
|
+
k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
|
|
1436
1436
|
break;
|
|
1437
1437
|
case 3: return !0;
|
|
1438
1438
|
}
|
|
@@ -1443,11 +1443,11 @@ var C = (function() {
|
|
|
1443
1443
|
oe.lexer = /* @__PURE__ */ (function() {
|
|
1444
1444
|
return {
|
|
1445
1445
|
EOF: 1,
|
|
1446
|
-
parseError: /* @__PURE__ */
|
|
1446
|
+
parseError: /* @__PURE__ */ t(function(e, t) {
|
|
1447
1447
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
1448
1448
|
else throw Error(e);
|
|
1449
1449
|
}, "parseError"),
|
|
1450
|
-
setInput: /* @__PURE__ */
|
|
1450
|
+
setInput: /* @__PURE__ */ t(function(e, t) {
|
|
1451
1451
|
return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
1452
1452
|
first_line: 1,
|
|
1453
1453
|
first_column: 0,
|
|
@@ -1455,11 +1455,11 @@ var C = (function() {
|
|
|
1455
1455
|
last_column: 0
|
|
1456
1456
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
1457
1457
|
}, "setInput"),
|
|
1458
|
-
input: /* @__PURE__ */
|
|
1458
|
+
input: /* @__PURE__ */ t(function() {
|
|
1459
1459
|
var e = this._input[0];
|
|
1460
1460
|
return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
1461
1461
|
}, "input"),
|
|
1462
|
-
unput: /* @__PURE__ */
|
|
1462
|
+
unput: /* @__PURE__ */ t(function(e) {
|
|
1463
1463
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
1464
1464
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
1465
1465
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -1472,10 +1472,10 @@ var C = (function() {
|
|
|
1472
1472
|
last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
|
|
1473
1473
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
1474
1474
|
}, "unput"),
|
|
1475
|
-
more: /* @__PURE__ */
|
|
1475
|
+
more: /* @__PURE__ */ t(function() {
|
|
1476
1476
|
return this._more = !0, this;
|
|
1477
1477
|
}, "more"),
|
|
1478
|
-
reject: /* @__PURE__ */
|
|
1478
|
+
reject: /* @__PURE__ */ t(function() {
|
|
1479
1479
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
1480
1480
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
1481
1481
|
text: "",
|
|
@@ -1484,22 +1484,22 @@ var C = (function() {
|
|
|
1484
1484
|
});
|
|
1485
1485
|
return this;
|
|
1486
1486
|
}, "reject"),
|
|
1487
|
-
less: /* @__PURE__ */
|
|
1487
|
+
less: /* @__PURE__ */ t(function(e) {
|
|
1488
1488
|
this.unput(this.match.slice(e));
|
|
1489
1489
|
}, "less"),
|
|
1490
|
-
pastInput: /* @__PURE__ */
|
|
1490
|
+
pastInput: /* @__PURE__ */ t(function() {
|
|
1491
1491
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
1492
1492
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
1493
1493
|
}, "pastInput"),
|
|
1494
|
-
upcomingInput: /* @__PURE__ */
|
|
1494
|
+
upcomingInput: /* @__PURE__ */ t(function() {
|
|
1495
1495
|
var e = this.match;
|
|
1496
1496
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
1497
1497
|
}, "upcomingInput"),
|
|
1498
|
-
showPosition: /* @__PURE__ */
|
|
1498
|
+
showPosition: /* @__PURE__ */ t(function() {
|
|
1499
1499
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
1500
1500
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
1501
1501
|
}, "showPosition"),
|
|
1502
|
-
test_match: /* @__PURE__ */
|
|
1502
|
+
test_match: /* @__PURE__ */ t(function(e, t) {
|
|
1503
1503
|
var n, r, i;
|
|
1504
1504
|
if (this.options.backtrack_lexer && (i = {
|
|
1505
1505
|
yylineno: this.yylineno,
|
|
@@ -1532,7 +1532,7 @@ var C = (function() {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
return !1;
|
|
1534
1534
|
}, "test_match"),
|
|
1535
|
-
next: /* @__PURE__ */
|
|
1535
|
+
next: /* @__PURE__ */ t(function() {
|
|
1536
1536
|
if (this.done) return this.EOF;
|
|
1537
1537
|
this._input || (this.done = !0);
|
|
1538
1538
|
var e, t, n, r;
|
|
@@ -1552,29 +1552,29 @@ var C = (function() {
|
|
|
1552
1552
|
line: this.yylineno
|
|
1553
1553
|
});
|
|
1554
1554
|
}, "next"),
|
|
1555
|
-
lex: /* @__PURE__ */
|
|
1555
|
+
lex: /* @__PURE__ */ t(function() {
|
|
1556
1556
|
return this.next() || this.lex();
|
|
1557
1557
|
}, "lex"),
|
|
1558
|
-
begin: /* @__PURE__ */
|
|
1558
|
+
begin: /* @__PURE__ */ t(function(e) {
|
|
1559
1559
|
this.conditionStack.push(e);
|
|
1560
1560
|
}, "begin"),
|
|
1561
|
-
popState: /* @__PURE__ */
|
|
1561
|
+
popState: /* @__PURE__ */ t(function() {
|
|
1562
1562
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
1563
1563
|
}, "popState"),
|
|
1564
|
-
_currentRules: /* @__PURE__ */
|
|
1564
|
+
_currentRules: /* @__PURE__ */ t(function() {
|
|
1565
1565
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
1566
1566
|
}, "_currentRules"),
|
|
1567
|
-
topState: /* @__PURE__ */
|
|
1567
|
+
topState: /* @__PURE__ */ t(function(e) {
|
|
1568
1568
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
1569
1569
|
}, "topState"),
|
|
1570
|
-
pushState: /* @__PURE__ */
|
|
1570
|
+
pushState: /* @__PURE__ */ t(function(e) {
|
|
1571
1571
|
this.begin(e);
|
|
1572
1572
|
}, "pushState"),
|
|
1573
|
-
stateStackSize: /* @__PURE__ */
|
|
1573
|
+
stateStackSize: /* @__PURE__ */ t(function() {
|
|
1574
1574
|
return this.conditionStack.length;
|
|
1575
1575
|
}, "stateStackSize"),
|
|
1576
1576
|
options: {},
|
|
1577
|
-
performAction: /* @__PURE__ */
|
|
1577
|
+
performAction: /* @__PURE__ */ t(function(e, t, n, r) {
|
|
1578
1578
|
switch (n) {
|
|
1579
1579
|
case 0: return 62;
|
|
1580
1580
|
case 1: return 63;
|
|
@@ -2556,7 +2556,7 @@ var C = (function() {
|
|
|
2556
2556
|
function $() {
|
|
2557
2557
|
this.yy = {};
|
|
2558
2558
|
}
|
|
2559
|
-
return
|
|
2559
|
+
return t($, "Parser"), $.prototype = oe, oe.Parser = $, new $();
|
|
2560
2560
|
})();
|
|
2561
2561
|
C.parser = C;
|
|
2562
2562
|
var w = C, T = [
|
|
@@ -2567,7 +2567,7 @@ var w = C, T = [
|
|
|
2567
2567
|
""
|
|
2568
2568
|
], E = class {
|
|
2569
2569
|
static {
|
|
2570
|
-
|
|
2570
|
+
t(this, "ClassMember");
|
|
2571
2571
|
}
|
|
2572
2572
|
constructor(e, t) {
|
|
2573
2573
|
this.memberType = t, this.visibility = "", this.classifier = "", this.text = "";
|
|
@@ -2607,7 +2607,7 @@ var w = C, T = [
|
|
|
2607
2607
|
default: return "";
|
|
2608
2608
|
}
|
|
2609
2609
|
}
|
|
2610
|
-
}, D = "classId-", O = 0, k = /* @__PURE__ */
|
|
2610
|
+
}, D = "classId-", O = 0, k = /* @__PURE__ */ t((e) => h.sanitizeText(e, p()), "sanitizeText"), A = class {
|
|
2611
2611
|
constructor() {
|
|
2612
2612
|
this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.functions = [], this.lineType = {
|
|
2613
2613
|
LINE: 0,
|
|
@@ -2618,22 +2618,22 @@ var w = C, T = [
|
|
|
2618
2618
|
COMPOSITION: 2,
|
|
2619
2619
|
DEPENDENCY: 3,
|
|
2620
2620
|
LOLLIPOP: 4
|
|
2621
|
-
}, this.setupToolTips = /* @__PURE__ */
|
|
2621
|
+
}, this.setupToolTips = /* @__PURE__ */ t((e) => {
|
|
2622
2622
|
let t = v();
|
|
2623
|
-
|
|
2624
|
-
return
|
|
2623
|
+
n(e).select("svg").selectAll("g").filter(function() {
|
|
2624
|
+
return n(this).attr("title") !== null;
|
|
2625
2625
|
}).on("mouseover", (e) => {
|
|
2626
|
-
let
|
|
2627
|
-
if (!
|
|
2626
|
+
let r = n(e.currentTarget), i = r.attr("title");
|
|
2627
|
+
if (!i) return;
|
|
2628
2628
|
let a = e.currentTarget.getBoundingClientRect();
|
|
2629
|
-
t.transition().duration(200).style("opacity", ".9"), t.html(u.sanitize(
|
|
2629
|
+
t.transition().duration(200).style("opacity", ".9"), t.html(u.sanitize(i)).style("left", `${window.scrollX + a.left + a.width / 2}px`).style("top", `${window.scrollY + a.bottom + 4}px`), r.classed("hover", !0);
|
|
2630
2630
|
}).on("mouseout", (e) => {
|
|
2631
|
-
t.transition().duration(500).style("opacity", 0),
|
|
2631
|
+
t.transition().duration(500).style("opacity", 0), n(e.currentTarget).classed("hover", !1);
|
|
2632
2632
|
});
|
|
2633
|
-
}, "setupToolTips"), this.direction = "TB", this.setAccTitle = c, this.getAccTitle = g, this.setAccDescription = a, this.getAccDescription = d, this.setDiagramTitle = l, this.getDiagramTitle = o, this.getConfig = /* @__PURE__ */
|
|
2633
|
+
}, "setupToolTips"), this.direction = "TB", this.setAccTitle = c, this.getAccTitle = g, this.setAccDescription = a, this.getAccDescription = d, this.setDiagramTitle = l, this.getDiagramTitle = o, this.getConfig = /* @__PURE__ */ t(() => p().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
|
|
2634
2634
|
}
|
|
2635
2635
|
static {
|
|
2636
|
-
|
|
2636
|
+
t(this, "ClassDB");
|
|
2637
2637
|
}
|
|
2638
2638
|
splitClassNameAndType(e) {
|
|
2639
2639
|
let t = h.sanitizeText(e, p()), n = "", r = t;
|
|
@@ -2702,16 +2702,16 @@ var w = C, T = [
|
|
|
2702
2702
|
getNotes() {
|
|
2703
2703
|
return this.notes;
|
|
2704
2704
|
}
|
|
2705
|
-
addRelation(
|
|
2706
|
-
|
|
2707
|
-
let
|
|
2705
|
+
addRelation(t) {
|
|
2706
|
+
e.debug("Adding relation: " + JSON.stringify(t));
|
|
2707
|
+
let n = [
|
|
2708
2708
|
this.relationType.LOLLIPOP,
|
|
2709
2709
|
this.relationType.AGGREGATION,
|
|
2710
2710
|
this.relationType.COMPOSITION,
|
|
2711
2711
|
this.relationType.DEPENDENCY,
|
|
2712
2712
|
this.relationType.EXTENSION
|
|
2713
2713
|
];
|
|
2714
|
-
|
|
2714
|
+
t.relation.type1 === this.relationType.LOLLIPOP && !n.includes(t.relation.type2) ? (this.addClass(t.id2), this.addInterface(t.id1, t.id2), t.id1 = `interface${this.interfaces.length - 1}`) : t.relation.type2 === this.relationType.LOLLIPOP && !n.includes(t.relation.type1) ? (this.addClass(t.id1), this.addInterface(t.id2, t.id1), t.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(t.id1), this.addClass(t.id2)), t.id1 = this.splitClassNameAndType(t.id1).className, t.id2 = this.splitClassNameAndType(t.id2).className, t.relationTitle1 = h.sanitizeText(t.relationTitle1.trim(), p()), t.relationTitle2 = h.sanitizeText(t.relationTitle2.trim(), p()), this.relations.push(t);
|
|
2715
2715
|
}
|
|
2716
2716
|
addAnnotation(e, t) {
|
|
2717
2717
|
let n = this.splitClassNameAndType(e).className;
|
|
@@ -2774,37 +2774,37 @@ var w = C, T = [
|
|
|
2774
2774
|
getTooltip(e, t) {
|
|
2775
2775
|
return t && this.namespaces.has(t) ? this.namespaces.get(t).classes.get(e).tooltip : this.classes.get(e).tooltip;
|
|
2776
2776
|
}
|
|
2777
|
-
setLink(t, n
|
|
2777
|
+
setLink(e, t, n) {
|
|
2778
2778
|
let i = p();
|
|
2779
|
-
|
|
2780
|
-
let a =
|
|
2781
|
-
/\d/.exec(
|
|
2779
|
+
e.split(",").forEach((e) => {
|
|
2780
|
+
let a = e;
|
|
2781
|
+
/\d/.exec(e[0]) && (a = D + a);
|
|
2782
2782
|
let o = this.classes.get(a);
|
|
2783
|
-
o && (o.link =
|
|
2784
|
-
}), this.setCssClass(
|
|
2783
|
+
o && (o.link = r.formatUrl(t, i), i.securityLevel === "sandbox" ? o.linkTarget = "_top" : typeof n == "string" ? o.linkTarget = k(n) : o.linkTarget = "_blank");
|
|
2784
|
+
}), this.setCssClass(e, "clickable");
|
|
2785
2785
|
}
|
|
2786
2786
|
setClickEvent(e, t, n) {
|
|
2787
2787
|
e.split(",").forEach((e) => {
|
|
2788
2788
|
this.setClickFunc(e, t, n), this.classes.get(e).haveCallback = !0;
|
|
2789
2789
|
}), this.setCssClass(e, "clickable");
|
|
2790
2790
|
}
|
|
2791
|
-
setClickFunc(t, n
|
|
2792
|
-
let i = h.sanitizeText(
|
|
2793
|
-
if (p().securityLevel !== "loose" ||
|
|
2791
|
+
setClickFunc(e, t, n) {
|
|
2792
|
+
let i = h.sanitizeText(e, p());
|
|
2793
|
+
if (p().securityLevel !== "loose" || t === void 0) return;
|
|
2794
2794
|
let a = i;
|
|
2795
2795
|
if (this.classes.has(a)) {
|
|
2796
|
-
let
|
|
2797
|
-
if (typeof
|
|
2798
|
-
i =
|
|
2796
|
+
let e = this.lookUpDomId(a), i = [];
|
|
2797
|
+
if (typeof n == "string") {
|
|
2798
|
+
i = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
|
|
2799
2799
|
for (let e = 0; e < i.length; e++) {
|
|
2800
2800
|
let t = i[e].trim();
|
|
2801
2801
|
t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), i[e] = t;
|
|
2802
2802
|
}
|
|
2803
2803
|
}
|
|
2804
|
-
i.length === 0 && i.push(
|
|
2805
|
-
let
|
|
2806
|
-
|
|
2807
|
-
|
|
2804
|
+
i.length === 0 && i.push(e), this.functions.push(() => {
|
|
2805
|
+
let n = document.querySelector(`[id="${e}"]`);
|
|
2806
|
+
n !== null && n.addEventListener("click", () => {
|
|
2807
|
+
r.runFunc(t, ...i);
|
|
2808
2808
|
}, !1);
|
|
2809
2809
|
});
|
|
2810
2810
|
}
|
|
@@ -2877,52 +2877,52 @@ var w = C, T = [
|
|
|
2877
2877
|
return t;
|
|
2878
2878
|
}
|
|
2879
2879
|
getData() {
|
|
2880
|
-
let e = [],
|
|
2880
|
+
let e = [], t = [], n = p();
|
|
2881
2881
|
for (let t of this.namespaces.values()) {
|
|
2882
|
-
let
|
|
2882
|
+
let r = {
|
|
2883
2883
|
id: t.id,
|
|
2884
2884
|
label: t.id,
|
|
2885
2885
|
isGroup: !0,
|
|
2886
|
-
padding:
|
|
2886
|
+
padding: n.class.padding ?? 16,
|
|
2887
2887
|
shape: "rect",
|
|
2888
2888
|
cssStyles: [],
|
|
2889
|
-
look:
|
|
2889
|
+
look: n.look
|
|
2890
2890
|
};
|
|
2891
|
-
e.push(
|
|
2891
|
+
e.push(r);
|
|
2892
2892
|
}
|
|
2893
2893
|
for (let t of this.classes.values()) {
|
|
2894
|
-
let
|
|
2894
|
+
let r = {
|
|
2895
2895
|
...t,
|
|
2896
2896
|
type: void 0,
|
|
2897
2897
|
isGroup: !1,
|
|
2898
2898
|
parentId: t.parent,
|
|
2899
|
-
look:
|
|
2899
|
+
look: n.look
|
|
2900
2900
|
};
|
|
2901
|
-
e.push(
|
|
2901
|
+
e.push(r);
|
|
2902
2902
|
}
|
|
2903
|
-
for (let
|
|
2903
|
+
for (let r of this.notes.values()) {
|
|
2904
2904
|
let i = {
|
|
2905
|
-
id:
|
|
2906
|
-
label:
|
|
2905
|
+
id: r.id,
|
|
2906
|
+
label: r.text,
|
|
2907
2907
|
isGroup: !1,
|
|
2908
2908
|
shape: "note",
|
|
2909
|
-
padding:
|
|
2909
|
+
padding: n.class.padding ?? 6,
|
|
2910
2910
|
cssStyles: [
|
|
2911
2911
|
"text-align: left",
|
|
2912
2912
|
"white-space: nowrap",
|
|
2913
|
-
`fill: ${
|
|
2914
|
-
`stroke: ${
|
|
2913
|
+
`fill: ${n.themeVariables.noteBkgColor}`,
|
|
2914
|
+
`stroke: ${n.themeVariables.noteBorderColor}`
|
|
2915
2915
|
],
|
|
2916
|
-
look:
|
|
2917
|
-
parentId:
|
|
2916
|
+
look: n.look,
|
|
2917
|
+
parentId: r.parent,
|
|
2918
2918
|
labelType: "markdown"
|
|
2919
2919
|
};
|
|
2920
2920
|
e.push(i);
|
|
2921
|
-
let a = this.classes.get(
|
|
2921
|
+
let a = this.classes.get(r.class)?.id;
|
|
2922
2922
|
if (a) {
|
|
2923
2923
|
let e = {
|
|
2924
|
-
id: `edgeNote${
|
|
2925
|
-
start:
|
|
2924
|
+
id: `edgeNote${r.index}`,
|
|
2925
|
+
start: r.id,
|
|
2926
2926
|
end: a,
|
|
2927
2927
|
type: "normal",
|
|
2928
2928
|
thickness: "normal",
|
|
@@ -2933,29 +2933,29 @@ var w = C, T = [
|
|
|
2933
2933
|
labelStyle: [""],
|
|
2934
2934
|
style: ["fill: none"],
|
|
2935
2935
|
pattern: "dotted",
|
|
2936
|
-
look:
|
|
2936
|
+
look: n.look
|
|
2937
2937
|
};
|
|
2938
|
-
|
|
2938
|
+
t.push(e);
|
|
2939
2939
|
}
|
|
2940
2940
|
}
|
|
2941
2941
|
for (let t of this.interfaces) {
|
|
2942
|
-
let
|
|
2942
|
+
let r = {
|
|
2943
2943
|
id: t.id,
|
|
2944
2944
|
label: t.label,
|
|
2945
2945
|
isGroup: !1,
|
|
2946
2946
|
shape: "rect",
|
|
2947
2947
|
cssStyles: ["opacity: 0;"],
|
|
2948
|
-
look:
|
|
2948
|
+
look: n.look
|
|
2949
2949
|
};
|
|
2950
|
-
e.push(
|
|
2950
|
+
e.push(r);
|
|
2951
2951
|
}
|
|
2952
|
-
let
|
|
2952
|
+
let r = 0;
|
|
2953
2953
|
for (let e of this.relations) {
|
|
2954
|
-
|
|
2954
|
+
r++;
|
|
2955
2955
|
let a = {
|
|
2956
|
-
id:
|
|
2956
|
+
id: i(e.id1, e.id2, {
|
|
2957
2957
|
prefix: "id",
|
|
2958
|
-
counter:
|
|
2958
|
+
counter: r
|
|
2959
2959
|
}),
|
|
2960
2960
|
start: e.id1,
|
|
2961
2961
|
end: e.id2,
|
|
@@ -2972,20 +2972,20 @@ var w = C, T = [
|
|
|
2972
2972
|
labelStyle: ["display: inline-block"],
|
|
2973
2973
|
style: e.style || "",
|
|
2974
2974
|
pattern: e.relation.lineType == 1 ? "dashed" : "solid",
|
|
2975
|
-
look:
|
|
2975
|
+
look: n.look,
|
|
2976
2976
|
labelType: "markdown"
|
|
2977
2977
|
};
|
|
2978
|
-
|
|
2978
|
+
t.push(a);
|
|
2979
2979
|
}
|
|
2980
2980
|
return {
|
|
2981
2981
|
nodes: e,
|
|
2982
|
-
edges:
|
|
2982
|
+
edges: t,
|
|
2983
2983
|
other: {},
|
|
2984
|
-
config:
|
|
2984
|
+
config: n,
|
|
2985
2985
|
direction: this.getDirection()
|
|
2986
2986
|
};
|
|
2987
2987
|
}
|
|
2988
|
-
}, j = /* @__PURE__ */
|
|
2988
|
+
}, j = /* @__PURE__ */ t((e) => `g.classGroup text {
|
|
2989
2989
|
fill: ${e.nodeBorder || e.classText};
|
|
2990
2990
|
stroke: none;
|
|
2991
2991
|
font-family: ${e.fontFamily};
|
|
@@ -3169,21 +3169,21 @@ g.classGroup line {
|
|
|
3169
3169
|
}
|
|
3170
3170
|
${_()}
|
|
3171
3171
|
`, "getStyles"), M = {
|
|
3172
|
-
getClasses: /* @__PURE__ */
|
|
3172
|
+
getClasses: /* @__PURE__ */ t(function(e, t) {
|
|
3173
3173
|
return t.db.getClasses();
|
|
3174
3174
|
}, "getClasses"),
|
|
3175
|
-
draw: /* @__PURE__ */
|
|
3176
|
-
|
|
3177
|
-
let { securityLevel: o, state: s, layout: c } = p(), l = a.db.getData(), u = y(
|
|
3175
|
+
draw: /* @__PURE__ */ t(async function(t, n, i, a) {
|
|
3176
|
+
e.info("REF0:"), e.info("Drawing class diagram (v3)", n);
|
|
3177
|
+
let { securityLevel: o, state: s, layout: c } = p(), l = a.db.getData(), u = y(n, o);
|
|
3178
3178
|
l.type = a.type, l.layoutAlgorithm = S(c), l.nodeSpacing = s?.nodeSpacing || 50, l.rankSpacing = s?.rankSpacing || 50, l.markers = [
|
|
3179
3179
|
"aggregation",
|
|
3180
3180
|
"extension",
|
|
3181
3181
|
"composition",
|
|
3182
3182
|
"dependency",
|
|
3183
3183
|
"lollipop"
|
|
3184
|
-
], l.diagramId =
|
|
3184
|
+
], l.diagramId = n, await x(l, u), r.insertTitle(u, "classDiagramTitleText", s?.titleTopMargin ?? 25, a.db.getDiagramTitle()), b(u, 8, "classDiagram", s?.useMaxWidth ?? !0);
|
|
3185
3185
|
}, "draw"),
|
|
3186
|
-
getDir: /* @__PURE__ */
|
|
3186
|
+
getDir: /* @__PURE__ */ t((e, t = "TB") => {
|
|
3187
3187
|
if (!e.doc) return t;
|
|
3188
3188
|
let n = t;
|
|
3189
3189
|
for (let t of e.doc) t.stmt === "dir" && (n = t.value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as e, g as t, h as n, l as r, m as i, n as a, p as o, s, t as c } from "./chunk-XZSTWKYB-
|
|
2
|
-
//#region ../../node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XIRO2GV7.mjs
|
|
1
|
+
import { f as e, g as t, h as n, l as r, m as i, n as a, p as o, s, t as c } from "./chunk-XZSTWKYB-CucN1XvM.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@mermaid-js+parser@1.0.1/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XIRO2GV7.mjs
|
|
3
3
|
var l = class extends c {
|
|
4
4
|
static {
|
|
5
5
|
e(this, "PieTokenBuilder");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as e } from "./src-
|
|
2
|
-
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.mjs
|
|
1
|
+
import { h as e } from "./src-CUQ6oOYk.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.mjs
|
|
3
3
|
function t(e) {
|
|
4
4
|
return e == null;
|
|
5
5
|
}
|