@kong-ui-public/documentation 0.4.13 → 0.4.15

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 (56) hide show
  1. package/dist/arc-COsOHw50-D7E-_XLT.js +86 -0
  2. package/dist/{astro-D4FIwVxr-CovDYZfT.js → astro-U6b0KI4d-Bfq8RcMV.js} +1 -1
  3. package/dist/{blockDiagram-6b2b5046-BabM1eIl-BiFw3WJ6.js → blockDiagram-91b80b7a-BKGTNNj9-DPDwkz4t.js} +24 -24
  4. package/dist/{c4Diagram-b947cdbb-BBGJ9ivn-BA4nSYfd.js → c4Diagram-b2a90758-BL_2KQjG-DaGASxNN.js} +133 -132
  5. package/dist/channel-ByAWxImn-f765KETj.js +5 -0
  6. package/dist/{classDiagram-35230388-CRYNduH8-CLsxllrW.js → classDiagram-30eddba6-k40qxgte-CyhC7xkz.js} +8 -7
  7. package/dist/{classDiagram-v2-412acd34-5HbyJrnL-DB1xO44x.js → classDiagram-v2-f2df5561-Bhszhjj1-C4F9RBij.js} +7 -7
  8. package/dist/{clone-BoeTe_OS-CQarmEZE.js → clone-B9jLUWz8-1hK-sDX-.js} +1 -1
  9. package/dist/{createText-423428c9-Q0HfccbL-Bwaom8lh.js → createText-6b48ae7d-CwDinsnJ-CAWP3GNM.js} +2 -1
  10. package/dist/documentation.es.js +5 -5
  11. package/dist/documentation.umd.js +991 -720
  12. package/dist/{edges-d417c7a0-DEJA2PwU-BX5bd8a1.js → edges-d32062c0-D81gGEnb-BSSWdCZc.js} +28 -27
  13. package/dist/{erDiagram-0ea73325-C3DQ6B1e-GwhT3lGQ.js → erDiagram-47591fe2-Ct0H1qRr-_AGdmUQQ.js} +38 -38
  14. package/dist/{flowDb-d35e309a-RvFFqjek-t_Dexseh.js → flowDb-4b19a42f-DUQIsrJ6-DCwHR8f-.js} +45 -45
  15. package/dist/{flowDiagram-d949d7c1-Boa20b_n-CJ3aILFD.js → flowDiagram-5540d9b9-lDK0hXfd-Bdkj8eFj.js} +317 -309
  16. package/dist/{flowDiagram-v2-49332944-BJtijxhz-Cgd4t08U.js → flowDiagram-v2-3b53844e-C-MZcHj1-D__kxFEB.js} +5 -5
  17. package/dist/{flowchart-elk-definition-27cc417a-BBD3LS9k-Bb9_HTfE.js → flowchart-elk-definition-5fe447d6-Cl1YzK8W-CId-TpNq.js} +10626 -10624
  18. package/dist/{ganttDiagram-5c869e3b-CRDFjzTp-lNK9bq-O.js → ganttDiagram-9a3bba1f-DgegevHg-DZ_QmRCe.js} +488 -477
  19. package/dist/{git-rebase-sR-yVH_J-D5M2oE9O.js → git-rebase-B7sc3yJp-BPxHM_r2.js} +1 -1
  20. package/dist/gitGraphDiagram-96e6b4ee-B544kZVD-qe2_EQ9q.js +1264 -0
  21. package/dist/{graph-BIq67vWs-Bc3nX8P0.js → graph-nSQNMZNt-mH_8BQHy.js} +64 -64
  22. package/dist/{haml-BT5dFrjs-CmYUmNQ_.js → haml-DsuMo-J7-DWhF2QrW.js} +1 -1
  23. package/dist/{http-DSIFYUfg-BZm1KGvb.js → http-ClrjZLFz-gNFfL9hE.js} +1 -1
  24. package/dist/{index-Bh6WVkCI.js → index-D5pPsg1E.js} +2826 -2744
  25. package/dist/{index-8fae9850-CaUboB89-B0nma_3r.js → index-fc10efb0-BQFKNTyl-JVOq35xY.js} +11 -11
  26. package/dist/{infoDiagram-db7b18fc-DKsewKnu-CWVarnHo.js → infoDiagram-bcd20f53-DA00HiLo-BGr4Dz2T.js} +12 -12
  27. package/dist/{journeyDiagram-d5636530-ClddNDmR-ywsNZNTr.js → journeyDiagram-4fe6b3dc-Dy2VexAM-NIeKHdta.js} +42 -42
  28. package/dist/katex-BQC_klMa-CaeA20wX.js +11636 -0
  29. package/dist/{latex-QX-FNvxY-DfqkUAVR.js → latex-9g43iAzl-B3VseW3K.js} +1 -1
  30. package/dist/{layout-Cz0dAJah-C3YaSszT.js → layout-CsrWmvDo-DTw5CAfp.js} +132 -132
  31. package/dist/{line-BCVITS7s-Du1xeoK-.js → line-_Hv2N8bu-DmtYY3xM.js} +1 -1
  32. package/dist/{linear-CLHAbj67-1tzRLAFO.js → linear-Bq62Qb31-CO-Jqi9k.js} +35 -35
  33. package/dist/{mindmap-definition-377f8f1f-BwEJ-DVg-DeBewnKQ.js → mindmap-definition-f354de21-6GdeE-da-DM2y_OOl.js} +6647 -6414
  34. package/dist/{pieDiagram-b0208e96-Cyz2Kcfu-B1Q8dscS.js → pieDiagram-79897490--sueuFsN-DtjjX42X.js} +68 -68
  35. package/dist/{quadrantDiagram-0332be45-CDMkEQj0-D0ioHd_P.js → quadrantDiagram-62f64e94-B45V10Ws-Ndfd04fG.js} +2 -2
  36. package/dist/{requirementDiagram-bf7890df-Jk3SQ-Q1-BB9UHuUh.js → requirementDiagram-05bf5f74-DKrzFj3--D6oca5bf.js} +30 -30
  37. package/dist/{rst-Bm1i8IkK-C9EaDq6g.js → rst-iTJmEY_6-AgWIzPqn.js} +2 -2
  38. package/dist/{ruby-CZZKXaz8-BxaDEkRP.js → ruby-3Bt2I2On--AixRnjJ.js} +1 -1
  39. package/dist/{sankeyDiagram-0acdec17-BJuIUJd_-Ce7q-NNk.js → sankeyDiagram-97764748-Cal39XvH-BOP-mysV.js} +22 -22
  40. package/dist/{sequenceDiagram-c18d009d-B4IxGCEM-DgvEmabG.js → sequenceDiagram-acc0e65c-C7SBKcFC-x6hQBmQa.js} +917 -884
  41. package/dist/shellscript-DQ1J75ow-DQ1J75ow.js +7 -0
  42. package/dist/{shellsession-BIPXtZci-D6avbCwN.js → shellsession-btSM7PAE-lMmUmCMx.js} +1 -1
  43. package/dist/{stateDiagram-43596fc0-0xEMkbt_-jFUk_xdU.js → stateDiagram-0ff1cf1a-CeTkJw-0-ClBBBO40.js} +5 -5
  44. package/dist/{stateDiagram-v2-2ead4f9c-DS4afpcC-jDCqPtGk.js → stateDiagram-v2-9a9d610d-B6v4YFRe-CKL2DHOu.js} +12 -12
  45. package/dist/{styles-7383a064-C7WyH3qz-B1ftH-y8.js → styles-3ed67cfa-BKhmbt4H-1C0K2oHO.js} +140 -137
  46. package/dist/{styles-6860f46c-ZdhsT5S9-Du_QdneE.js → styles-991ebdfc-D52vcIGN-z8Dw_NvD.js} +19 -19
  47. package/dist/{styles-b2c874b6-BFg-Nblp-B0z_umAE.js → styles-d20c7d72-0tQ-upPv-BfgJ1gvQ.js} +24 -24
  48. package/dist/{svgDrawCommon-0ee1b4e9-CpOZq9bS-BwyJFwu6.js → svgDrawCommon-5ccd53ef-CUtig_WQ-BXE0zXmR.js} +4 -4
  49. package/dist/{timeline-definition-d977decf-BqZwyTB6-qFhObMdA.js → timeline-definition-fea2a41d-DMC1sAGv-CgGK3eeA.js} +2 -2
  50. package/dist/{twig-B_Gr-ODl-Cl9Q0GWo.js → twig-Dcp9VbaI-FN48_KCA.js} +1 -1
  51. package/dist/{xychartDiagram-e50adddc-C1fuuOEQ-DHvZ99O1.js → xychartDiagram-ab372869-BsavOqc0-Cni7765l.js} +30 -30
  52. package/package.json +4 -4
  53. package/dist/arc-C2t0ExPw-DLpexKUK.js +0 -86
  54. package/dist/channel-DXyvEer2-Do9TwFFf.js +0 -5
  55. package/dist/gitGraphDiagram-b9d81de9-D1rNIGL0-DDkwKLsk.js +0 -1262
  56. package/dist/shellscript-CUUTQKn5-CUUTQKn5.js +0 -7
