@kong-ui-public/documentation 0.4.19 → 0.4.21

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 (42) hide show
  1. package/dist/{arc-COsOHw50-C9iRzo98.js → arc-COsOHw50-8b0vvcWq.js} +31 -31
  2. package/dist/{blockDiagram-91b80b7a-BKGTNNj9-DRpDtGmh.js → blockDiagram-91b80b7a-BKGTNNj9-pqE_enew.js} +5 -5
  3. package/dist/{c4Diagram-b2a90758-BL_2KQjG-DzcyQrIW.js → c4Diagram-b2a90758-BL_2KQjG-CDMqw02J.js} +2 -2
  4. package/dist/channel-ByAWxImn-Cm6gPSuY.js +5 -0
  5. package/dist/{classDiagram-30eddba6-k40qxgte-CwcMszjH.js → classDiagram-30eddba6-k40qxgte-BjlY99VJ.js} +5 -5
  6. package/dist/{classDiagram-v2-f2df5561-Bhszhjj1-DDKkcKs5.js → classDiagram-v2-f2df5561-Bhszhjj1-BXjyowVF.js} +5 -5
  7. package/dist/{clone-B9jLUWz8-D8JWw9w8.js → clone-B9jLUWz8-B_0rcCoo.js} +1 -1
  8. package/dist/{createText-6b48ae7d-CwDinsnJ-Cu8l2Npn.js → createText-6b48ae7d-CwDinsnJ-DaXMLq6o.js} +2 -2
  9. package/dist/documentation.es.js +4 -4
  10. package/dist/documentation.umd.js +76 -76
  11. package/dist/{edges-d32062c0-D81gGEnb-Dx3zO_em.js → edges-d32062c0-D81gGEnb-Dz0apkQG.js} +45 -45
  12. package/dist/{erDiagram-47591fe2-Ct0H1qRr-BT1e4kcz.js → erDiagram-47591fe2-Ct0H1qRr-CfxVZWGk.js} +4 -4
  13. package/dist/{flowDb-4b19a42f-DUQIsrJ6-Cx4J0SDV.js → flowDb-4b19a42f-DUQIsrJ6-BZeyLbaL.js} +1 -1
  14. package/dist/{flowDiagram-5540d9b9-lDK0hXfd-B7nTp1Ow.js → flowDiagram-5540d9b9-lDK0hXfd-DSlzf5Zs.js} +6 -6
  15. package/dist/{flowDiagram-v2-3b53844e-C-MZcHj1-CRI7-nX2.js → flowDiagram-v2-3b53844e-C-MZcHj1-DRuOUcaX.js} +5 -5
  16. package/dist/{flowchart-elk-definition-5fe447d6-Cl1YzK8W-DUtzoI95.js → flowchart-elk-definition-5fe447d6-Cl1YzK8W-Bn6CXlME.js} +4470 -4459
  17. package/dist/{ganttDiagram-9a3bba1f-DgegevHg-Dnd48qsT.js → ganttDiagram-9a3bba1f-DgegevHg-FjtZIgs3.js} +2 -2
  18. package/dist/{gitGraphDiagram-96e6b4ee-B544kZVD-Ds9cICFs.js → gitGraphDiagram-96e6b4ee-B544kZVD-DS3U7u7x.js} +1 -1
  19. package/dist/{graph-nSQNMZNt-1Zx0M3uO.js → graph-nSQNMZNt-WwQ66jlk.js} +226 -216
  20. package/dist/{index-xwCd1OzE.js → index-B2yqGQ7M.js} +101 -94
  21. package/dist/{index-fc10efb0-BQFKNTyl-BdJOA2P3.js → index-fc10efb0-BQFKNTyl-DcfuI7jC.js} +6 -6
  22. package/dist/{infoDiagram-bcd20f53-DA00HiLo-DzCdMjzM.js → infoDiagram-bcd20f53-DA00HiLo-DGWjVZk3.js} +12 -12
  23. package/dist/{journeyDiagram-4fe6b3dc-Dy2VexAM-Bg-KZCAV.js → journeyDiagram-4fe6b3dc-Dy2VexAM-BH-dvv4G.js} +50 -50
  24. package/dist/{layout-CsrWmvDo-v2_rFy6R.js → layout-CsrWmvDo-DWZkjCNe.js} +331 -321
  25. package/dist/{line-_Hv2N8bu-DrMVavBT.js → line-_Hv2N8bu-f1gyQCDH.js} +1 -1
  26. package/dist/{linear-Bq62Qb31-Bjior_ce.js → linear-Bq62Qb31-ng9-yWgD.js} +35 -35
  27. package/dist/{mindmap-definition-f354de21-6GdeE-da-pTppd7Xw.js → mindmap-definition-f354de21-6GdeE-da-rihm8Sdq.js} +432 -432
  28. package/dist/{pieDiagram-79897490--sueuFsN-CypYOMk7.js → pieDiagram-79897490--sueuFsN-CYUjBaRR.js} +12 -12
  29. package/dist/{quadrantDiagram-62f64e94-B45V10Ws-DdADLB2x.js → quadrantDiagram-62f64e94-B45V10Ws-6IK0wm6a.js} +2 -2
  30. package/dist/{requirementDiagram-05bf5f74-DKrzFj3--CY2rfWob.js → requirementDiagram-05bf5f74-DKrzFj3--_AWsFotz.js} +4 -4
  31. package/dist/{sankeyDiagram-97764748-Cal39XvH-vpwLqAXQ.js → sankeyDiagram-97764748-Cal39XvH-mcOTDG5E.js} +1 -1
  32. package/dist/{sequenceDiagram-acc0e65c-C7SBKcFC-D6wvY-06.js → sequenceDiagram-acc0e65c-C7SBKcFC-Cg_BNnXE.js} +290 -290
  33. package/dist/{stateDiagram-0ff1cf1a-CeTkJw-0-Di3fo0N3.js → stateDiagram-0ff1cf1a-CeTkJw-0-BMASGNWc.js} +5 -5
  34. package/dist/{stateDiagram-v2-9a9d610d-B6v4YFRe-BGfo9HO9.js → stateDiagram-v2-9a9d610d-B6v4YFRe-D_tcA6wS.js} +5 -5
  35. package/dist/{styles-3ed67cfa-BKhmbt4H-C_loWuBL.js → styles-3ed67cfa-BKhmbt4H-abIa6vZU.js} +4 -4
  36. package/dist/{styles-991ebdfc-D52vcIGN-DvArqWeB.js → styles-991ebdfc-D52vcIGN-CLTEdyii.js} +1 -1
  37. package/dist/{styles-d20c7d72-0tQ-upPv-DY7ACpcb.js → styles-d20c7d72-0tQ-upPv-DaojUxDU.js} +1 -1
  38. package/dist/{svgDrawCommon-5ccd53ef-CUtig_WQ-DhwwSpmA.js → svgDrawCommon-5ccd53ef-CUtig_WQ-CF530_Cl.js} +1 -1
  39. package/dist/{timeline-definition-fea2a41d-DMC1sAGv-C0IHxruF.js → timeline-definition-fea2a41d-DMC1sAGv-DCM5EaJv.js} +2 -2
  40. package/dist/{xychartDiagram-ab372869-BsavOqc0-D2H7T7LH.js → xychartDiagram-ab372869-BsavOqc0-DP2IGmLs.js} +12 -12
  41. package/package.json +3 -3
  42. package/dist/channel-ByAWxImn-BzW5YEfX.js +0 -5
