@ucap-llm/ai-ui 1.1.20 → 1.1.22

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 (69) hide show
  1. package/_basePickBy-49aBLVXj.mjs +151 -0
  2. package/_baseUniq-Duw-LCxN.mjs +418 -0
  3. package/ai-ui.es.js +5 -5
  4. package/ai-ui.umd.js +441 -398
  5. package/{arc-e33cf4bd.mjs → arc-CxnBoKcf.mjs} +3 -5
  6. package/architecture-4AB2E3PP-DpATI33S.mjs +5 -0
  7. package/{architectureDiagram-IEHRJDOE-8c0644d3.mjs → architectureDiagram-IEHRJDOE-CaoKd3s2.mjs} +774 -781
  8. package/{blockDiagram-JOT3LUYC-2e03b1f8.mjs → blockDiagram-JOT3LUYC-Dno4VG8f.mjs} +17 -21
  9. package/{c4Diagram-VJAJSXHY-0d7e02b1.mjs → c4Diagram-VJAJSXHY-D5HK6aXG.mjs} +45 -47
  10. package/channel-CjgQSUhn.mjs +5 -0
  11. package/{chunk-4BMEZGHF-c55a79e8.mjs → chunk-4BMEZGHF-B5q96F5j.mjs} +1 -1
  12. package/{chunk-A2AXSNBT-72cb8e03.mjs → chunk-A2AXSNBT-CwIw1dro.mjs} +31 -32
  13. package/{chunk-AEK57VVT-103a8016.mjs → chunk-AEK57VVT-CgqpfRdv.mjs} +29 -30
  14. package/{chunk-D6G4REZN-eb0c0a03.mjs → chunk-D6G4REZN-BuQQgKKf.mjs} +24 -24
  15. package/chunk-RZ5BOZE2-nBulgjak.mjs +24 -0
  16. package/{chunk-XZIHB7SX-697eddab.mjs → chunk-XZIHB7SX-ChfFX5tX.mjs} +1 -1
  17. package/classDiagram-GIVACNV2-DW4s6Pgr.mjs +16 -0
  18. package/classDiagram-v2-COTLJTTW-DW4s6Pgr.mjs +16 -0
  19. package/{clone-e06e1908.mjs → clone-BWxZJOIB.mjs} +1 -1
  20. package/{cytoscape.esm-9ffb4bbe.mjs → cytoscape.esm-D1A2YP3J.mjs} +133 -240
  21. package/{dagre-OKDRZEBW-1380cf0d.mjs → dagre-OKDRZEBW-BF7VSsgY.mjs} +25 -26
  22. package/{diagram-SSKATNLV-1e22cab7.mjs → diagram-SSKATNLV-BHV-tmQz.mjs} +48 -52
  23. package/{diagram-VNBRO52H-63b9b854.mjs → diagram-VNBRO52H-DhnmXzVl.mjs} +31 -35
  24. package/{erDiagram-Q7BY3M3F-6f4f40c6.mjs → erDiagram-Q7BY3M3F-yoOr4S3e.mjs} +32 -34
  25. package/{flowDiagram-4HSFHLVR-217f422a.mjs → flowDiagram-4HSFHLVR-Dypn-7OY.mjs} +21 -23
  26. package/{ganttDiagram-APWFNJXF-b1c138fc.mjs → ganttDiagram-APWFNJXF-Bpg6PwzQ.mjs} +933 -961
  27. package/gitGraph-O2Q2CXLX-B57Ivesv.mjs +5 -0
  28. package/{gitGraphDiagram-7IBYFJ6S-a40cd00c.mjs → gitGraphDiagram-7IBYFJ6S-C2SKSevj.mjs} +27 -31
  29. package/{graph-c2e1b9d5.mjs → graph-BqoU6xY2.mjs} +7 -9
  30. package/{index-4283477e.mjs → index-LXAHF7dZ.mjs} +56792 -32545
  31. package/info-4N47QTOZ-rUYWBWKH.mjs +5 -0
  32. package/infoDiagram-PH2N3AL5-Dwh9BN3B.mjs +22 -0
  33. package/{journeyDiagram-U35MCT3I-ea34e89d.mjs → journeyDiagram-U35MCT3I-BuJo6oNZ.mjs} +26 -28
  34. package/{kanban-definition-NDS4AKOZ-3dc1bdfc.mjs → kanban-definition-NDS4AKOZ-3bBL0X_A.mjs} +22 -23
  35. package/{layout-b7402112.mjs → layout-UCl5QdSx.mjs} +288 -308
  36. package/{linear-6028b26a.mjs → linear-5kjmVbWx.mjs} +136 -160
  37. package/{mermaid-parser.core-89f41f6f.mjs → mermaid-parser.core-BTQeWTCL.mjs} +2510 -2520
  38. package/{mindmap-definition-ALO5MXBD-cf0036bd.mjs → mindmap-definition-ALO5MXBD-pyGAc115.mjs} +309 -311
  39. package/{ordinal-980380c7.mjs → ordinal-C0oynhte.mjs} +4 -8
  40. package/package.json +2 -2
  41. package/packet-KVYON367-B0aEJOd2.mjs +5 -0
  42. package/pie-R6RNRRYF-mat_xgAT.mjs +5 -0
  43. package/pieDiagram-IB7DONF6-Dfr5jCmu.mjs +161 -0
  44. package/{quadrantDiagram-7GDLP6J5-4e41575d.mjs → quadrantDiagram-7GDLP6J5-CUP0tYJI.mjs} +28 -31
  45. package/radar-MK3ICKWK-ae8hsHN1.mjs +5 -0
  46. package/{requirementDiagram-KVF5MWMF-edfb0543.mjs → requirementDiagram-KVF5MWMF-O1db62rc.mjs} +47 -49
  47. package/{sankeyDiagram-QLVOVGJD-c0853822.mjs → sankeyDiagram-QLVOVGJD-CCf-MSR0.mjs} +113 -131
  48. package/{sequenceDiagram-X6HHIX6F-96ff1e7c.mjs → sequenceDiagram-X6HHIX6F-CrB4QPFZ.mjs} +40 -42
  49. package/{stateDiagram-DGXRK772-7c6ceb1c.mjs → stateDiagram-DGXRK772-DWFrvHEL.mjs} +8 -12
  50. package/stateDiagram-v2-YXO3MK2T-BuEm2W4g.mjs +16 -0
  51. package/style.css +10 -1
  52. package/{timeline-definition-BDJGKUSR-23f3d39c.mjs → timeline-definition-BDJGKUSR-ThsfvZPa.mjs} +11 -13
  53. package/{xychartDiagram-VJFVF3MP-9b2268b5.mjs → xychartDiagram-VJFVF3MP-D7Ns77UK.mjs} +161 -163
  54. package/_basePickBy-576eaf6e.mjs +0 -153
  55. package/_baseUniq-83e8b0cb.mjs +0 -440
  56. package/architecture-4AB2E3PP-1faad353.mjs +0 -10
  57. package/channel-283b31f1.mjs +0 -5
  58. package/chunk-RZ5BOZE2-97e0c31b.mjs +0 -24
  59. package/classDiagram-GIVACNV2-306a98b6.mjs +0 -18
  60. package/classDiagram-v2-COTLJTTW-306a98b6.mjs +0 -18
  61. package/gitGraph-O2Q2CXLX-804a8ebe.mjs +0 -10
  62. package/info-4N47QTOZ-6f3c3677.mjs +0 -10
  63. package/infoDiagram-PH2N3AL5-4c0f80b6.mjs +0 -26
  64. package/packet-KVYON367-3ead67ef.mjs +0 -10
  65. package/pie-R6RNRRYF-41122910.mjs +0 -10
  66. package/pieDiagram-IB7DONF6-9b4a5b06.mjs +0 -167
  67. package/radar-MK3ICKWK-0d996d37.mjs +0 -10
  68. package/stateDiagram-v2-YXO3MK2T-012aec41.mjs +0 -18
  69. /package/{init-f9637058.mjs → init-DjUOC4st.mjs} +0 -0