@@ -1,6 +1,6 @@
1
- import { p as R, c as w, d as F, an as G, h as _, l as f, y as N, ao as lt } from "./index-Bh6WVkCI.js";
2
- import { U as nt } from "./createText-423428c9-Q0HfccbL-Bwaom8lh.js";
3
- import { P as ot } from "./line-BCVITS7s-Du1xeoK-.js";
1
+ import { p as R, c as w, d as F, ao as q, h as _, l as f, z as N, ap as lt } from "./index-D5pPsg1E.js";
2
+ import { U as nt } from "./createText-6b48ae7d-CwDinsnJ-CAWP3GNM.js";
3
+ import { P as ot } from "./line-_Hv2N8bu-DmtYY3xM.js";
4
4
  const dt = (e, t, a, s) => {
5
5
  t.forEach((l) => {
6
6
  bt[l](e, a, s);
@@ -49,8 +49,9 @@ const Lt = (e, t, a, s) => {
49
49
  l = l.replace(/\\n|\n/g, "<br />"), f.debug("vertexText" + l);
50
50
  const r = {
51
51
  isNode: s,
52
- label: G(l).replace(
52
+ label: q(l).replace(
53
53
  /fa[blrs]?:fa-[\w-]+/g,
54
+ // cspell: disable-line
54
55
  (n) => `<i class='${n.replace(":", " ")}'></i>`
55
56
  ),
56
57
  labelStyle: t.replace("fill:", "color:")
@@ -76,13 +77,13 @@ const Lt = (e, t, a, s) => {
76
77
  t.labelText === void 0 ? o = "" : o = typeof t.labelText == "string" ? t.labelText : t.labelText[0];
77
78
  const h = i.node();
78
79
  let d;
79
- t.labelType === "markdown" ? d = nt(i, F(G(o), w()), {
80
+ t.labelType === "markdown" ? d = nt(i, F(q(o), w()), {
80
81
  useHtmlLabels: r,
81
82
  width: t.width || w().flowchart.wrappingWidth,
82
83
  classes: "markdown-node-label"
83
84
  }) : d = h.appendChild(
84
85
  P(
85
- F(G(o), w()),
86
+ F(q(o), w()),
86
87
  t.labelStyle,
87
88
  !1,
88
89
  s
@@ -502,7 +503,7 @@ const Bt = (e, t) => {
502
503
  ), r = a.insert("rect", ":first-child"), n = t.positioned ? t.width : s.width + t.padding, i = t.positioned ? t.height : s.height + t.padding, o = t.positioned ? -n / 2 : -s.width / 2 - l, h = t.positioned ? -i / 2 : -s.height / 2 - l;
503
504
  if (r.attr("class", "basic label-container").attr("style", t.style).attr("rx", t.rx).attr("ry", t.ry).attr("x", o).attr("y", h).attr("width", n).attr("height", i), t.props) {
504
505
  const d = new Set(Object.keys(t.props));
505
- t.props.borders && (q(r, t.props.borders, n, i), d.delete("borders")), d.forEach((c) => {
506
+ t.props.borders && (G(r, t.props.borders, n, i), d.delete("borders")), d.forEach((c) => {
506
507
  f.warn(`Unknown node property ${c}`);
507
508
  });
508
509
  }
@@ -518,20 +519,20 @@ const Bt = (e, t) => {
518
519
  ), r = a.insert("rect", ":first-child"), n = t.positioned ? t.width : s.width + t.padding, i = t.positioned ? t.height : s.height + t.padding, o = t.positioned ? -n / 2 : -s.width / 2 - l, h = t.positioned ? -i / 2 : -s.height / 2 - l;
519
520
  if (r.attr("class", "basic cluster composite label-container").attr("style", t.style).attr("rx", t.rx).attr("ry", t.ry).attr("x", o).attr("y", h).attr("width", n).attr("height", i), t.props) {
520
521
  const d = new Set(Object.keys(t.props));
521
- t.props.borders && (q(r, t.props.borders, n, i), d.delete("borders")), d.forEach((c) => {
522
+ t.props.borders && (G(r, t.props.borders, n, i), d.delete("borders")), d.forEach((c) => {
522
523
  f.warn(`Unknown node property ${c}`);
523
524
  });
524
525
  }
525
526
  return m(t, r), t.intersect = function(d) {
526
527
  return b.rect(t, d);
527
528
  }, a;
528
- }, Zt = async (e, t) => {
529
+ }, zt = async (e, t) => {
529
530
  const { shapeSvg: a } = await M(e, t, "label", !0);
530
531
  f.trace("Classes = ", t.class);
531
532
  const s = a.insert("rect", ":first-child"), l = 0, r = 0;
532
533
  if (s.attr("width", l).attr("height", r), a.attr("class", "label edgeLabel"), t.props) {
533
534
  const n = new Set(Object.keys(t.props));
534
- t.props.borders && (q(s, t.props.borders, l, r), n.delete("borders")), n.forEach((i) => {
535
+ t.props.borders && (G(s, t.props.borders, l, r), n.delete("borders")), n.forEach((i) => {
535
536
  f.warn(`Unknown node property ${i}`);
536
537
  });
537
538
  }
@@ -539,7 +540,7 @@ const Bt = (e, t) => {
539
540
  return b.rect(t, n);
540
541
  }, a;
541
542
  };
542
- function q(e, t, a, s) {
543
+ function G(e, t, a, s) {
543
544
  const l = [], r = (i) => {
544
545
  l.push(i, 0);
545
546
  }, n = (i) => {
@@ -547,7 +548,7 @@ function q(e, t, a, s) {
547
548
  };
548
549
  t.includes("t") ? (f.debug("add top border"), r(a)) : n(a), t.includes("r") ? (f.debug("add right border"), r(s)) : n(s), t.includes("b") ? (f.debug("add bottom border"), r(a)) : n(a), t.includes("l") ? (f.debug("add left border"), r(s)) : n(s), e.attr("stroke-dasharray", l.join(" "));
549
550
  }
550
- const zt = (e, t) => {
551
+ const Zt = (e, t) => {
551
552
  let a;
552
553
  t.classes ? a = "node " + t.classes : a = "node default";
553
554
  const s = e.insert("g").attr("class", a).attr("id", t.domId || t.id), l = s.insert("rect", ":first-child"), r = s.insert("line"), n = s.insert("g").attr("class", "label"), i = t.labelText.flat ? t.labelText.flat() : t.labelText;
@@ -584,7 +585,7 @@ const zt = (e, t) => {
584
585
  ), l.attr("class", "outer title-state").attr("x", -d.width / 2 - x).attr("y", -d.height / 2 - x).attr("width", d.width + t.padding).attr("height", d.height + t.padding), r.attr("class", "divider").attr("x1", -d.width / 2 - x).attr("x2", d.width / 2 + x).attr("y1", -d.height / 2 - x + p.height + x).attr("y2", -d.height / 2 - x + p.height + x), m(t, l), t.intersect = function(k) {
585
586
  return b.rect(t, k);
586
587
  }, s;
587
- }, Gt = async (e, t) => {
588
+ }, qt = async (e, t) => {
588
589
  const { shapeSvg: a, bbox: s } = await M(
589
590
  e,
590
591
  t,
@@ -594,7 +595,7 @@ const zt = (e, t) => {
594
595
  return m(t, n), t.intersect = function(i) {
595
596
  return b.rect(t, i);
596
597
  }, a;
597
- }, qt = async (e, t) => {
598
+ }, Gt = async (e, t) => {
598
599
  const { shapeSvg: a, bbox: s, halfPadding: l } = await M(
599
600
  e,
600
601
  t,
@@ -693,8 +694,8 @@ const zt = (e, t) => {
693
694
  );
694
695
  let $ = X.getBBox();
695
696
  if (R(w().flowchart.htmlLabels)) {
696
- const z = X.children[0], H = _(X);
697
- $ = z.getBoundingClientRect(), H.attr("width", $.width), H.attr("height", $.height);
697
+ const Z = X.children[0], H = _(X);
698
+ $ = Z.getBoundingClientRect(), H.attr("width", $.width), H.attr("height", $.height);
698
699
  }
699
700
  $.width > d && (d = $.width), c += $.height + s, Y.push(X);
700
701
  }), c += l;
@@ -713,8 +714,8 @@ const zt = (e, t) => {
713
714
  );
714
715
  let $ = X.getBBox();
715
716
  if (R(w().flowchart.htmlLabels)) {
716
- const z = X.children[0], H = _(X);
717
- $ = z.getBoundingClientRect(), H.attr("width", $.width), H.attr("height", $.height);
717
+ const Z = X.children[0], H = _(X);
718
+ $ = Z.getBoundingClientRect(), H.attr("width", $.width), H.attr("height", $.height);
718
719
  }
719
720
  $.width > d && (d = $.width), c += $.height + s, V.push(X);
720
721
  }), c += l, x) {
@@ -750,12 +751,12 @@ const zt = (e, t) => {
750
751
  composite: At,
751
752
  question: K,
752
753
  rect: jt,
753
- labelRect: Zt,
754
- rectWithTitle: zt,
754
+ labelRect: zt,
755
+ rectWithTitle: Zt,
755
756
  choice: Rt,
756
- circle: qt,
757
+ circle: Gt,
757
758
  doublecircle: Vt,
758
- stadium: Gt,
759
+ stadium: qt,
759
760
  hexagon: Wt,
760
761
  block_arrow: Xt,
761
762
  rect_left_inv_arrow: Yt,
@@ -874,9 +875,9 @@ const A = (e) => Array.isArray(e) ? { x: e[0], y: e[1] } : e, rr = (e) => ({
874
875
  const i = t === "start" ? "Start" : "End";
875
876
  e.attr(`marker-${t}`, `url(${s}#${l}_${r}-${n}${i})`);
876
877
  };
877
- let Z = {}, T = {};
878
+ let z = {}, T = {};
878
879
  const gr = () => {
879
- Z = {}, T = {};
880
+ z = {}, T = {};
880
881
  }, xr = (e, t) => {
881
882
  const a = R(w().flowchart.htmlLabels), s = t.labelType === "markdown" ? nt(e, t.label, {
882
883
  style: t.labelStyle,
@@ -889,7 +890,7 @@ const gr = () => {
889
890
  const o = s.children[0], h = _(s);
890
891
  n = o.getBoundingClientRect(), h.attr("width", n.width), h.attr("height", n.height);
891
892
  }
892
- r.attr("transform", "translate(" + -n.width / 2 + ", " + -n.height / 2 + ")"), Z[t.id] = l, t.width = n.width, t.height = n.height;
893
+ r.attr("transform", "translate(" + -n.width / 2 + ", " + -n.height / 2 + ")"), z[t.id] = l, t.width = n.width, t.height = n.height;
893
894
  let i;
894
895
  if (t.startLabelLeft) {
895
896
  const o = P(t.startLabelLeft, t.labelStyle), h = e.insert("g").attr("class", "edgeTerminals"), d = h.insert("g").attr("class", "inner");
@@ -921,11 +922,11 @@ function j(e, t) {
921
922
  w().flowchart.htmlLabels && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
922
923
  }
923
924
  const fr = (e, t) => {
924
- f.debug("Moving label abc88 ", e.id, e.label, Z[e.id], t);
925
+ f.debug("Moving label abc88 ", e.id, e.label, z[e.id], t);
925
926
  let a = t.updatedPath ? t.updatedPath : t.originalPath;
926
927
  const s = w(), { subGraphTitleTotalMargin: l } = tr(s);
927
928
  if (e.label) {
928
- const r = Z[e.id];
929
+ const r = z[e.id];
929
930
  let n = e.x, i = e.y;
930
931
  if (a) {
931
932
  const o = N.calcLabelPosition(a);
@@ -1,7 +1,7 @@
1
- import { c as Y, s as _t, g as ft, b as mt, a as Et, v as gt, x as bt, ar as kt, l as K, z as Ot, h as tt, y as Rt, i as Nt, ao as xt, as as Tt } from "./index-Bh6WVkCI.js";
2
- import { Z as At } from "./graph-BIq67vWs-Bc3nX8P0.js";
3
- import { A as Mt } from "./layout-Cz0dAJah-C3YaSszT.js";
4
- import { P as Dt } from "./line-BCVITS7s-Du1xeoK-.js";
1
+ import { c as Y, s as _t, g as ft, b as mt, a as Et, x as gt, y as bt, as as kt, l as K, A as Ot, h as tt, z as Rt, i as Nt, ap as xt, at as Tt } from "./index-D5pPsg1E.js";
2
+ import { Z as At } from "./graph-nSQNMZNt-mH_8BQHy.js";
3
+ import { A as Mt } from "./layout-CsrWmvDo-DTw5CAfp.js";
4
+ import { P as Dt } from "./line-_Hv2N8bu-DmtYY3xM.js";
5
5
  const It = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
6
6
  function vt(t) {
7
7
  return typeof t == "string" && It.test(t);
@@ -226,27 +226,27 @@ var rt = function() {
226
226
  }
227
227
  },
228
228
  parse: function(T) {
229
- var a = this, o = [0], n = [], y = [null], i = [], x = this.table, s = "", X = 0, at = 0, dt = 2, nt = 1, ut = i.slice.call(arguments, 1), R = Object.create(this.lexer), W = { yy: {} };
229
+ var a = this, o = [0], n = [], y = [null], i = [], x = this.table, s = "", G = 0, at = 0, dt = 2, nt = 1, ut = i.slice.call(arguments, 1), R = Object.create(this.lexer), z = { yy: {} };
230
230
  for (var j in this.yy)
231
- Object.prototype.hasOwnProperty.call(this.yy, j) && (W.yy[j] = this.yy[j]);
232
- R.setInput(T, W.yy), W.yy.lexer = R, W.yy.parser = this, typeof R.yylloc > "u" && (R.yylloc = {});
231
+ Object.prototype.hasOwnProperty.call(this.yy, j) && (z.yy[j] = this.yy[j]);
232
+ R.setInput(T, z.yy), z.yy.lexer = R, z.yy.parser = this, typeof R.yylloc > "u" && (R.yylloc = {});
233
233
  var J = R.yylloc;
234
234
  i.push(J);
235
235
  var yt = R.options && R.options.ranges;
236
- typeof W.yy.parseError == "function" ? this.parseError = W.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
236
+ typeof z.yy.parseError == "function" ? this.parseError = z.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
237
237
  function pt() {
238
238
  var P;
239
239
  return P = n.pop() || R.lex() || nt, typeof P != "number" && (P instanceof Array && (n = P, P = n.pop()), P = a.symbols_[P] || P), P;
240
240
  }
241
- for (var M, U, I, V, z = {}, G, B, st, Q; ; ) {
242
- if (U = o[o.length - 1], this.defaultActions[U] ? I = this.defaultActions[U] : ((M === null || typeof M > "u") && (M = pt()), I = x[U] && x[U][M]), typeof I > "u" || !I.length || !I[0]) {
241
+ for (var M, W, I, V, U = {}, H, B, st, Q; ; ) {
242
+ if (W = o[o.length - 1], this.defaultActions[W] ? I = this.defaultActions[W] : ((M === null || typeof M > "u") && (M = pt()), I = x[W] && x[W][M]), typeof I > "u" || !I.length || !I[0]) {
243
243
  var q = "";
244
244
  Q = [];
245
- for (G in x[U])
246
- this.terminals_[G] && G > dt && Q.push("'" + this.terminals_[G] + "'");
247
- R.showPosition ? q = "Parse error on line " + (X + 1) + `:
245
+ for (H in x[W])
246
+ this.terminals_[H] && H > dt && Q.push("'" + this.terminals_[H] + "'");
247
+ R.showPosition ? q = "Parse error on line " + (G + 1) + `:
248
248
  ` + R.showPosition() + `
249
- Expecting ` + Q.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : q = "Parse error on line " + (X + 1) + ": Unexpected " + (M == nt ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(q, {
249
+ Expecting ` + Q.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : q = "Parse error on line " + (G + 1) + ": Unexpected " + (M == nt ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(q, {
250
250
  text: R.match,
251
251
  token: this.terminals_[M] || M,
252
252
  line: R.yylineno,
@@ -255,31 +255,31 @@ Expecting ` + Q.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : q = "
255
255
  });
256
256
  }
257
257
  if (I[0] instanceof Array && I.length > 1)
258
- throw new Error("Parse Error: multiple actions possible at state: " + U + ", token: " + M);
258
+ throw new Error("Parse Error: multiple actions possible at state: " + W + ", token: " + M);
259
259
  switch (I[0]) {
260
260
  case 1:
261
- o.push(M), y.push(R.yytext), i.push(R.yylloc), o.push(I[1]), M = null, at = R.yyleng, s = R.yytext, X = R.yylineno, J = R.yylloc;
261
+ o.push(M), y.push(R.yytext), i.push(R.yylloc), o.push(I[1]), M = null, at = R.yyleng, s = R.yytext, G = R.yylineno, J = R.yylloc;
262
262
  break;
263
263
  case 2:
264
- if (B = this.productions_[I[1]][1], z.$ = y[y.length - B], z._$ = {
264
+ if (B = this.productions_[I[1]][1], U.$ = y[y.length - B], U._$ = {
265
265
  first_line: i[i.length - (B || 1)].first_line,
266
266
  last_line: i[i.length - 1].last_line,
267
267
  first_column: i[i.length - (B || 1)].first_column,
268
268
  last_column: i[i.length - 1].last_column
269
- }, yt && (z._$.range = [
269
+ }, yt && (U._$.range = [
270
270
  i[i.length - (B || 1)].range[0],
271
271
  i[i.length - 1].range[1]
272
- ]), V = this.performAction.apply(z, [
272
+ ]), V = this.performAction.apply(U, [
273
273
  s,
274
274
  at,
275
- X,
276
- W.yy,
275
+ G,
276
+ z.yy,
277
277
  I[1],
278
278
  y,
279
279
  i
280
280
  ].concat(ut)), typeof V < "u")
281
281
  return V;
282
- B && (o = o.slice(0, -1 * B * 2), y = y.slice(0, -1 * B), i = i.slice(0, -1 * B)), o.push(this.productions_[I[1]][0]), y.push(z.$), i.push(z._$), st = x[o[o.length - 2]][o[o.length - 1]], o.push(st);
282
+ B && (o = o.slice(0, -1 * B * 2), y = y.slice(0, -1 * B), i = i.slice(0, -1 * B)), o.push(this.productions_[I[1]][0]), y.push(U.$), i.push(U._$), st = x[o[o.length - 2]][o[o.length - 1]], o.push(st);
283
283
  break;
284
284
  case 3:
285
285
  return !0;
@@ -595,12 +595,12 @@ const Ft = {
595
595
  ONE_OR_MORE: "ONE_OR_MORE",
596
596
  ONLY_ONE: "ONLY_ONE",
597
597
  MD_PARENT: "MD_PARENT"
598
- }, Wt = {
598
+ }, zt = {
599
599
  NON_IDENTIFYING: "NON_IDENTIFYING",
600
600
  IDENTIFYING: "IDENTIFYING"
601
601
  }, lt = function(t, r = void 0) {
602
602
  return F[t] === void 0 ? (F[t] = { attributes: [], alias: r }, K.info("Added new entity :", t)) : F[t] && !F[t].alias && r && (F[t].alias = r, K.info(`Add alias '${r}' to entity '${t}'`)), F[t];
603
- }, Ut = () => F, zt = function(t, r) {
603
+ }, Wt = () => F, Ut = function(t, r) {
604
604
  let e = lt(t), u;
605
605
  for (u = r.length - 1; u >= 0; u--)
606
606
  e.attributes.push(r[u]), K.debug("Added attribute ", r[u].attributeName);
@@ -612,18 +612,18 @@ const Ft = {
612
612
  relSpec: u
613
613
  };
614
614
  it.push(l), K.debug("Added new relationship :", l);
615
- }, Ht = () => it, Xt = function() {
615
+ }, Xt = () => it, Gt = function() {
616
616
  F = {}, it = [], Ot();
617
- }, Gt = {
617
+ }, Ht = {
618
618
  Cardinality: Ft,
619
- Identification: Wt,
619
+ Identification: zt,
620
620
  getConfig: () => Y().er,
621
621
  addEntity: lt,
622
- addAttributes: zt,
623
- getEntities: Ut,
622
+ addAttributes: Ut,
623
+ getEntities: Wt,
624
624
  addRelationship: Kt,
625
- getRelationships: Ht,
626
- clear: Xt,
625
+ getRelationships: Xt,
626
+ clear: Gt,
627
627
  setAccTitle: _t,
628
628
  getAccTitle: ft,
629
629
  setAccDescription: mt,
@@ -648,7 +648,7 @@ const Ft = {
648
648
  ERMarkers: $,
649
649
  insertMarkers: Qt
650
650
  }, jt = /[^\dA-Za-z](\W)*/g;
651
- let b = {}, H = /* @__PURE__ */ new Map();
651
+ let b = {}, X = /* @__PURE__ */ new Map();
652
652
  const Jt = function(t) {
653
653
  const r = Object.keys(t);
654
654
  for (const e of r)
@@ -731,7 +731,7 @@ const Jt = function(t) {
731
731
  let l;
732
732
  return u.forEach(function(p) {
733
733
  const h = ne(p, "entity");
734
- H.set(p, h);
734
+ X.set(p, h);
735
735
  const c = t.append("g").attr("id", h);
736
736
  l = l === void 0 ? h : l;
737
737
  const d = "text-" + h, f = c.append("text").classed("er entityLabel", !0).attr("id", d).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", Y().fontFamily).style("font-size", b.fontSize + "px").text(r[p].alias ?? p), { width: m, height: E } = Vt(
@@ -758,8 +758,8 @@ const Jt = function(t) {
758
758
  }, ee = function(t, r) {
759
759
  return t.forEach(function(e) {
760
760
  r.setEdge(
761
- H.get(e.entityA),
762
- H.get(e.entityB),
761
+ X.get(e.entityA),
762
+ X.get(e.entityB),
763
763
  { relationship: e },
764
764
  ht(e)
765
765
  );
@@ -769,8 +769,8 @@ let ot = 0;
769
769
  const re = function(t, r, e, u, l) {
770
770
  ot++;
771
771
  const p = e.edge(
772
- H.get(r.entityA),
773
- H.get(r.entityB),
772
+ X.get(r.entityA),
773
+ X.get(r.entityB),
774
774
  ht(r)
775
775
  ), h = Dt().x(function(_) {
776
776
  return _.x;
@@ -915,7 +915,7 @@ const se = {
915
915
 
916
916
  `, ce = oe, ye = {
917
917
  parser: Ct,
918
- db: Gt,
918
+ db: Ht,
919
919
  renderer: se,
920
920
  styles: ce
921
921
  };