@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.
Files changed (130) hide show
  1. package/dist/actions/Actions.js +1 -1
  2. package/dist/attachments/index.js +1 -1
  3. package/dist/conversations/index.js +1 -1
  4. package/dist/file-card/FileCard.js +1 -1
  5. package/dist/file-card/List.js +1 -1
  6. package/dist/index.umd.js +25 -25
  7. package/dist/locale/useLocale.js +1 -1
  8. package/dist/mermaid/Mermaid.js +1 -1
  9. package/dist/package.js +1 -1
  10. package/dist/prompts/Prompts.js +1 -1
  11. package/dist/sender/Sender.js +1 -1
  12. package/dist/sender/SenderHeader.js +1 -1
  13. package/dist/sender/SenderSwitch.js +1 -1
  14. package/dist/sources/Sources.js +1 -1
  15. package/dist/suggestion/Suggestion.js +1 -1
  16. package/dist/theme/genStyleUtils.js +1 -1
  17. package/dist/think/Think.js +1 -1
  18. package/dist/thought-chain/Item.js +1 -1
  19. package/dist/thought-chain/Node.js +1 -1
  20. package/dist/thought-chain/ThoughtChain.js +1 -1
  21. package/dist/welcome/index.js +1 -1
  22. package/dist/x-provider/hooks/use-x-provider-context.js +1 -1
  23. package/es/{Serializer-y_SfSPKv.js → Serializer-D1JYN1kI.js} +4 -4
  24. package/es/{_basePickBy-DPqob0cQ.js → _basePickBy-DFHEGO2M.js} +23 -23
  25. package/es/{_baseUniq-AMhRdOMz.js → _baseUniq-BlS7rXTs.js} +83 -83
  26. package/es/antdv-next-x.esm.js +44833 -7290
  27. package/es/{arc-caEkbRYF.js → arc-BuXEd18J.js} +3 -3
  28. package/es/architecture-PBZL5I3N-D7tS55xM.js +3 -0
  29. package/es/{architectureDiagram-2XIMDMQ5-ZOgJV9Kg.js → architectureDiagram-2XIMDMQ5-CmfsCwJk.js} +85 -85
  30. package/es/{blockDiagram-WCTKOSBZ-8iZwAKBK.js → blockDiagram-WCTKOSBZ-lJAan65A.js} +530 -530
  31. package/es/{c4Diagram-IC4MRINW-DrH9eRMR.js → c4Diagram-IC4MRINW-B1c2x_1Q.js} +170 -170
  32. package/es/channel-DFgF_2F7.js +5 -0
  33. package/es/{chunk-4BX2VUAB-DUVpjbJi.js → chunk-4BX2VUAB-J2N81Fpp.js} +2 -2
  34. package/es/{chunk-55IACEB6-RlJ-J3tE.js → chunk-55IACEB6-DGtfGRgi.js} +2 -2
  35. package/es/{chunk-7E7YKBS2-ChLFamzc.js → chunk-7E7YKBS2-CL2d4WAf.js} +2 -2
  36. package/es/{chunk-7R4GIKGN-B9vamSzt.js → chunk-7R4GIKGN-QT6IorJ_.js} +3 -3
  37. package/es/{chunk-C72U2L5F-BV-rXau1.js → chunk-C72U2L5F-OHTVpS-m.js} +2 -2
  38. package/es/{chunk-EGIJ26TM-GvsuORRL.js → chunk-EGIJ26TM-DyMPGYrB.js} +2 -2
  39. package/es/{chunk-FMBD7UC4-D6ZlqqMC.js → chunk-FMBD7UC4-DCcRjunY.js} +2 -2
  40. package/es/{chunk-GEFDOKGD-DM6dsEsk.js → chunk-GEFDOKGD-BWpC-zoH.js} +278 -278
  41. package/es/chunk-GLR3WWYH-DiXcKb5Y.js +41 -0
  42. package/es/{chunk-HHEYEP7N-FVfYw94p.js → chunk-HHEYEP7N-Cxc7E4dX.js} +3 -3
  43. package/es/{chunk-JSJVCQXG-Wr9uPcCh.js → chunk-JSJVCQXG-D8_heHOp.js} +4 -4
  44. package/es/{chunk-KX2RTZJC-BGffjoxB.js → chunk-KX2RTZJC-D5cc4rj6.js} +3 -3
  45. package/es/{chunk-KYZI473N-Bit5smNE.js → chunk-KYZI473N-BHJ3T5Zv.js} +573 -573
  46. package/es/{chunk-L3YUKLVL-DBuHDpQ2.js → chunk-L3YUKLVL-7oGaUOdc.js} +2 -2
  47. package/es/{chunk-MX3YWQON-Cbj2WwUZ.js → chunk-MX3YWQON-BxE-Aq9c.js} +2 -2
  48. package/es/{chunk-NQ4KR5QH-FPQ-IHJN.js → chunk-NQ4KR5QH-EYQBXkqP.js} +120 -120
  49. package/es/{chunk-O4XLMI2P-BCDk0ZIW.js → chunk-O4XLMI2P-qjOoGpnx.js} +238 -238
  50. package/es/{chunk-OZEHJAEY-BZ24IOgQ.js → chunk-OZEHJAEY-D82nx27s.js} +2 -2
  51. package/es/{chunk-PQ6SQG4A-DpwBx6Hx.js → chunk-PQ6SQG4A-D3jtNCWN.js} +3 -3
  52. package/es/{chunk-PU5JKC2W-BNpJuXxn.js → chunk-PU5JKC2W-DdP8BS-S.js} +76 -76
  53. package/es/{chunk-QZHKN3VN-NEMwPryC.js → chunk-QZHKN3VN-CW3cFN-h.js} +2 -2
  54. package/es/{chunk-R5LLSJPH-g44vgerl.js → chunk-R5LLSJPH-CreI2kO9.js} +2 -2
  55. package/es/{chunk-WL4C6EOR-B6l-Yy2t.js → chunk-WL4C6EOR-BDbxJyGk.js} +120 -120
  56. package/es/{chunk-XIRO2GV7-CaFInIOW.js → chunk-XIRO2GV7-S5KkbVnN.js} +2 -2
  57. package/es/{chunk-XPW4576I-Cp1j6iTN.js → chunk-XPW4576I-B0KVSHwE.js} +2 -2
  58. package/es/{chunk-XZSTWKYB-CGk7ipHd.js → chunk-XZSTWKYB-CucN1XvM.js} +93 -93
  59. package/es/{chunk-YBOYWFTD-dOTBpTYs.js → chunk-YBOYWFTD-CvaddD9G.js} +8 -8
  60. package/es/classDiagram-VBA2DB6C-Co3LMmg8.js +29 -0
  61. package/es/classDiagram-v2-RAHNMMFH-BZscgdF2.js +29 -0
  62. package/es/clone-r3YukIBB.js +8 -0
  63. package/es/{cose-bilkent-S5V4N54A-DlmXyn6m.js → cose-bilkent-S5V4N54A-B5OQuIhl.js} +3 -3
  64. package/es/{cytoscape.esm-BY3wHcbp.js → cytoscape.esm-i2CZcWd-.js} +1 -1
  65. package/es/{dagre-B1qTL793.js → dagre-5aGJFKmT.js} +57 -57
  66. package/es/dagre-KLK3FWXG-BI5QQMXo.js +294 -0
  67. package/es/{defaultLocale-BaPFSbai.js → defaultLocale-bckJcYh1.js} +12 -12
  68. package/es/{diagram-E7M64L7V-Dnd8N74o.js → diagram-E7M64L7V-Dz62Vz_a.js} +83 -83
  69. package/es/{diagram-IFDJBPK2-Dan7RsGr.js → diagram-IFDJBPK2-9fjvFkSc.js} +31 -31
  70. package/es/{diagram-P4PSJMXO-DwKJpttH.js → diagram-P4PSJMXO-BlX6jFjZ.js} +32 -32
  71. package/es/{dist-DltyvPj3.js → dist-BX_roQzC.js} +1 -1
  72. package/es/{erDiagram-INFDFZHY-CGO6k23w.js → erDiagram-INFDFZHY-BcRXu8Cp.js} +128 -128
  73. package/es/{flowDiagram-PKNHOUZH-DFN1GsRx.js → flowDiagram-PKNHOUZH-UeyfgU8z.js} +156 -156
  74. package/es/{ganttDiagram-A5KZAMGK-Cf5NxH1w.js → ganttDiagram-A5KZAMGK-txCzqgQ5.js} +625 -622
  75. package/es/gitGraph-HDMCJU4V-CxsS0Qr1.js +3 -0
  76. package/es/{gitGraphDiagram-K3NZZRJ6-BgE6aSZO.js → gitGraphDiagram-K3NZZRJ6-DghWYaFU.js} +176 -176
  77. package/es/{graphlib-DFxSohCv.js → graphlib-dRkI1OCL.js} +4 -4
  78. package/es/{html-C2-_98S6.js → html-B6UxjOv0.js} +1 -1
  79. package/es/html-Hb1oe8XT.js +2 -0
  80. package/es/info-3K5VOQVL-COqdvM99.js +3 -0
  81. package/es/{infoDiagram-LFFYTUFH-WcApcdl5.js → infoDiagram-LFFYTUFH-CA-vlAvP.js} +5 -5
  82. package/es/{init-PAs0hR-b.js → init-B75p2clj.js} +1 -1
  83. package/es/{isArrayLikeObject-BEG9p74d.js → isArrayLikeObject-jl2bjkAJ.js} +80 -80
  84. package/es/{isEmpty-B1YrVV8B.js → isEmpty-CmA-HYrg.js} +3 -3
  85. package/es/{ishikawaDiagram-PHBUUO56-DwK7J31a.js → ishikawaDiagram-PHBUUO56-DjdpS9Lb.js} +67 -67
  86. package/es/{journeyDiagram-4ABVD52K-CWuA57by.js → journeyDiagram-4ABVD52K-CIJfC1fp.js} +6 -6
  87. package/es/{kanban-definition-K7BYSVSG-DBt3gYRQ.js → kanban-definition-K7BYSVSG-CC2vwGck.js} +11 -11
  88. package/es/{katex-OR8z_f6I.js → katex-DCMiIo1z.js} +1 -1
  89. package/es/{line-zOBKZCP5.js → line-Cu9NTacD.js} +4 -4
  90. package/es/{linear-DttXWw4q.js → linear-C0rAYYmp.js} +23 -23
  91. package/es/{math-DPzKeDKn.js → math-CoDOuve-.js} +1 -1
  92. package/es/{mermaid-parser.core-CWNEdmZ_.js → mermaid-parser.core-7Wn2L29P.js} +16 -16
  93. package/es/{mermaid.core-DPBXXViR.js → mermaid.core-Bvy_Q6Hu.js} +208 -208
  94. package/es/{mindmap-definition-YRQLILUH-Bq2xqboX.js → mindmap-definition-YRQLILUH-BzTYDYmK.js} +16 -16
  95. package/es/{ordinal-D8PKtxfM.js → ordinal-F3U6aXtP.js} +3 -3
  96. package/es/packet-RMMSAZCW-2PTjWKLd.js +3 -0
  97. package/es/{path-DZ-6AyWK.js → path-Dm3C8WEs.js} +3 -3
  98. package/es/pie-UPGHQEXC-Du8-k-EA.js +3 -0
  99. package/es/{pieDiagram-SKSYHLDU-D4iMzwzH.js → pieDiagram-SKSYHLDU-COvqE_C6.js} +32 -32
  100. package/es/{quadrantDiagram-337W2JSQ-DSbXC0z6.js → quadrantDiagram-337W2JSQ-Dgv8ccjt.js} +4 -4
  101. package/es/radar-KQ55EAFF-jJOhyjxC.js +3 -0
  102. package/es/{requirementDiagram-Z7DCOOCP-D7eLn3fs.js → requirementDiagram-Z7DCOOCP-B2NyhxO-.js} +59 -59
  103. package/es/{rough.esm-C_hJ3ICT.js → rough.esm-BhGP2Udb.js} +1 -1
  104. package/es/{sankeyDiagram-WA2Y5GQK-DN5ZPgWU.js → sankeyDiagram-WA2Y5GQK-BfnH_gpl.js} +18 -18
  105. package/es/{sequenceDiagram-2WXFIKYE-CRFEBP8-.js → sequenceDiagram-2WXFIKYE-DXssVQOF.js} +390 -390
  106. package/es/{src-BH16DVv0.js → src-CUQ6oOYk.js} +86 -86
  107. package/es/{stateDiagram-RAJIS63D-CfO23QJX.js → stateDiagram-RAJIS63D-DvDLfupV.js} +68 -68
  108. package/es/stateDiagram-v2-FVOUBMTO-DIXyaX9W.js +27 -0
  109. package/es/{timeline-definition-YZTLITO2-DmpPrD-3.js → timeline-definition-YZTLITO2-ErcRjbZf.js} +4 -4
  110. package/es/treemap-KZPCXAKY-CvZAIYVa.js +3 -0
  111. package/es/{vennDiagram-LZ73GAT5-B80Xr4jV.js → vennDiagram-LZ73GAT5-CDTZUtc8.js} +107 -107
  112. package/es/{vue-DTiWrQBM.js → vue-2aJw7p5p.js} +2 -2
  113. package/es/{vue-html-BG3Xflut.js → vue-html-DEjI8X9t.js} +1 -1
  114. package/es/{xychartDiagram-JWTSCODW-DvQyPDr4.js → xychartDiagram-JWTSCODW-Y21jBOTg.js} +103 -103
  115. package/package.json +1 -1
  116. package/es/architecture-PBZL5I3N-CBmkTWjb.js +0 -3
  117. package/es/channel-DIQFjdG3.js +0 -5
  118. package/es/chunk-GLR3WWYH-CqFdLic9.js +0 -41
  119. package/es/classDiagram-VBA2DB6C-B3yBiQy3.js +0 -29
  120. package/es/classDiagram-v2-RAHNMMFH-jbFYm_Xj.js +0 -29
  121. package/es/clone-DXVS0uSx.js +0 -8
  122. package/es/dagre-KLK3FWXG-CEhXRLVR.js +0 -294
  123. package/es/gitGraph-HDMCJU4V-CrEEHSZS.js +0 -3
  124. package/es/html-JbFqcNgP.js +0 -2
  125. package/es/info-3K5VOQVL-Dg3DCp4F.js +0 -3
  126. package/es/packet-RMMSAZCW-Dk7mKMJ4.js +0 -3
  127. package/es/pie-UPGHQEXC-CnM5YLNO.js +0 -3
  128. package/es/radar-KQ55EAFF-BwfADDx8.js +0 -3
  129. package/es/stateDiagram-v2-FVOUBMTO-BGWbXepL.js +0 -27
  130. package/es/treemap-KZPCXAKY-BWfn7JxQ.js +0 -3