@@ -0,0 +1,5 @@
1
+ import { I as r, c as a } from "./mermaid-parser.core-BTQeWTCL.mjs";
2
+ export {
3
+ r as InfoModule,
4
+ a as createInfoServices
5
+ };
@@ -0,0 +1,22 @@
1
+ import { _ as e, l as s, H as o, e as i, I as g } from "./index-LXAHF7dZ.mjs";
2
+ import { p } from "./mermaid-parser.core-BTQeWTCL.mjs";
3
+ var v = {
4
+ parse: /* @__PURE__ */ e(async (r) => {
5
+ const a = await p("info", r);
6
+ s.debug(a);
7
+ }, "parse")
8
+ }, d = { version: g.version }, c = /* @__PURE__ */ e(() => d.version, "getVersion"), m = {
9
+ getVersion: c
10
+ }, l = /* @__PURE__ */ e((r, a, n) => {
11
+ s.debug(`rendering info diagram
12
+ ` + r);
13
+ const t = o(a);
14
+ i(t, 100, 400, !0), t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${n}`);
15
+ }, "draw"), f = { draw: l }, b = {
16
+ parser: v,
17
+ db: m,
18
+ renderer: f
19
+ };
20
+ export {
21
+ b as diagram
22
+ };
@@ -1,11 +1,9 @@
1
- import { d as ft, f as gt, g as at, b as mt } from "./chunk-D6G4REZN-eb0c0a03.mjs";
2
- import { _ as i, d as A, n as xt, o as kt, s as _t, g as vt, c as bt, b as wt, t as Tt, j as W, k as St } from "./index-4283477e.mjs";
3
- import { d as tt } from "./arc-e33cf4bd.mjs";
4
- import "vue";
1
+ import { a as ft, g as at, f as gt, d as mt } from "./chunk-D6G4REZN-BuQQgKKf.mjs";
2
+ import { _ as i, g as xt, s as kt, a as _t, b as vt, q as bt, p as wt, c as A, d as W, e as Tt, y as St } from "./index-LXAHF7dZ.mjs";
3
+ import { d as tt } from "./arc-CxnBoKcf.mjs";
5
4
  var H = function() {
6
5
  var t = /* @__PURE__ */ i(function(g, r, a, l) {
7
- for (a = a || {}, l = g.length; l--; a[g[l]] = r)
8
- ;
6
+ for (a = a || {}, l = g.length; l--; a[g[l]] = r) ;
9
7
  return a;
10
8
  }, "o"), e = [6, 8, 10, 11, 12, 14, 16, 17, 18], n = [1, 9], c = [1, 10], s = [1, 11], u = [1, 12], h = [1, 13], p = [1, 14], d = {
11
9
  trace: /* @__PURE__ */ i(function() {
@@ -79,20 +77,20 @@ var H = function() {
79
77
  return b = y.pop() || k.lex() || K, typeof b != "number" && (b instanceof Array && (y = b, b = y.pop()), b = a.symbols_[b] || b), b;
80
78
  }
81
79
  i(Q, "lex");
82
- for (var v, P, w, q, C = {}, j, $, D, N; ; ) {
80
+ for (var v, P, w, q, C = {}, N, $, D, j; ; ) {
83
81
  if (P = l[l.length - 1], this.defaultActions[P] ? w = this.defaultActions[P] : ((v === null || typeof v > "u") && (v = Q()), w = S[P] && S[P][v]), typeof w > "u" || !w.length || !w[0]) {
84
82
  var G = "";
85
- N = [];
86
- for (j in S[P])
87
- this.terminals_[j] && j > ut && N.push("'" + this.terminals_[j] + "'");
83
+ j = [];
84
+ for (N in S[P])
85
+ this.terminals_[N] && N > ut && j.push("'" + this.terminals_[N] + "'");
88
86
  k.showPosition ? G = "Parse error on line " + (B + 1) + `:
89
87
  ` + k.showPosition() + `
90
- Expecting ` + N.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "Parse error on line " + (B + 1) + ": Unexpected " + (v == K ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(G, {
88
+ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "Parse error on line " + (B + 1) + ": Unexpected " + (v == K ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(G, {
91
89
  text: k.match,
92
90
  token: this.terminals_[v] || v,
93
91
  line: k.yylineno,
94
92
  loc: Y,
95
- expected: N
93
+ expected: j
96
94
  });
97
95
  }
98
96
  if (w[0] instanceof Array && w.length > 1)
@@ -357,7 +355,7 @@ Expecting ` + N.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
357
355
  }();
358
356
  H.parser = H;
359
357
  var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
360
- U.length = 0, F.length = 0, V = "", R.length = 0, Tt();
358
+ U.length = 0, F.length = 0, V = "", R.length = 0, St();
361
359
  }, "clear"), Et = /* @__PURE__ */ i(function(t) {
362
360
  V = t, U.push(t);
363
361
  }, "addSection"), Pt = /* @__PURE__ */ i(function() {
@@ -408,12 +406,12 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
408
406
  }, "getActors"), rt = {
409
407
  getConfig: /* @__PURE__ */ i(() => A().journey, "getConfig"),
410
408
  clear: Mt,
411
- setDiagramTitle: xt,
412
- getDiagramTitle: kt,
413
- setAccTitle: _t,
414
- getAccTitle: vt,
415
- setAccDescription: bt,
416
- getAccDescription: wt,
409
+ setDiagramTitle: wt,
410
+ getDiagramTitle: bt,
411
+ setAccTitle: vt,
412
+ getAccTitle: _t,
413
+ setAccDescription: kt,
414
+ getAccDescription: xt,
417
415
  addSection: Et,
418
416
  getSections: Pt,
419
417
  getTasks: It,
@@ -553,7 +551,7 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
553
551
  ${t.actor5 ? `fill: ${t.actor5}` : ""};
554
552
  }