@@ -1,12 +1,12 @@
1
- import { c as C, x as ut, y as yt, s as pt, g as dt, b as ft, a as gt, A as mt, h as z, i as xt } from "./index-xwCd1OzE.js";
2
- import { l as kt, d as _t, x as bt, g as nt } from "./svgDrawCommon-5ccd53ef-CUtig_WQ-DhwwSpmA.js";
3
- import { v as J } from "./arc-COsOHw50-C9iRzo98.js";
1
+ import { c as C, x as ut, y as yt, s as pt, g as dt, b as ft, a as gt, A as mt, h as z, i as xt } from "./index-B2yqGQ7M.js";
2
+ import { l as kt, d as _t, x as bt, g as nt } from "./svgDrawCommon-5ccd53ef-CUtig_WQ-CF530_Cl.js";
3
+ import { v as J } from "./arc-COsOHw50-8b0vvcWq.js";
4
4
  var W = function() {
5
5
  var t = function(f, i, r, l) {
6
6
  for (r = r || {}, l = f.length; l--; r[f[l]] = i)
7
7
  ;
8
8
  return r;
9
- }, e = [6, 8, 10, 11, 12, 14, 16, 17, 18], s = [1, 9], o = [1, 10], n = [1, 11], h = [1, 12], c = [1, 13], y = [1, 14], p = {
9
+ }, e = [6, 8, 10, 11, 12, 14, 16, 17, 18], s = [1, 9], o = [1, 10], n = [1, 11], h = [1, 12], c = [1, 13], p = [1, 14], y = {
10
10
  trace: function() {
11
11
  },
12
12
  yy: {},
@@ -50,7 +50,7 @@ var W = function() {
50
50
  break;
51
51
  }
52
52
  },
53
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: s, 12: o, 14: n, 16: h, 17: c, 18: y }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 15, 11: s, 12: o, 14: n, 16: h, 17: c, 18: y }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, t(e, [2, 11]), t(e, [2, 12]), { 19: [1, 18] }, t(e, [2, 4]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 13])],
53
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: s, 12: o, 14: n, 16: h, 17: c, 18: p }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 15, 11: s, 12: o, 14: n, 16: h, 17: c, 18: p }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, t(e, [2, 11]), t(e, [2, 12]), { 19: [1, 18] }, t(e, [2, 4]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 13])],
54
54
  defaultActions: {},