@@ -1,22 +1,22 @@
1
- import { h as e, s as t } from "./chunk-GEFDOKGD-DM6dsEsk.js";
2
- import { g as n, h as r, m as i, p as a } from "./src-BH16DVv0.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-B9vamSzt.js";
4
- import { t as h } from "./channel-DIQFjdG3.js";
5
- import "./chunk-PU5JKC2W-BNpJuXxn.js";
6
- import "./chunk-MX3YWQON-Cbj2WwUZ.js";
7
- import "./chunk-YBOYWFTD-dOTBpTYs.js";
8
- import { t as g } from "./chunk-55IACEB6-RlJ-J3tE.js";
9
- import { t as _ } from "./chunk-KX2RTZJC-BGffjoxB.js";
10
- import "./chunk-PQ6SQG4A-DpwBx6Hx.js";
11
- import "./chunk-KYZI473N-Bit5smNE.js";
12
- import "./chunk-O4XLMI2P-BCDk0ZIW.js";
13
- import { r as v, t as y } from "./chunk-GLR3WWYH-CqFdLic9.js";
14
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-INFDFZHY.mjs
1
+ import { g as e, h as t, m as n, p as r } from "./src-CUQ6oOYk.js";
2
+ import { h as i, s as a } from "./chunk-GEFDOKGD-BWpC-zoH.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-QT6IorJ_.js";
4
+ import { t as h } from "./channel-DFgF_2F7.js";
5
+ import "./chunk-PU5JKC2W-DdP8BS-S.js";
6
+ import "./chunk-MX3YWQON-BxE-Aq9c.js";
7
+ import "./chunk-YBOYWFTD-CvaddD9G.js";
8
+ import { t as g } from "./chunk-55IACEB6-DGtfGRgi.js";
9
+ import { t as _ } from "./chunk-KX2RTZJC-D5cc4rj6.js";
10
+ import "./chunk-PQ6SQG4A-D3jtNCWN.js";
11
+ import "./chunk-KYZI473N-BHJ3T5Zv.js";
12
+ import "./chunk-O4XLMI2P-qjOoGpnx.js";
13
+ import { r as v, t as y } from "./chunk-GLR3WWYH-DiXcKb5Y.js";
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
- var e = /* @__PURE__ */ r(function(e, t, n, r) {
16
+ var e = /* @__PURE__ */ t(function(e, t, n, r) {
17
17
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
18
18
  return n;
19
- }, "o"), t = [
19
+ }, "o"), n = [
20
20
  6,
21
21
  8,
22
22
  10,
@@ -36,7 +36,7 @@ var b = (function() {
36
36
  50,
37
37
  51,
38
38
  52
39
- ], n = [1, 10], i = [1, 11], a = [1, 12], o = [1, 13], s = [1, 23], c = [1, 24], l = [1, 25], u = [1, 26], d = [1, 27], f = [1, 19], p = [1, 28], m = [1, 29], h = [1, 20], g = [1, 18], _ = [1, 21], v = [1, 22], y = [1, 36], b = [1, 37], x = [1, 38], S = [1, 39], C = [1, 40], w = [
39
+ ], r = [1, 10], i = [1, 11], a = [1, 12], o = [1, 13], s = [1, 23], c = [1, 24], l = [1, 25], u = [1, 26], d = [1, 27], f = [1, 19], p = [1, 28], m = [1, 29], h = [1, 20], g = [1, 18], _ = [1, 21], v = [1, 22], y = [1, 36], b = [1, 37], x = [1, 38], S = [1, 39], C = [1, 40], w = [
40
40
  6,
41
41
  8,
42
42
  10,
@@ -130,7 +130,7 @@ var b = (function() {
130
130
  60,
131
131
  62
132
132
  ], Y = {
133
- trace: /* @__PURE__ */ r(function() {}, "trace"),
133
+ trace: /* @__PURE__ */ t(function() {}, "trace"),
134
134
  yy: {},
135
135
  symbols_: {
136
136
  error: 2,
@@ -339,7 +339,7 @@ var b = (function() {
339
339
  [14, 1],
340
340
  [14, 1]
341
341
  ],
342
- performAction: /* @__PURE__ */ r(function(e, t, n, r, i, a, o) {
342
+ performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
343
343
  var s = a.length - 1;
344
344
  switch (i) {
345
345
  case 1: break;
@@ -543,7 +543,7 @@ var b = (function() {
543
543
  4: [1, 2]
544
544
  },
545
545
  { 1: [3] },
546
- e(t, [2, 2], { 5: 3 }),
546
+ e(n, [2, 2], { 5: 3 }),
547
547
  {
548
548
  6: [1, 4],
549
549
  7: 5,
@@ -551,7 +551,7 @@ var b = (function() {
551
551
  9: 7,
552
552
  10: [1, 8],
553
553
  11: 9,
554
- 22: n,
554
+ 22: r,
555
555
  24: i,
556
556
  26: a,
557
557
  28: o,
@@ -572,12 +572,12 @@ var b = (function() {
572
572
  51: _,
573
573
  52: v
574
574
  },
575
- e(t, [2, 7], { 1: [2, 1] }),
576
- e(t, [2, 3]),
575
+ e(n, [2, 7], { 1: [2, 1] }),
576
+ e(n, [2, 3]),
577
577
  {
578
578
  9: 30,
579
579
  11: 9,
580
- 22: n,
580
+ 22: r,
581
581
  24: i,
582
582
  26: a,
583
583
  28: o,
@@ -598,9 +598,9 @@ var b = (function() {
598
598
  51: _,
599
599
  52: v
600
600
  },
601
- e(t, [2, 5]),
602
- e(t, [2, 6]),
603
- e(t, [2, 16], {
601
+ e(n, [2, 5]),
602
+ e(n, [2, 6]),
603
+ e(n, [2, 16], {
604
604
  12: 31,
605
605
  63: 35,
606
606
  15: [1, 32],
@@ -615,20 +615,20 @@ var b = (function() {
615
615
  { 23: [1, 41] },
616
616
  { 25: [1, 42] },
617
617
  { 27: [1, 43] },
618
- e(t, [2, 27]),
619
- e(t, [2, 28]),
620
- e(t, [2, 29]),
621
- e(t, [2, 30]),
622
- e(t, [2, 31]),
618
+ e(n, [2, 27]),
619
+ e(n, [2, 28]),
620
+ e(n, [2, 29]),
621
+ e(n, [2, 30]),
622
+ e(n, [2, 31]),
623
623
  e(w, [2, 54]),
624
624
  e(w, [2, 55]),
625
625
  e(w, [2, 56]),
626
626
  e(w, [2, 57]),
627
627
  e(w, [2, 58]),
628
- e(t, [2, 32]),
629
- e(t, [2, 33]),
630
- e(t, [2, 34]),
631
- e(t, [2, 35]),
628
+ e(n, [2, 32]),
629
+ e(n, [2, 33]),
630
+ e(n, [2, 34]),
631
+ e(n, [2, 35]),
632
632
  {
633
633
  16: 44,
634
634
  40: T,
@@ -644,7 +644,7 @@ var b = (function() {
644
644
  40: T,
645
645
  41: E
646
646
  },
647
- e(t, [2, 4]),
647
+ e(n, [2, 4]),
648
648
  {
649
649
  11: 49,
650
650
  40: f,
@@ -683,9 +683,9 @@ var b = (function() {
683
683
  e(O, [2, 74]),
684
684
  e(O, [2, 75]),
685
685
  e(O, [2, 76]),
686
- e(t, [2, 24]),
687
- e(t, [2, 25]),
688
- e(t, [2, 26]),
686
+ e(n, [2, 24]),
687
+ e(n, [2, 25]),
688
+ e(n, [2, 26]),
689
689
  {
690
690
  13: k,
691
691
  38: 60,
@@ -718,7 +718,7 @@ var b = (function() {
718
718
  13: [1, 70],
719
719
  15: [1, 71]
720
720
  },
721
- e(t, [2, 17], {
721
+ e(n, [2, 17], {
722
722
  63: 35,
723
723
  12: 72,
724
724
  17: [1, 73],
@@ -730,7 +730,7 @@ var b = (function() {
730
730
  69: C
731
731
  }),
732
732
  { 19: [1, 74] },
733
- e(t, [2, 14]),
733
+ e(n, [2, 14]),
734
734
  {
735
735
  18: 75,
736
736
  19: [2, 59],
@@ -777,7 +777,7 @@ var b = (function() {
777
777
  e(V, [2, 51]),
778
778
  e(V, [2, 52]),
779
779
  e(V, [2, 53]),
780
- e(t, [2, 41], { 42: j }),
780
+ e(n, [2, 41], { 42: j }),
781
781
  {
782
782
  6: I,
783
783
  10: L,
@@ -811,7 +811,7 @@ var b = (function() {
811
811
  54: 54,
812
812
  58: D
813
813
  },
814
- e(t, [2, 12]),
814
+ e(n, [2, 12]),
815
815
  { 19: [2, 60] },
816
816
  e(G, [2, 61], {
817
817
  56: 97,
@@ -826,7 +826,7 @@ var b = (function() {
826
826
  61,
827
827
  62
828
828
  ], [2, 66]),
829
- e(t, [2, 22], {
829
+ e(n, [2, 22], {
830
830
  15: [1, 103],
831
831
  17: [1, 102]
832
832
  }),
@@ -837,7 +837,7 @@ var b = (function() {
837
837
  51,
838
838
  52
839
839
  ], [2, 71]),
840
- e(t, [2, 36]),
840
+ e(n, [2, 36]),
841
841
  {
842
842
  13: k,
843
843
  41: A,
@@ -846,17 +846,17 @@ var b = (function() {
846
846
  48: M,
847
847
  49: N
848
848
  },
849
- e(t, [2, 47]),
850
- e(t, [2, 48]),
851
- e(t, [2, 49]),
849
+ e(n, [2, 47]),
850
+ e(n, [2, 48]),
851
+ e(n, [2, 49]),
852
852
  e(P, [2, 39]),
853
853
  e(P, [2, 40]),
854
854
  e(V, [2, 46]),
855
- e(t, [2, 42]),
856
- e(t, [2, 8]),
857
- e(t, [2, 79]),
858
- e(t, [2, 80]),
859
- e(t, [2, 81]),
855
+ e(n, [2, 42]),
856
+ e(n, [2, 8]),
857
+ e(n, [2, 79]),
858
+ e(n, [2, 80]),
859
+ e(n, [2, 81]),
860
860
  {
861
861
  13: [1, 105],
862
862
  42: j
@@ -866,7 +866,7 @@ var b = (function() {
866
866
  15: [1, 106]
867
867
  },
868
868
  { 19: [1, 108] },
869
- e(t, [2, 15]),
869
+ e(n, [2, 15]),
870
870
  e(G, [2, 62], {
871
871
  57: 109,
872
872
  60: [1, 110],
@@ -912,26 +912,26 @@ var b = (function() {
912
912
  50: U,
913
913
  72: W
914
914
  },
915
- e(t, [2, 13]),
915
+ e(n, [2, 13]),
916
916
  e(G, [2, 64]),
917
917
  {
918
918
  59: 117,
919
919
  61: K
920
920
  },
921
921
  { 19: [1, 118] },
922
- e(t, [2, 20]),
923
- e(t, [2, 23], {
922
+ e(n, [2, 20]),
923
+ e(n, [2, 23], {
924
924
  17: [1, 119],
925
925
  42: j
926
926
  }),
927
- e(t, [2, 11]),
927
+ e(n, [2, 11]),
928
928
  {
929
929
  13: [1, 120],
930
930
  42: j
931
931
  },
932
- e(t, [2, 10]),
932
+ e(n, [2, 10]),
933
933
  e(J, [2, 68]),
934
- e(t, [2, 18]),
934
+ e(n, [2, 18]),
935
935
  {
936
936
  18: 121,
937
937
  19: [1, 122],
@@ -946,23 +946,23 @@ var b = (function() {
946
946
  72: W
947
947
  },
948
948
  { 19: [1, 124] },
949
- e(t, [2, 21]),
950
- e(t, [2, 9]),
951
- e(t, [2, 19])
949
+ e(n, [2, 21]),
950
+ e(n, [2, 9]),
951
+ e(n, [2, 19])
952
952
  ],
953
953
  defaultActions: {
954
954
  55: [2, 65],
955
955
  75: [2, 60]
956
956
  },
957
- parseError: /* @__PURE__ */ r(function(e, t) {
957
+ parseError: /* @__PURE__ */ t(function(e, t) {
958
958
  if (t.recoverable) this.trace(e);
959
959
  else {
960
960
  var n = Error(e);
961
961
  throw n.hash = t, n;
962
962
  }
963
963
  }, "parseError"),
964
- parse: /* @__PURE__ */ r(function(e) {
965
- var t = this, n = [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: {} };
964
+ parse: /* @__PURE__ */ t(function(e) {
965
+ 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: {} };
966
966
  for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
967
967
  h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
968
968
  var v = h.yylloc;
@@ -970,16 +970,16 @@ var b = (function() {
970
970
  var y = h.options && h.options.ranges;
971
971
  typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
972
972
  function b(e) {
973
- n.length -= 2 * e, a.length -= e, o.length -= e;
973
+ r.length -= 2 * e, a.length -= e, o.length -= e;
974
974
  }
975
- r(b, "popStack");
975
+ t(b, "popStack");
976
976
  function x() {
977
977
  var e = i.pop() || h.lex() || p;
978
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
978
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
979
979
  }
980
- r(x, "lex");
980
+ t(x, "lex");
981
981
  for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
982
- if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
982
+ 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]) {
983
983
  var M = "";
984
984
  for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
985
985
  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, {
@@ -993,7 +993,7 @@ var b = (function() {
993
993
  if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
994
994
  switch (T[0]) {
995
995
  case 1:
996
- n.push(S), a.push(h.yytext), o.push(h.yylloc), n.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--);
996
+ 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--);
997
997
  break;
998
998
  case 2:
999
999
  if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
@@ -1010,7 +1010,7 @@ var b = (function() {
1010
1010
  a,
1011
1011
  o
1012
1012
  ].concat(m)), E !== void 0) return E;
1013
- k && (n = n.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[n[n.length - 2]][n[n.length - 1]], n.push(A);
1013
+ 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);
1014
1014
  break;
1015
1015
  case 3: return !0;
1016
1016
  }
@@ -1021,11 +1021,11 @@ var b = (function() {
1021
1021
  Y.lexer = /* @__PURE__ */ (function() {
1022
1022
  return {
1023
1023
  EOF: 1,
1024
- parseError: /* @__PURE__ */ r(function(e, t) {
1024
+ parseError: /* @__PURE__ */ t(function(e, t) {
1025
1025
  if (this.yy.parser) this.yy.parser.parseError(e, t);
1026
1026
  else throw Error(e);
1027
1027
  }, "parseError"),
1028
- setInput: /* @__PURE__ */ r(function(e, t) {
1028
+ setInput: /* @__PURE__ */ t(function(e, t) {
1029
1029
  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 = {
1030
1030
  first_line: 1,
1031
1031
  first_column: 0,
@@ -1033,11 +1033,11 @@ var b = (function() {
1033
1033
  last_column: 0
1034
1034
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1035
1035
  }, "setInput"),
1036
- input: /* @__PURE__ */ r(function() {
1036
+ input: /* @__PURE__ */ t(function() {
1037
1037
  var e = this._input[0];
1038
1038
  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;
1039
1039
  }, "input"),
1040
- unput: /* @__PURE__ */ r(function(e) {
1040
+ unput: /* @__PURE__ */ t(function(e) {
1041
1041
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1042
1042
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1043
1043
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -1050,10 +1050,10 @@ var b = (function() {
1050
1050
  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
1051
1051
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1052
1052
  }, "unput"),
1053
- more: /* @__PURE__ */ r(function() {
1053
+ more: /* @__PURE__ */ t(function() {
1054
1054
  return this._more = !0, this;
1055
1055
  }, "more"),
1056
- reject: /* @__PURE__ */ r(function() {
1056
+ reject: /* @__PURE__ */ t(function() {
1057
1057
  if (this.options.backtrack_lexer) this._backtrack = !0;
1058
1058
  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(), {
1059
1059
  text: "",
@@ -1062,22 +1062,22 @@ var b = (function() {
1062
1062
  });
1063
1063
  return this;
1064
1064
  }, "reject"),
1065
- less: /* @__PURE__ */ r(function(e) {
1065
+ less: /* @__PURE__ */ t(function(e) {
1066
1066
  this.unput(this.match.slice(e));
1067
1067
  }, "less"),
1068
- pastInput: /* @__PURE__ */ r(function() {
1068
+ pastInput: /* @__PURE__ */ t(function() {
1069
1069
  var e = this.matched.substr(0, this.matched.length - this.match.length);
1070
1070
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1071
1071
  }, "pastInput"),
1072
- upcomingInput: /* @__PURE__ */ r(function() {
1072
+ upcomingInput: /* @__PURE__ */ t(function() {
1073
1073
  var e = this.match;
1074
1074
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1075
1075
  }, "upcomingInput"),
1076
- showPosition: /* @__PURE__ */ r(function() {
1076
+ showPosition: /* @__PURE__ */ t(function() {
1077
1077
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
1078
1078
  return e + this.upcomingInput() + "\n" + t + "^";
1079
1079
  }, "showPosition"),
1080
- test_match: /* @__PURE__ */ r(function(e, t) {
1080
+ test_match: /* @__PURE__ */ t(function(e, t) {
1081
1081
  var n, r, i;
1082
1082
  if (this.options.backtrack_lexer && (i = {
1083
1083
  yylineno: this.yylineno,
@@ -1110,7 +1110,7 @@ var b = (function() {
1110
1110
  }
1111
1111
  return !1;
1112
1112
  }, "test_match"),
1113
- next: /* @__PURE__ */ r(function() {
1113
+ next: /* @__PURE__ */ t(function() {
1114
1114
  if (this.done) return this.EOF;
1115
1115
  this._input || (this.done = !0);
1116
1116
  var e, t, n, r;
@@ -1130,29 +1130,29 @@ var b = (function() {
1130
1130
  line: this.yylineno
1131
1131
  });
1132
1132
  }, "next"),
1133
- lex: /* @__PURE__ */ r(function() {
1133
+ lex: /* @__PURE__ */ t(function() {
1134
1134
  return this.next() || this.lex();
1135
1135
  }, "lex"),
1136
- begin: /* @__PURE__ */ r(function(e) {
1136
+ begin: /* @__PURE__ */ t(function(e) {
1137
1137
  this.conditionStack.push(e);
1138
1138
  }, "begin"),
1139
- popState: /* @__PURE__ */ r(function() {
1139
+ popState: /* @__PURE__ */ t(function() {
1140
1140
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1141
1141
  }, "popState"),
1142
- _currentRules: /* @__PURE__ */ r(function() {
1142
+ _currentRules: /* @__PURE__ */ t(function() {
1143
1143
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1144
1144
  }, "_currentRules"),
1145
- topState: /* @__PURE__ */ r(function(e) {
1145
+ topState: /* @__PURE__ */ t(function(e) {
1146
1146
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1147
1147
  }, "topState"),
1148
- pushState: /* @__PURE__ */ r(function(e) {
1148
+ pushState: /* @__PURE__ */ t(function(e) {
1149
1149
  this.begin(e);
1150
1150
  }, "pushState"),
1151
- stateStackSize: /* @__PURE__ */ r(function() {
1151
+ stateStackSize: /* @__PURE__ */ t(function() {
1152
1152
  return this.conditionStack.length;
1153
1153
  }, "stateStackSize"),
1154
1154
  options: { "case-insensitive": !0 },
1155
- performAction: /* @__PURE__ */ r(function(e, t, n, r) {
1155
+ performAction: /* @__PURE__ */ t(function(e, t, n, r) {
1156
1156
  switch (n) {
1157
1157
  case 0: return this.begin("acc_title"), 24;
1158
1158
  case 1: return this.popState(), "acc_title_value";
@@ -1426,7 +1426,7 @@ var b = (function() {
1426
1426
  function X() {
1427
1427
  this.yy = {};
1428
1428
  }
1429
- return r(X, "Parser"), X.prototype = Y, Y.Parser = X, new X();
1429
+ return t(X, "Parser"), X.prototype = Y, Y.Parser = X, new X();
1430
1430
  })();
1431
1431
  b.parser = b;
1432
1432
  var x = b, S = class {
@@ -1440,23 +1440,23 @@ var x = b, S = class {
1440
1440
  }, this.Identification = {
1441
1441
  NON_IDENTIFYING: "NON_IDENTIFYING",
1442
1442
  IDENTIFYING: "IDENTIFYING"
1443
- }, this.setAccTitle = c, this.getAccTitle = m, this.setAccDescription = o, this.getAccDescription = u, this.setDiagramTitle = l, this.getDiagramTitle = s, this.getConfig = /* @__PURE__ */ r(() => f().er, "getConfig"), this.clear(), this.addEntity = this.addEntity.bind(this), this.addAttributes = this.addAttributes.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setDirection = this.setDirection.bind(this), this.addCssStyles = this.addCssStyles.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
1443
+ }, this.setAccTitle = c, this.getAccTitle = m, this.setAccDescription = o, this.getAccDescription = u, this.setDiagramTitle = l, this.getDiagramTitle = s, this.getConfig = /* @__PURE__ */ t(() => f().er, "getConfig"), this.clear(), this.addEntity = this.addEntity.bind(this), this.addAttributes = this.addAttributes.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setDirection = this.setDirection.bind(this), this.addCssStyles = this.addCssStyles.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
1444
1444
  }
1445
1445
  static {
1446
- r(this, "ErDB");
1446
+ t(this, "ErDB");
1447
1447
  }
1448
- addEntity(e, t = "") {
1449
- return this.entities.has(e) ? !this.entities.get(e)?.alias && t && (this.entities.get(e).alias = t, n.info(`Add alias '${t}' to entity '${e}'`)) : (this.entities.set(e, {
1450
- id: `entity-${e}-${this.entities.size}`,
1451
- label: e,
1448
+ addEntity(t, n = "") {
1449
+ return this.entities.has(t) ? !this.entities.get(t)?.alias && n && (this.entities.get(t).alias = n, e.info(`Add alias '${n}' to entity '${t}'`)) : (this.entities.set(t, {
1450
+ id: `entity-${t}-${this.entities.size}`,
1451
+ label: t,
1452
1452
  attributes: [],
1453
- alias: t,
1453
+ alias: n,
1454
1454
  shape: "erBox",
1455
1455
  look: f().look ?? "default",
1456
1456
  cssClasses: "default",
1457
1457
  cssStyles: [],
1458
1458
  labelType: "markdown"
1459
- }), n.info("Added new entity :", e)), this.entities.get(e);
1459
+ }), e.info("Added new entity :", t)), this.entities.get(t);
1460
1460
  }
1461
1461
  getEntity(e) {
1462
1462
  return this.entities.get(e);
@@ -1467,20 +1467,20 @@ var x = b, S = class {
1467
1467
  getClasses() {
1468
1468
  return this.classes;
1469
1469
  }
1470
- addAttributes(e, t) {
1471
- let r = this.addEntity(e), i;
1472
- for (i = t.length - 1; i >= 0; i--) t[i].keys || (t[i].keys = []), t[i].comment || (t[i].comment = ""), r.attributes.push(t[i]), n.debug("Added attribute ", t[i].name);
1470
+ addAttributes(t, n) {
1471
+ let r = this.addEntity(t), i;
1472
+ for (i = n.length - 1; i >= 0; i--) n[i].keys || (n[i].keys = []), n[i].comment || (n[i].comment = ""), r.attributes.push(n[i]), e.debug("Added attribute ", n[i].name);
1473
1473
  }
1474
- addRelationship(e, t, r, i) {
1475
- let a = this.entities.get(e), o = this.entities.get(r);
1474
+ addRelationship(t, n, r, i) {
1475
+ let a = this.entities.get(t), o = this.entities.get(r);
1476
1476
  if (!a || !o) return;
1477
1477
  let s = {
1478
1478
  entityA: a.id,
1479
- roleA: t,
1479
+ roleA: n,
1480
1480
  entityB: o.id,
1481
1481
  relSpec: i
1482
1482
  };
1483
- this.relationships.push(s), n.debug("Added new relationship :", s);
1483
+ this.relationships.push(s), e.debug("Added new relationship :", s);
1484
1484
  }
1485
1485
  getRelationships() {
1486
1486
  return this.relationships;
@@ -1532,17 +1532,17 @@ var x = b, S = class {
1532
1532
  this.entities = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.relationships = [], d();
1533
1533
  }
1534
1534
  getData() {
1535
- let e = [], n = [], r = f();
1535
+ let e = [], t = [], n = f();
1536
1536
  for (let t of this.entities.keys()) {
1537
1537
  let n = this.entities.get(t);
1538
1538
  n && (n.cssCompiledStyles = this.getCompiledStyles(n.cssClasses.split(" ")), e.push(n));
1539
1539
  }
1540
- let i = 0;
1540
+ let r = 0;
1541
1541
  for (let e of this.relationships) {
1542
- let a = {
1543
- id: t(e.entityA, e.entityB, {
1542
+ let i = {
1543
+ id: a(e.entityA, e.entityB, {
1544
1544
  prefix: "id",
1545
- counter: i++
1545
+ counter: r++
1546
1546
  }),
1547
1547
  type: "normal",
1548
1548
  curve: "basis",
@@ -1555,39 +1555,39 @@ var x = b, S = class {
1555
1555
  arrowTypeStart: e.relSpec.cardB.toLowerCase(),
1556
1556
  arrowTypeEnd: e.relSpec.cardA.toLowerCase(),
1557
1557
  pattern: e.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
1558
- look: r.look,
1558
+ look: n.look,
1559
1559
  labelType: "markdown"
1560
1560
  };
1561
- n.push(a);
1561
+ t.push(i);
1562
1562
  }
1563
1563
  return {
1564
1564
  nodes: e,
1565
- edges: n,
1565
+ edges: t,
1566
1566
  other: {},
1567
- config: r,
1567
+ config: n,
1568
1568
  direction: "TB"
1569
1569
  };
1570
1570
  }
1571
1571
  }, C = {};
1572
- i(C, { draw: () => w });
1573
- var w = /* @__PURE__ */ r(async function(t, r, i, o) {
1574
- n.info("REF0:"), n.info("Drawing er diagram (unified)", r);
1575
- let { securityLevel: s, er: c, layout: l } = f(), u = o.db.getData(), d = g(r, s);
1572
+ n(C, { draw: () => w });
1573
+ var w = /* @__PURE__ */ t(async function(t, n, a, o) {
1574
+ e.info("REF0:"), e.info("Drawing er diagram (unified)", n);
1575
+ let { securityLevel: s, er: c, layout: l } = f(), u = o.db.getData(), d = g(n, s);
1576
1576
  u.type = o.type, u.layoutAlgorithm = y(l), u.config.flowchart.nodeSpacing = c?.nodeSpacing || 140, u.config.flowchart.rankSpacing = c?.rankSpacing || 80, u.direction = o.db.getDirection(), u.markers = [
1577
1577
  "only_one",
1578
1578
  "zero_or_one",
1579
1579
  "one_or_more",
1580
1580
  "zero_or_more"
1581
- ], u.diagramId = r, await v(u, d), u.layoutAlgorithm === "elk" && d.select(".edges").lower();
1581
+ ], u.diagramId = n, await v(u, d), u.layoutAlgorithm === "elk" && d.select(".edges").lower();
1582
1582
  let p = d.selectAll("[id*=\"-background\"]");
1583
1583
  Array.from(p).length > 0 && p.each(function() {
1584
- let e = a(this), t = e.attr("id").replace("-background", ""), n = d.select(`#${CSS.escape(t)}`);
1584
+ let e = r(this), t = e.attr("id").replace("-background", ""), n = d.select(`#${CSS.escape(t)}`);
1585
1585
  if (!n.empty()) {
1586
1586
  let t = n.attr("transform");
1587
1587
  e.attr("transform", t);
1588
1588
  }
1589
- }), e.insertTitle(d, "erDiagramTitleText", c?.titleTopMargin ?? 25, o.db.getDiagramTitle()), _(d, 8, "erDiagram", c?.useMaxWidth ?? !0);
1590
- }, "draw"), T = /* @__PURE__ */ r((e, t) => {
1589
+ }), i.insertTitle(d, "erDiagramTitleText", c?.titleTopMargin ?? 25, o.db.getDiagramTitle()), _(d, 8, "erDiagram", c?.useMaxWidth ?? !0);
1590
+ }, "draw"), T = /* @__PURE__ */ t((e, t) => {
1591
1591
  let n = h;
1592
1592
  return p(n(e, "r"), n(e, "g"), n(e, "b"), t);
1593
1593
  }, "fade"), E = {
@@ -1596,7 +1596,7 @@ var w = /* @__PURE__ */ r(async function(t, r, i, o) {
1596
1596
  return new S();
1597
1597
  },
1598
1598
  renderer: C,
1599
- styles: /* @__PURE__ */ r((e) => `
1599
+ styles: /* @__PURE__ */ t((e) => `
1600
1600
  .entityBox {
1601
1601
  fill: ${e.mainBkg};
1602
1602
  stroke: ${e.nodeBorder};