555
553
  `, "getStyles"), Lt = Rt, Z = /* @__PURE__ */ i(function(t, e) {
556
- return ft(t, e);
554
+ return mt(t, e);
557
555
  }, "drawRect"), Bt = /* @__PURE__ */ i(function(t, e) {
558
556
  const c = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), s = t.append("g");
559
557
  s.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"), s.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");
@@ -576,14 +574,14 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
576
574
  return n.attr("cx", e.cx), n.attr("cy", e.cy), n.attr("class", "actor-" + e.pos), n.attr("fill", e.fill), n.attr("stroke", e.stroke), n.attr("r", e.r), n.class !== void 0 && n.attr("class", n.class), e.title !== void 0 && n.append("title").text(e.title), n;
577
575
  }, "drawCircle"), ot = /* @__PURE__ */ i(function(t, e) {
578
576
  return gt(t, e);
579
- }, "drawText"), jt = /* @__PURE__ */ i(function(t, e) {
577
+ }, "drawText"), Nt = /* @__PURE__ */ i(function(t, e) {
580
578
  function n(s, u, h, p, d) {
581
579
  return s + "," + u + " " + (s + h) + "," + u + " " + (s + h) + "," + (u + p - d) + " " + (s + h - d * 1.2) + "," + (u + p) + " " + s + "," + (u + p);
582
580
  }
583
581
  i(n, "genPoints");
584
582
  const c = t.append("polygon");
585
583
  c.attr("points", n(e.x, e.y, 50, 20, 7)), c.attr("class", "labelBox"), e.y = e.y + e.labelMargin, e.x = e.x + 0.5 * e.labelMargin, ot(t, e);
586
- }, "drawLabel"), Nt = /* @__PURE__ */ i(function(t, e, n) {
584
+ }, "drawLabel"), jt = /* @__PURE__ */ i(function(t, e, n) {
587
585
  const c = t.append("g"), s = at();
588
586
  s.x = e.x, s.y = e.y, s.fill = e.fill, s.width = n.width * e.taskCount + // width of the tasks
589
587
  n.diagramMarginX * (e.taskCount - 1), s.height = n.height, s.class = "journey-section section-type-" + e.num, s.rx = 3, s.ry = 3, Z(c, s), ct(n)(
@@ -632,7 +630,7 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
632
630
  e.colour
633
631
  );
634
632
  }, "drawTask"), Ot = /* @__PURE__ */ i(function(t, e) {
635
- mt(t, e);
633
+ ft(t, e);
636
634
  }, "drawBackgroundRect"), ct = /* @__PURE__ */ function() {
637
635
  function t(s, u, h, p, d, x, m, g) {
638
636
  const r = u.append("text").attr("x", h + d / 2).attr("y", p + x / 2 + 5).style("font-color", g).style("text-anchor", "middle").text(s);
@@ -664,9 +662,9 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
664
662
  }, "initGraphics"), L = {
665
663
  drawRect: Z,
666
664
  drawCircle: lt,
667
- drawSection: Nt,
665
+ drawSection: jt,
668
666
  drawText: ot,
669
- drawLabel: jt,
667
+ drawLabel: Nt,
670
668
  drawTask: zt,
671
669
  drawBackgroundRect: Ot,
672
670
  initGraphics: Yt
@@ -720,7 +718,7 @@ var z = A().journey, I = z.leftMargin, Gt = /* @__PURE__ */ i(function(t, e, n,
720
718
  const a = T.getBounds();
721
719
  m && d.append("text").text(m).attr("x", I).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 25);
722
720
  const l = a.stopy - a.starty + 2 * s.diagramMarginY, y = I + a.stopx + 2 * s.diagramMarginX;
723
- St(d, l, y, s.useMaxWidth), d.append("line").attr("x1", I).attr("y1", s.height * 4).attr("x2", y - I - 4).attr("y2", s.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
721
+ Tt(d, l, y, s.useMaxWidth), d.append("line").attr("x1", I).attr("y1", s.height * 4).attr("x2", y - I - 4).attr("y2", s.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
724
722
  const f = m ? 70 : 0;
725
723
  d.attr("viewBox", `${a.startx} -25 ${y} ${l + f}`), d.attr("preserveAspectRatio", "xMinYMin meet"), d.attr("height", l + f + 25);
726
724
  }, "draw"), T = {
@@ -797,7 +795,7 @@ var z = A().journey, I = z.leftMargin, Gt = /* @__PURE__ */ i(function(t, e, n,
797
795
  }, "drawTasks"), nt = {
798
796
  setConf: qt,
799
797
  draw: Gt
800
- }, Jt = {
798
+ }, Zt = {
801
799
  parser: $t,
802
800
  db: rt,
803
801
  renderer: nt,
@@ -807,5 +805,5 @@ var z = A().journey, I = z.leftMargin, Gt = /* @__PURE__ */ i(function(t, e, n,
807
805
  }, "init")
808
806
  };
809
807
  export {
810
- Jt as diagram
808
+ Zt as diagram
811
809
  };
@@ -1,11 +1,9 @@
1
- import { _ as c, l as te, d as W, H as fe, ae as ye, af as be, ag as me, V as _e, C as K, i as G, p as Ee, J as ke, W as Se, X as le, Y as ce } from "./index-4283477e.mjs";
2
- import "vue";
1
+ import { _ as c, l as te, c as W, H as fe, ae as ye, af as be, ag as me, U as _e, F as Y, i as G, t as Ee, J as ke, V as Se, W as le, X as ce } from "./index-LXAHF7dZ.mjs";
3
2
  var $ = function() {
4
3
  var t = /* @__PURE__ */ c(function(_, s, n, a) {
5
- for (n = n || {}, a = _.length; a--; n[_[a]] = s)
6
- ;
4
+ for (n = n || {}, a = _.length; a--; n[_[a]] = s) ;
7
5
  return n;
8
- }, "o"), g = [1, 4], d = [1, 13], r = [1, 12], p = [1, 15], E = [1, 16], f = [1, 20], h = [1, 19], L = [6, 7, 8], C = [1, 26], w = [1, 24], N = [1, 25], i = [6, 7, 11], H = [1, 31], x = [6, 7, 11, 24], P = [1, 6, 13, 16, 17, 20, 23], M = [1, 35], U = [1, 36], A = [1, 6, 7, 11, 13, 16, 17, 20, 23], j = [1, 38], V = {
6
+ }, "o"), g = [1, 4], d = [1, 13], r = [1, 12], p = [1, 15], E = [1, 16], f = [1, 20], h = [1, 19], L = [6, 7, 8], C = [1, 26], w = [1, 24], N = [1, 25], i = [6, 7, 11], U = [1, 31], x = [6, 7, 11, 24], P = [1, 6, 13, 16, 17, 20, 23], H = [1, 35], M = [1, 36], A = [1, 6, 7, 11, 13, 16, 17, 20, 23], j = [1, 38], V = {
9
7
  trace: /* @__PURE__ */ c(function() {
10
8
  }, "trace"),
11
9
  yy: {},
@@ -72,7 +70,7 @@ var $ = function() {
72
70
  break;
73
71
  }
74
72
  }, "anonymous"),
75
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: g }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: g }, { 6: d, 7: [1, 10], 9: 9, 12: 11, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, t(L, [2, 3]), { 1: [2, 2] }, t(L, [2, 4]), t(L, [2, 5]), { 1: [2, 6], 6: d, 12: 21, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, { 6: d, 9: 22, 12: 11, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, { 6: C, 7: w, 10: 23, 11: N }, t(i, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: f, 23: h }), t(i, [2, 19]), t(i, [2, 21], { 15: 30, 24: H }), t(i, [2, 22]), t(i, [2, 23]), t(x, [2, 25]), t(x, [2, 26]), t(x, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: C, 7: w, 10: 34, 11: N }, { 1: [2, 7], 6: d, 12: 21, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, t(P, [2, 14], { 7: M, 11: U }), t(A, [2, 8]), t(A, [2, 9]), t(A, [2, 10]), t(i, [2, 16], { 15: 37, 24: H }), t(i, [2, 17]), t(i, [2, 18]), t(i, [2, 20], { 24: j }), t(x, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, t(P, [2, 13], { 7: M, 11: U }), t(A, [2, 11]), t(A, [2, 12]), t(i, [2, 15], { 24: j }), t(x, [2, 30]), { 22: [1, 41] }, t(x, [2, 27]), t(x, [2, 29])],
73
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: g }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: g }, { 6: d, 7: [1, 10], 9: 9, 12: 11, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, t(L, [2, 3]), { 1: [2, 2] }, t(L, [2, 4]), t(L, [2, 5]), { 1: [2, 6], 6: d, 12: 21, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, { 6: d, 9: 22, 12: 11, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, { 6: C, 7: w, 10: 23, 11: N }, t(i, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: f, 23: h }), t(i, [2, 19]), t(i, [2, 21], { 15: 30, 24: U }), t(i, [2, 22]), t(i, [2, 23]), t(x, [2, 25]), t(x, [2, 26]), t(x, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: C, 7: w, 10: 34, 11: N }, { 1: [2, 7], 6: d, 12: 21, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, t(P, [2, 14], { 7: H, 11: M }), t(A, [2, 8]), t(A, [2, 9]), t(A, [2, 10]), t(i, [2, 16], { 15: 37, 24: U }), t(i, [2, 17]), t(i, [2, 18]), t(i, [2, 20], { 24: j }), t(x, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, t(P, [2, 13], { 7: H, 11: M }), t(A, [2, 11]), t(A, [2, 12]), t(i, [2, 15], { 24: j }), t(x, [2, 30]), { 22: [1, 41] }, t(x, [2, 27]), t(x, [2, 29])],
76
74
  defaultActions: { 2: [2, 1], 6: [2, 2] },
77
75
  parseError: /* @__PURE__ */ c(function(s, n) {
78
76
  if (n.recoverable)
@@ -100,20 +98,20 @@ var $ = function() {
100
98
  return S = o.pop() || b.lex() || re, typeof S != "number" && (S instanceof Array && (o = S, S = o.pop()), S = n.symbols_[S] || S), S;
101
99
  }
102
100
  c(ae, "lex");
103
- for (var k, R, v, Q, F = {}, X, I, oe, Y; ; ) {
101
+ for (var k, R, v, Q, F = {}, X, I, oe, K; ; ) {
104
102
  if (R = a[a.length - 1], this.defaultActions[R] ? v = this.defaultActions[R] : ((k === null || typeof k > "u") && (k = ae()), v = B[R] && B[R][k]), typeof v > "u" || !v.length || !v[0]) {
105
103
  var Z = "";
106
- Y = [];
104
+ K = [];
107
105
  for (X in B[R])
108
- this.terminals_[X] && X > ue && Y.push("'" + this.terminals_[X] + "'");
106
+ this.terminals_[X] && X > ue && K.push("'" + this.terminals_[X] + "'");
109
107
  b.showPosition ? Z = "Parse error on line " + (z + 1) + `:
110
108
  ` + b.showPosition() + `
111
- Expecting ` + Y.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "Parse error on line " + (z + 1) + ": Unexpected " + (k == re ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(Z, {
109
+ Expecting ` + K.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "Parse error on line " + (z + 1) + ": Unexpected " + (k == re ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(Z, {
112
110
  text: b.match,
113
111
  token: this.terminals_[k] || k,
114
112
  line: b.yylineno,
115
113
  loc: q,
116
- expected: Y
114
+ expected: K
117
115
  });
118
116
  }
119
117
  if (v[0] instanceof Array && v.length > 1)
@@ -481,7 +479,7 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
481
479
  }, "getData"), Le = /* @__PURE__ */ c((t, g, d, r, p) => {
482
480
  var C, w;
483
481
  const E = W();
484
- let f = ((C = E.mindmap) == null ? void 0 : C.padding) ?? K.mindmap.padding;
482
+ let f = ((C = E.mindmap) == null ? void 0 : C.padding) ?? Y.mindmap.padding;
485
483
  switch (r) {
486
484
  case y.ROUNDED_RECT:
487
485
  case y.RECT:
@@ -492,7 +490,7 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
492
490
  id: G(g, E) || "kbn" + ee++,
493
491
  level: t,
494
492
  label: G(d, E),
495
- width: ((w = E.mindmap) == null ? void 0 : w.maxNodeWidth) ?? K.mindmap.maxNodeWidth,
493
+ width: ((w = E.mindmap) == null ? void 0 : w.maxNodeWidth) ?? Y.mindmap.maxNodeWidth,
496
494
  padding: f,
497
495
  isGroup: !1
498
496
  };
@@ -559,6 +557,7 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
559
557
  return "bang";
560
558
  case y.HEXAGON:
561
559
  return "hexgon";
560
+ // cspell: disable-line
562
561
  default:
563
562
  return "no-border";
564
563
  }
@@ -575,7 +574,7 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
575
574
  getLogger: Ae,
576
575
  getElementById: Te
577
576
  }, Pe = Re, Ve = /* @__PURE__ */ c(async (t, g, d, r) => {
578
- var M, U, A, j, V;
577
+ var H, M, A, j, V;
579
578
  te.debug(`Rendering kanban diagram
580
579
  ` + t);
581
580
  const E = r.db.getData(), f = W();
@@ -589,17 +588,17 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
589
588
  (m) => m.isGroup
590
589
  );
591
590
  let N = 0;
592
- const i = 10, H = [];
591
+ const i = 10, U = [];
593
592
  let x = 25;
594
593
  for (const m of w) {
595
- const O = ((M = f == null ? void 0 : f.kanban) == null ? void 0 : M.sectionWidth) || 200;
594
+ const O = ((H = f == null ? void 0 : f.kanban) == null ? void 0 : H.sectionWidth) || 200;
596
595
  N = N + 1, m.x = O * N + (N - 1) * i / 2, m.width = O, m.y = 0, m.height = O * 3, m.rx = 5, m.ry = 5, m.cssClasses = m.cssClasses + " section-" + N;
597
596
  const _ = await ye(L, m);
598
- x = Math.max(x, (U = _ == null ? void 0 : _.labelBBox) == null ? void 0 : U.height), H.push(_);
597
+ x = Math.max(x, (M = _ == null ? void 0 : _.labelBBox) == null ? void 0 : M.height), U.push(_);
599
598
  }
600
599
  let P = 0;
601
600
  for (const m of w) {
602
- const O = H[P];
601
+ const O = U[P];
603
602
  P = P + 1;
604
603
  const _ = ((A = f == null ? void 0 : f.kanban) == null ? void 0 : A.sectionWidth) || 200, s = -_ * 3 / 2 + x;
605
604
  let n = s;
@@ -617,8 +616,8 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
617
616
  _e(
618
617
  void 0,
619
618
  h,
620
- ((j = f.mindmap) == null ? void 0 : j.padding) ?? K.kanban.padding,
621
- ((V = f.mindmap) == null ? void 0 : V.useMaxWidth) ?? K.kanban.useMaxWidth
619
+ ((j = f.mindmap) == null ? void 0 : j.padding) ?? Y.kanban.padding,
620
+ ((V = f.mindmap) == null ? void 0 : V.useMaxWidth) ?? Y.kanban.useMaxWidth
622
621
  );
623
622
  }, "draw"), Be = {
624
623
  draw: Ve
@@ -709,12 +708,12 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
709
708
  dominant-baseline: middle;
710
709
  text-align: center;
711
710
  }
712
- `, "getStyles"), He = Ge, je = {
711
+ `, "getStyles"), Ue = Ge, Me = {
713
712
  db: Pe,
714
713
  renderer: Be,
715
714
  parser: Ne,
716
- styles: He
715
+ styles: Ue
717
716
  };
718
717
  export {
719
- je as diagram
718
+ Me as diagram
720
719
  };