55
55
  parseError: function(f, i) {
56
56
  if (i.recoverable)
@@ -343,11 +343,11 @@ Expecting ` + F.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : Y = "
343
343
  };
344
344
  return f;
345
345
  }();
346
- p.lexer = m;
346
+ y.lexer = m;
347
347
  function d() {
348
348
  this.yy = {};
349
349
  }
350
- return d.prototype = p, p.Parser = d, new d();
350
+ return d.prototype = y, y.Parser = d, new d();
351
351
  }();
352
352
  W.parser = W;
353
353
  const vt = W;
@@ -374,7 +374,7 @@ const q = [], E = [], j = [], wt = function() {
374
374
  const s = e.substr(1).split(":");
375
375
  let o = 0, n = [];
376
376
  s.length === 1 ? (o = Number(s[0]), n = []) : (o = Number(s[0]), n = s[1].split(","));
377
- const h = n.map((y) => y.trim()), c = {
377
+ const h = n.map((p) => p.trim()), c = {
378
378
  section: P,
379
379
  type: P,
380
380
  people: h,
@@ -554,16 +554,16 @@ const q = [], E = [], j = [], wt = function() {
554
554
  }, jt = function(t, e) {
555
555
  const s = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), o = t.append("g");
556
556
  o.append("circle").attr("cx", e.cx - 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), o.append("circle").attr("cx", e.cx + 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
557
- function n(y) {
558
- const p = J().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
559
- y.append("path").attr("class", "mouth").attr("d", p).attr("transform", "translate(" + e.cx + "," + (e.cy + 2) + ")");
557
+ function n(p) {
558
+ const y = J().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
559
+ p.append("path").attr("class", "mouth").attr("d", y).attr("transform", "translate(" + e.cx + "," + (e.cy + 2) + ")");
560
560
  }
561
- function h(y) {
562
- const p = J().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
563
- y.append("path").attr("class", "mouth").attr("d", p).attr("transform", "translate(" + e.cx + "," + (e.cy + 7) + ")");
561
+ function h(p) {
562
+ const y = J().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
563
+ p.append("path").attr("class", "mouth").attr("d", y).attr("transform", "translate(" + e.cx + "," + (e.cy + 7) + ")");
564
564
  }
565
- function c(y) {
566
- y.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", e.cx - 5).attr("y1", e.cy + 7).attr("x2", e.cx + 5).attr("y2", e.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
565
+ function c(p) {
566
+ p.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", e.cx - 5).attr("y1", e.cy + 7).attr("x2", e.cx + 5).attr("y2", e.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
567
567
  }
568
568
  return e.score > 3 ? n(o) : e.score < 3 ? h(o) : c(o), s;
569
569
  }, st = function(t, e) {
@@ -572,8 +572,8 @@ const q = [], E = [], j = [], wt = function() {
572
572
  }, rt = function(t, e) {
573
573
  return _t(t, e);
574
574
  }, Dt = function(t, e) {
575
- function s(n, h, c, y, p) {
576
- return n + "," + h + " " + (n + c) + "," + h + " " + (n + c) + "," + (h + y - p) + " " + (n + c - p * 1.2) + "," + (h + y) + " " + n + "," + (h + y);
575
+ function s(n, h, c, p, y) {
576
+ return n + "," + h + " " + (n + c) + "," + h + " " + (n + c) + "," + (h + p - y) + " " + (n + c - y * 1.2) + "," + (h + p) + " " + n + "," + (h + p);
577
577
  }
578
578
  const o = t.append("polygon");
579
579
  o.attr("points", s(e.x, e.y, 50, 20, 7)), o.attr("class", "labelBox"), e.y = e.y + e.labelMargin, e.x = e.x + 0.5 * e.labelMargin, rt(t, e);
@@ -604,18 +604,18 @@ const Lt = function(t, e, s) {
604
604
  });
605
605
  const c = nt();
606
606
  c.x = e.x, c.y = e.y, c.fill = e.fill, c.width = s.width, c.height = s.height, c.class = "task task-type-" + e.num, c.rx = 3, c.ry = 3, G(n, c);
607
- let y = e.x + 14;
608
- e.people.forEach((p) => {
609
- const m = e.actors[p].color, d = {
610
- cx: y,
607
+ let p = e.x + 14;
608
+ e.people.forEach((y) => {
609
+ const m = e.actors[y].color, d = {
610
+ cx: p,
611
611
  cy: e.y,
612
612
  r: 7,
613
613
  fill: m,
614
614
  stroke: "#000",
615
- title: p,
616
- pos: e.actors[p].position
615
+ title: y,
616
+ pos: e.actors[y].position
617
617
  };
618
- st(n, d), y += 10;
618
+ st(n, d), p += 10;
619
619
  }), at(s)(
620
620
  e.task,
621
621
  n,
@@ -630,20 +630,20 @@ const Lt = function(t, e, s) {
630
630
  }, Ft = function(t, e) {
631
631
  bt(t, e);
632
632
  }, at = /* @__PURE__ */ function() {
633
- function t(n, h, c, y, p, m, d, f) {
634
- const i = h.append("text").attr("x", c + p / 2).attr("y", y + m / 2 + 5).style("font-color", f).style("text-anchor", "middle").text(n);
633
+ function t(n, h, c, p, y, m, d, f) {
634
+ const i = h.append("text").attr("x", c + y / 2).attr("y", p + m / 2 + 5).style("font-color", f).style("text-anchor", "middle").text(n);
635
635
  o(i, d);
636
636
  }
637
- function e(n, h, c, y, p, m, d, f, i) {
637
+ function e(n, h, c, p, y, m, d, f, i) {
638
638
  const { taskFontSize: r, taskFontFamily: l } = f, u = n.split(/<br\s*\/?>/gi);
639
639
  for (let a = 0; a < u.length; a++) {
640
- const g = a * r - r * (u.length - 1) / 2, x = h.append("text").attr("x", c + p / 2).attr("y", y).attr("fill", i).style("text-anchor", "middle").style("font-size", r).style("font-family", l);
641
- x.append("tspan").attr("x", c + p / 2).attr("dy", g).text(u[a]), x.attr("y", y + m / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), o(x, d);
640
+ const g = a * r - r * (u.length - 1) / 2, x = h.append("text").attr("x", c + y / 2).attr("y", p).attr("fill", i).style("text-anchor", "middle").style("font-size", r).style("font-family", l);
641
+ x.append("tspan").attr("x", c + y / 2).attr("dy", g).text(u[a]), x.attr("y", p + m / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), o(x, d);
642
642
  }
643
643
  }
644
- function s(n, h, c, y, p, m, d, f) {
645
- const i = h.append("switch"), r = i.append("foreignObject").attr("x", c).attr("y", y).attr("width", p).attr("height", m).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
646
- r.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(n), e(n, i, c, y, p, m, d, f), o(r, d);
644
+ function s(n, h, c, p, y, m, d, f) {
645
+ const i = h.append("switch"), r = i.append("foreignObject").attr("x", c).attr("y", p).attr("width", y).attr("height", m).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
646
+ r.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(n), e(n, i, c, p, y, m, d, f), o(r, d);
647
647
  }
648
648
  function o(n, h) {
649
649
  for (const c in h)
@@ -695,10 +695,10 @@ const O = C().journey, A = O.leftMargin, Bt = function(t, e, s, o) {
695
695
  const n = C().journey, h = C().securityLevel;
696
696
  let c;
697
697
  h === "sandbox" && (c = z("#i" + e));
698
- const y = h === "sandbox" ? z(c.nodes()[0].contentDocument.body) : z("body");
698
+ const p = h === "sandbox" ? z(c.nodes()[0].contentDocument.body) : z("body");
699
699
  v.init();
700
- const p = y.select("#" + e);
701
- D.initGraphics(p);
700
+ const y = p.select("#" + e);
701
+ D.initGraphics(y);
702
702
  const m = o.db.getTasks(), d = o.db.getDiagramTitle(), f = o.db.getActors();
703
703
  for (const g in M)
704
704
  delete M[g];
@@ -708,13 +708,13 @@ const O = C().journey, A = O.leftMargin, Bt = function(t, e, s, o) {
708
708
  color: n.actorColours[i % n.actorColours.length],
709
709
  position: i
710
710
  }, i++;
711
- }), Rt(p), v.insert(0, 0, A, Object.keys(M).length * 50), Yt(p, m, 0);
711
+ }), Rt(y), v.insert(0, 0, A, Object.keys(M).length * 50), Yt(y, m, 0);
712
712
  const r = v.getBounds();
713
- d && p.append("text").text(d).attr("x", A).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 25);
713
+ d && y.append("text").text(d).attr("x", A).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 25);
714
714
  const l = r.stopy - r.starty + 2 * n.diagramMarginY, u = A + r.stopx + 2 * n.diagramMarginX;
715
- xt(p, l, u, n.useMaxWidth), p.append("line").attr("x1", A).attr("y1", n.height * 4).attr("x2", u - A - 4).attr("y2", n.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
715
+ xt(y, l, u, n.useMaxWidth), y.append("line").attr("x1", A).attr("y1", n.height * 4).attr("x2", u - A - 4).attr("y2", n.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
716
716
  const a = d ? 70 : 0;
717
- p.attr("viewBox", `${r.startx} -25 ${u} ${l + a}`), p.attr("preserveAspectRatio", "xMinYMin meet"), p.attr("height", l + a + 25);
717
+ y.attr("viewBox", `${r.startx} -25 ${u} ${l + a}`), y.attr("preserveAspectRatio", "xMinYMin meet"), y.attr("height", l + a + 25);
718
718
  }, v = {
719
719
  data: {
720
720
  startx: void 0,
@@ -738,18 +738,18 @@ const O = C().journey, A = O.leftMargin, Bt = function(t, e, s, o) {
738
738
  updateBounds: function(t, e, s, o) {
739
739
  const n = C().journey, h = this;
740
740
  let c = 0;
741
- function y(p) {
741
+ function p(y) {
742
742
  return function(m) {
743
743
  c++;
744
744
  const d = h.sequenceItems.length - c + 1;
745
- h.updateVal(m, "starty", e - d * n.boxMargin, Math.min), h.updateVal(m, "stopy", o + d * n.boxMargin, Math.max), h.updateVal(v.data, "startx", t - d * n.boxMargin, Math.min), h.updateVal(v.data, "stopx", s + d * n.boxMargin, Math.max), h.updateVal(m, "startx", t - d * n.boxMargin, Math.min), h.updateVal(m, "stopx", s + d * n.boxMargin, Math.max), h.updateVal(v.data, "starty", e - d * n.boxMargin, Math.min), h.updateVal(v.data, "stopy", o + d * n.boxMargin, Math.max);
745
+ h.updateVal(m, "starty", e - d * n.boxMargin, Math.min), h.updateVal(m, "stopy", o + d * n.boxMargin, Math.max), h.updateVal(v.data, "startx", t - d * n.boxMargin, Math.min), h.updateVal(v.data, "stopx", s + d * n.boxMargin, Math.max), y !== "activation" && (h.updateVal(m, "startx", t - d * n.boxMargin, Math.min), h.updateVal(m, "stopx", s + d * n.boxMargin, Math.max), h.updateVal(v.data, "starty", e - d * n.boxMargin, Math.min), h.updateVal(v.data, "stopy", o + d * n.boxMargin, Math.max));
746
746
  };
747
747
  }
748
- this.sequenceItems.forEach(y());
748
+ this.sequenceItems.forEach(p());
749
749
  },
750
750
  insert: function(t, e, s, o) {
751
- const n = Math.min(t, s), h = Math.max(t, s), c = Math.min(e, o), y = Math.max(e, o);
752
- this.updateVal(v.data, "startx", n, Math.min), this.updateVal(v.data, "starty", c, Math.min), this.updateVal(v.data, "stopx", h, Math.max), this.updateVal(v.data, "stopy", y, Math.max), this.updateBounds(n, c, h, y);
751
+ const n = Math.min(t, s), h = Math.max(t, s), c = Math.min(e, o), p = Math.max(e, o);
752
+ this.updateVal(v.data, "startx", n, Math.min), this.updateVal(v.data, "starty", c, Math.min), this.updateVal(v.data, "stopx", h, Math.max), this.updateVal(v.data, "stopy", p, Math.max), this.updateBounds(n, c, h, p);
753
753
  },
754
754
  bumpVerticalPos: function(t) {
755
755
  this.verticalPos = this.verticalPos + t, this.data.stopy = this.verticalPos;
@@ -764,10 +764,10 @@ const O = C().journey, A = O.leftMargin, Bt = function(t, e, s, o) {
764
764
  const o = C().journey;
765
765
  let n = "";
766
766
  const h = o.height * 2 + o.diagramMarginY, c = s + h;
767
- let y = 0, p = "#CCC", m = "black", d = 0;
767
+ let p = 0, y = "#CCC", m = "black", d = 0;
768
768
  for (const [f, i] of e.entries()) {
769
769
  if (n !== i.section) {
770
- p = X[y % X.length], d = y % X.length, m = et[y % et.length];
770
+ y = X[p % X.length], d = p % X.length, m = et[p % et.length];
771
771
  let l = 0;
772
772
  const u = i.section;
773
773
  for (let g = f; g < e.length && e[g].section == u; g++)
@@ -776,15 +776,15 @@ const O = C().journey, A = O.leftMargin, Bt = function(t, e, s, o) {
776
776
  x: f * o.taskMargin + f * o.width + A,
777
777
  y: 50,
778
778
  text: i.section,
779
- fill: p,
779
+ fill: y,
780
780
  num: d,
781
781
  colour: m,
782
782
  taskCount: l
783
783
  };
784
- D.drawSection(t, a, o), n = i.section, y++;
784
+ D.drawSection(t, a, o), n = i.section, p++;
785
785
  }
786
786
  const r = i.people.reduce((l, u) => (M[u] && (l[u] = M[u]), l), {});
787
- i.x = f * o.taskMargin + f * o.width + A, i.y = c, i.width = o.diagramMarginX, i.height = o.diagramMarginY, i.colour = m, i.fill = p, i.num = d, i.actors = r, D.drawTask(t, i, o), v.insert(i.x, i.y, i.x + i.width + o.taskMargin, 300 + 5 * 30);
787
+ i.x = f * o.taskMargin + f * o.width + A, i.y = c, i.width = o.diagramMarginX, i.height = o.diagramMarginY, i.colour = m, i.fill = y, i.num = d, i.actors = r, D.drawTask(t, i, o), v.insert(i.x, i.y, i.x + i.width + o.taskMargin, 300 + 5 * 30);
788
788
  }
789
789
  }, it = {
790
790
  setConf: Nt,