@belonguniverseai/react-sdk 0.6.2 → 0.6.3

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 (78) hide show
  1. package/dist/api/agent-grants.d.ts +6 -0
  2. package/dist/api/client.d.ts +30 -1
  3. package/dist/app/call-summary.d.ts +30 -0
  4. package/dist/component/abnfDiagram-N423BO3Z-C1O9dfJJ.js +90 -0
  5. package/dist/component/arc-Cpnt_LFj.js +86 -0
  6. package/dist/component/{architectureDiagram-3BPJPVTR-DYcaPx2M.js → architectureDiagram-T3A2C74G-iakL6yUj.js} +1872 -1785
  7. package/dist/component/{blockDiagram-GPEHLZMM-BdjruLO5.js → blockDiagram-VBNYF7ZC-D7t0jIvW.js} +895 -894
  8. package/dist/component/{c4Diagram-AAUBKEIU-Bd2ebSgB.js → c4Diagram-5PPSVZJV-CRX1o0CJ.js} +3 -3
  9. package/dist/component/{channel-CYFijF_t.js → channel-DnM50Ep0.js} +2 -2
  10. package/dist/component/{chunk-ND2GUHAM-OX1-DIU1.js → chunk-2GRJ4B5K-ChTMjM-v.js} +5 -5
  11. package/dist/component/{chunk-QZHKN3VN-DLQ8oUCc.js → chunk-2Q5K7J3B-F2Rpvtwm.js} +2 -2
  12. package/dist/component/{chunk-AQP2D5EJ-D4G4syYu.js → chunk-5RXB4S5H-B1WLx-ex.js} +399 -378
  13. package/dist/component/{chunk-FMBD7UC4-CbRxWx_A.js → chunk-5VM5RSS4-D35VMAuN.js} +2 -2
  14. package/dist/component/chunk-6Q2QTUOP-DGVp_gyk.js +673 -0
  15. package/dist/component/{chunk-727SXJPM-A5r5oL1_.js → chunk-GF5L2VYU-CZOQEv_q.js} +244 -239
  16. package/dist/component/{chunk-4BX2VUAB-DVpS0I_p.js → chunk-JWPE2WC7-BbwyDj9g.js} +2 -2
  17. package/dist/component/{chunk-2J33WTMH-B06Y_xVy.js → chunk-KBJHAD2P-B9qL0VLM.js} +2 -2
  18. package/dist/component/chunk-RYQCIY6F-5eaMbXXL.js +316 -0
  19. package/dist/component/{chunk-55IACEB6-DmZctFkK.js → chunk-XXDRQBXY-XJadTIK5.js} +2 -2
  20. package/dist/component/{classDiagram-4FO5ZUOK-4S9mdFC1.js → classDiagram-JCYQIIEL-DVaEk7uT.js} +3 -3
  21. package/dist/component/{classDiagram-v2-Q7XG4LA2-4S9mdFC1.js → classDiagram-v2-OCEON4UE-DVaEk7uT.js} +3 -3
  22. package/dist/component/{cose-bilkent-S5V4N54A-BIrVaakt.js → cose-bilkent-JH36ORCC-DZA30AqI.js} +2 -2
  23. package/dist/component/{wardley-L42UT6IY-HA1eSIS_.js → cynefin-VYW2F7L2-DAyxamLw.js} +9199 -7918
  24. package/dist/component/cynefinDiagram-MW4NZA55-CutZScTQ.js +302 -0
  25. package/dist/component/dagre-VZM6K2ZE-CelPLP8N.js +343 -0
  26. package/dist/component/diagram-7IWD3JNH-Cr5piwKc.js +353 -0
  27. package/dist/component/{diagram-KO2AKTUF-Da1E68Eo.js → diagram-B4RE2ZJO-DgLNdZkh.js} +24 -24
  28. package/dist/component/{diagram-LMA3HP47-dRbk5sBa.js → diagram-LBJQPF4R-DxeIMTjN.js} +23 -23
  29. package/dist/component/{diagram-OG6HWLK6-CcKT8mhn.js → diagram-Q27KOJAE-WACyk_gr.js} +197 -197
  30. package/dist/component/diagram-UB23O5K3-DbhVYU5T.js +222 -0
  31. package/dist/component/ebnfDiagram-BXEA7PRR-DoGrYW10.js +112 -0
  32. package/dist/component/{erDiagram-TEJ5UH35-3ATYT9J-.js → erDiagram-JOGREHBK-BgewA6fH.js} +142 -131
  33. package/dist/component/{flowDiagram-I6XJVG4X-D9PLm9Od.js → flowDiagram-UKHOOZJN-1YmYJYcE.js} +268 -258
  34. package/dist/component/ganttDiagram-PKOTCBZU-BFAEPYkH.js +2714 -0
  35. package/dist/component/{gitGraphDiagram-PVQCEYII-13gVhAGc.js → gitGraphDiagram-DS77QQ5N-CSiPuE-l.js} +33 -33
  36. package/dist/component/{graph-BZLHvygk.js → graph-CWpEkm4G.js} +35 -35
  37. package/dist/component/{highlighted-body-OFNGDK62-DCxRI4UV.js → highlighted-body-OFNGDK62-CSJNGt18.js} +2 -2
  38. package/dist/component/index.js +2 -2
  39. package/dist/component/{infoDiagram-5YYISTIA-DymxA7AN.js → infoDiagram-6WML65LV-CoMVfONe.js} +4 -4
  40. package/dist/component/{ishikawaDiagram-YF4QCWOH-C3sTn76C.js → ishikawaDiagram-WSZJBQD7-B2YEkQ4b.js} +27 -27
  41. package/dist/component/{journeyDiagram-JHISSGLW-Cq0hOAfJ.js → journeyDiagram-NVQOT4AX-B7b5ZwlF.js} +5 -5
  42. package/dist/component/{kanban-definition-UN3LZRKU-5tBWjkp7.js → kanban-definition-27J2QSJJ-C9GPAsBR.js} +35 -35
  43. package/dist/component/layout-Br2UjHRU.js +1522 -0
  44. package/dist/component/{linear-BT4blD8s.js → linear-Bi0C-9d1.js} +13 -13
  45. package/dist/component/map-CdwokNh2.js +227 -0
  46. package/dist/component/{mermaid-GHXKKRXX-DXPXjnb7.js → mermaid-GHXKKRXX-BaBCeViM.js} +25220 -24784
  47. package/dist/component/{mindmap-definition-RKZ34NQL-DO-OuAQQ.js → mindmap-definition-FAOFIHXS-tHIAo7Ms.js} +26 -26
  48. package/dist/component/pegDiagram-VL7TDLO6-Db_7lLRV.js +98 -0
  49. package/dist/component/pieDiagram-7S7Q4E2Y-C4fs4XCK.js +210 -0
  50. package/dist/component/{quadrantDiagram-W4KKPZXB-CaJWg9ep.js → quadrantDiagram-CIZ2JOQS-Bw7vXO0q.js} +14 -15
  51. package/dist/component/railroadDiagram-AXF67PYL-kY0VoZEg.js +80 -0
  52. package/dist/component/{requirementDiagram-4Y6WPE33-CmZrtZqe.js → requirementDiagram-LRYGKXZP-BkNtSZm5.js} +15 -15
  53. package/dist/component/{sankeyDiagram-5OEKKPKP-Cp95M1aj.js → sankeyDiagram-W5VNT64P-BK_C1BYE.js} +2 -2
  54. package/dist/component/{sequenceDiagram-3UESZ5HK-C0x0WvhR.js → sequenceDiagram-SI44F4Z6-CEmgVZaE.js} +960 -963
  55. package/dist/component/sizeCapture-X5ZJPWSS-J5ZNXT4c.js +49 -0
  56. package/dist/component/{stateDiagram-AJRCARHV-H10vaGL3.js → stateDiagram-OKZ733FA-DrwrNuNs.js} +5 -5
  57. package/dist/component/{stateDiagram-v2-BHNVJYJU-rj7ljkc-.js → stateDiagram-v2-UEYNNEHI-DHD85VTD.js} +3 -3
  58. package/dist/component/swimlanes-SLNWSIFB-FOK5tys1.js +5335 -0
  59. package/dist/component/swimlanesDiagram-ULZ7WXOC-edTvZTge.js +16 -0
  60. package/dist/component/{timeline-definition-PNZ67QCA-Cil1QaqZ.js → timeline-definition-Z64GVDOM-Cc4fTsjY.js} +15 -15
  61. package/dist/component/vennDiagram-T6HMQDX7-DYZl8srI.js +1581 -0
  62. package/dist/component/{wardleyDiagram-YWT4CUSO-Xq5Hnmio.js → wardleyDiagram-T6FBY63Y-BEvv3PjS.js} +15 -15
  63. package/dist/component/{xychartDiagram-2RQKCTM6-dinwR4Zm.js → xychartDiagram-ELKLHX3M-79AgTtk-.js} +464 -418
  64. package/dist/embed/voice/line-slots.d.ts +37 -2
  65. package/dist/embed/voice-call.d.ts +12 -0
  66. package/dist/i18n/messages/en.d.ts +1 -2
  67. package/dist/lib/web-storage.d.ts +8 -0
  68. package/dist/stream/stream-state-store.d.ts +13 -0
  69. package/dist/types/public.d.ts +3 -0
  70. package/package.json +1 -1
  71. package/dist/component/arc-TLcl3N8_.js +0 -86
  72. package/dist/component/dagre-BM42HDAG-BoPUzTvD.js +0 -448
  73. package/dist/component/diagram-2AECGRRQ-PIXCGxIt.js +0 -220
  74. package/dist/component/diagram-5GNKFQAL-CbJxbGBh.js +0 -126
  75. package/dist/component/ganttDiagram-6RSMTGT7-F_XUzD1p.js +0 -2709
  76. package/dist/component/layout-Bu6nRdWm.js +0 -1731
  77. package/dist/component/pieDiagram-4H26LBE5-BkEktPwZ.js +0 -166
  78. package/dist/component/vennDiagram-CIIHVFJN-Dk8PKmfb.js +0 -1560
@@ -1,4 +1,4 @@
1
- import { _ as l, c as lt, a7 as ct, N as ut, ao as dt, B as yt, k as ft, q as et, a as pt, b as gt, g as kt, s as mt, t as wt, e as bt } from "./mermaid-GHXKKRXX-DXPXjnb7.js";
1
+ import { _ as l, c as lt, a4 as ct, G as ut, ao as dt, q as yt, k as ft, o as et, a as pt, b as gt, g as kt, s as mt, p as wt, e as bt } from "./mermaid-GHXKKRXX-BaBCeViM.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  var Q = (function() {
@@ -38,24 +38,24 @@ var Q = (function() {
38
38
  }, "parseError"),
39
39
  parse: /* @__PURE__ */ l(function(e) {
40
40
  var s = this, i = [0], h = [], f = [null], r = [], v = this.table, w = "", I = 0, $ = 0, T = 2, A = 1, C = r.slice.call(arguments, 1), _ = Object.create(this.lexer), S = { yy: {} };
41
- for (var B in this.yy)
42
- Object.prototype.hasOwnProperty.call(this.yy, B) && (S.yy[B] = this.yy[B]);
41
+ for (var P in this.yy)
42
+ Object.prototype.hasOwnProperty.call(this.yy, P) && (S.yy[P] = this.yy[P]);
43
43
  _.setInput(e, S.yy), S.yy.lexer = _, S.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
44
44
  var R = _.yylloc;
45
45
  r.push(R);
46
46
  var H = _.options && _.options.ranges;
47
47
  typeof S.yy.parseError == "function" ? this.parseError = S.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
48
- function X(N) {
49
- i.length = i.length - 2 * N, f.length = f.length - N, r.length = r.length - N;
48
+ function X(B) {
49
+ i.length = i.length - 2 * B, f.length = f.length - B, r.length = r.length - B;
50
50
  }
51
51
  l(X, "popStack");
52
52
  function J() {
53
- var N;
54
- return N = h.pop() || _.lex() || A, typeof N != "number" && (N instanceof Array && (h = N, N = h.pop()), N = s.symbols_[N] || N), N;
53
+ var B;
54
+ return B = h.pop() || _.lex() || A, typeof B != "number" && (B instanceof Array && (h = B, B = h.pop()), B = s.symbols_[B] || B), B;
55
55
  }
56
56
  l(J, "lex");
57
- for (var M, W, P, Y, F = {}, G, V, tt, U; ; ) {
58
- if (W = i[i.length - 1], this.defaultActions[W] ? P = this.defaultActions[W] : ((M === null || typeof M > "u") && (M = J()), P = v[W] && v[W][M]), typeof P > "u" || !P.length || !P[0]) {
57
+ for (var M, W, N, Y, F = {}, G, V, tt, U; ; ) {
58
+ if (W = i[i.length - 1], this.defaultActions[W] ? N = this.defaultActions[W] : ((M === null || typeof M > "u") && (M = J()), N = v[W] && v[W][M]), typeof N > "u" || !N.length || !N[0]) {
59
59
  var q = "";
60
60
  U = [];
61
61
  for (G in v[W])
@@ -70,14 +70,14 @@ Expecting ` + U.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : q = "
70
70
  expected: U
71
71
  });
72
72
  }
73
- if (P[0] instanceof Array && P.length > 1)
73
+ if (N[0] instanceof Array && N.length > 1)
74
74
  throw new Error("Parse Error: multiple actions possible at state: " + W + ", token: " + M);
75
- switch (P[0]) {
75
+ switch (N[0]) {
76
76
  case 1:
77
- i.push(M), f.push(_.yytext), r.push(_.yylloc), i.push(P[1]), M = null, $ = _.yyleng, w = _.yytext, I = _.yylineno, R = _.yylloc;
77
+ i.push(M), f.push(_.yytext), r.push(_.yylloc), i.push(N[1]), M = null, $ = _.yyleng, w = _.yytext, I = _.yylineno, R = _.yylloc;
78
78
  break;
79
79
  case 2:
80
- if (V = this.productions_[P[1]][1], F.$ = f[f.length - V], F._$ = {
80
+ if (V = this.productions_[N[1]][1], F.$ = f[f.length - V], F._$ = {
81
81
  first_line: r[r.length - (V || 1)].first_line,
82
82
  last_line: r[r.length - 1].last_line,
83
83
  first_column: r[r.length - (V || 1)].first_column,
@@ -90,12 +90,12 @@ Expecting ` + U.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : q = "
90
90
  $,
91
91
  I,
92
92
  S.yy,
93
- P[1],
93
+ N[1],
94
94
  f,
95
95
  r
96
96
  ].concat(C)), typeof Y < "u")
97
97
  return Y;
98
- V && (i = i.slice(0, -1 * V * 2), f = f.slice(0, -1 * V), r = r.slice(0, -1 * V)), i.push(this.productions_[P[1]][0]), f.push(F.$), r.push(F._$), tt = v[i[i.length - 2]][i[i.length - 1]], i.push(tt);
98
+ V && (i = i.slice(0, -1 * V * 2), f = f.slice(0, -1 * V), r = r.slice(0, -1 * V)), i.push(this.productions_[N[1]][0]), f.push(F.$), r.push(F._$), tt = v[i[i.length - 2]][i[i.length - 1]], i.push(tt);
99
99
  break;
100
100
  case 3:
101
101
  return !0;
@@ -370,23 +370,23 @@ var _t = Q, xt = class {
370
370
  return;
371
371
  }
372
372
  i -= 20;
373
- const r = b.filter((S, B) => B % 2 === 0), v = b.filter((S, B) => B % 2 === 1), w = at(r), I = at(v), $ = w.total + I.total;
373
+ const r = b.filter((S, P) => P % 2 === 0), v = b.filter((S, P) => P % 2 === 1), w = at(r), I = at(v), $ = w.total + I.total;
374
374
  let T = j, A = j;
375
375
  if ($ > 0) {
376
- const S = j * 2, B = j * 0.3;
377
- T = Math.max(B, S * (w.total / $)), A = Math.max(B, S * (I.total / $));
376
+ const S = j * 2, P = j * 0.3;
377
+ T = Math.max(P, S * (w.total / $)), A = Math.max(P, S * (I.total / $));
378
378
  }
379
379
  const C = k * 2;
380
380
  T = Math.max(T, w.max * C), A = Math.max(A, I.max * C), h = Math.max(T, j), f && f.attr("y1", h).attr("y2", h), E.select(".ishikawa-head-group").attr("transform", `translate(0,${h})`);
381
381
  const _ = Math.ceil(b.length / 2);
382
382
  for (let S = 0; S < _; S++) {
383
- const B = E.append("g").attr("class", "ishikawa-pair");
383
+ const P = E.append("g").attr("class", "ishikawa-pair");
384
384
  for (const [R, H, X] of [
385
385
  [b[S * 2], -1, T],
386
386
  [b[S * 2 + 1], 1, A]
387
387
  ])
388
- R && Mt(B, R, i, h, H, X, k, e);
389
- i = B.selectAll("text").nodes().reduce((R, H) => Math.min(R, H.getBBox().x), 1 / 0);
388
+ R && Mt(P, R, i, h, H, X, k, e);
389
+ i = P.selectAll("text").nodes().reduce((R, H) => Math.min(R, H.getBBox().x), 1 / 0);
390
390
  }
391
391
  if (g)
392
392
  z(E, i, h, 0, h, "ishikawa-spine", e);
@@ -523,7 +523,7 @@ var _t = Q, xt = class {
523
523
  childrenDrawn: 0
524
524
  });
525
525
  }
526
- }, "drawBranch"), Bt = /* @__PURE__ */ l((t) => t.split(/<br\s*\/?>|\n/), "splitLines"), ht = /* @__PURE__ */ l((t, d) => {
526
+ }, "drawBranch"), Pt = /* @__PURE__ */ l((t) => t.split(/<br\s*\/?>|\n/), "splitLines"), ht = /* @__PURE__ */ l((t, d) => {
527
527
  if (t.length <= d)
528
528
  return t;
529
529
  const n = [];
@@ -534,7 +534,7 @@ var _t = Q, xt = class {
534
534
  return n.join(`
535
535
  `);
536
536
  }, "wrapText"), Z = /* @__PURE__ */ l((t, d, n, a, o, y, p) => {
537
- const u = Bt(d), m = p * 1.05, c = t.append("text").attr("class", o).attr("text-anchor", y).attr("x", n).attr("y", a - (u.length - 1) * m / 2);
537
+ const u = Pt(d), m = p * 1.05, c = t.append("text").attr("class", o).attr("text-anchor", y).attr("x", n).attr("y", a - (u.length - 1) * m / 2);
538
538
  for (const [k, g] of u.entries())
539
539
  c.append("tspan").attr("x", n).attr("dy", k === 0 ? 0 : m).text(g);
540
540
  return c;
@@ -550,7 +550,7 @@ var _t = Q, xt = class {
550
550
  return;
551
551
  }
552
552
  return t.append("line").attr("class", y).attr("x1", d).attr("y1", n).attr("x2", a).attr("y2", o);
553
- }, "drawLine"), Nt = { draw: At }, Pt = /* @__PURE__ */ l((t) => `
553
+ }, "drawLine"), Bt = { draw: At }, Nt = /* @__PURE__ */ l((t) => `
554
554
  .ishikawa .ishikawa-spine,
555
555
  .ishikawa .ishikawa-branch,
556
556
  .ishikawa .ishikawa-sub-branch {
@@ -613,15 +613,15 @@ var _t = Q, xt = class {
613
613
  .ishikawa .ishikawa-label.down {
614
614
  dominant-baseline: hanging;
615
615
  }
616
- `, "getStyles"), Dt = Pt, Ct = {
616
+ `, "getStyles"), Dt = Nt, Ct = {
617
617
  parser: _t,
618
618
  get db() {
619
619
  return new xt();
620
620
  },
621
- renderer: Nt,
621
+ renderer: Bt,
622
622
  styles: Dt
623
623
  };
624
624
  export {
625
625
  Ct as diagram
626
626
  };
627
- //# sourceMappingURL=ishikawaDiagram-YF4QCWOH-C3sTn76C.js.map
627
+ //# sourceMappingURL=ishikawaDiagram-WSZJBQD7-B2YEkQ4b.js.map
@@ -1,7 +1,7 @@
1
- import { g as gt } from "./chunk-FMBD7UC4-CbRxWx_A.js";
2
- import { a as mt, g as lt, h as xt, d as kt } from "./chunk-ND2GUHAM-OX1-DIU1.js";
3
- import { g as _t, s as bt, a as vt, b as wt, t as Tt, q as St, _ as s, c as R, d as X, e as $t, B as Mt } from "./mermaid-GHXKKRXX-DXPXjnb7.js";
4
- import { d as it } from "./arc-TLcl3N8_.js";
1
+ import { g as gt } from "./chunk-5VM5RSS4-D35VMAuN.js";
2
+ import { a as mt, g as lt, h as xt, d as kt } from "./chunk-2GRJ4B5K-ChTMjM-v.js";
3
+ import { g as _t, s as bt, a as vt, b as wt, p as Tt, o as St, _ as s, c as R, d as X, e as $t, q as Mt } from "./mermaid-GHXKKRXX-BaBCeViM.js";
4
+ import { d as it } from "./arc-Cpnt_LFj.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
7
7
  var U = (function() {
@@ -834,4 +834,4 @@ var $ = R().journey, P = 0, Xt = /* @__PURE__ */ s(function(t, e, a, f) {
834
834
  export {
835
835
  Qt as diagram
836
836
  };
837
- //# sourceMappingURL=journeyDiagram-JHISSGLW-Cq0hOAfJ.js.map
837
+ //# sourceMappingURL=journeyDiagram-NVQOT4AX-B7b5ZwlF.js.map
@@ -1,12 +1,12 @@
1
- import { _ as o, l as te, c as H, N as fe, ak as ye, al as be, am as me, ai as ke, K as X, i as F, v as _e, J as Ee, af as Se, ag as le, ah as ce } from "./mermaid-GHXKKRXX-DXPXjnb7.js";
2
- import { g as Ne } from "./chunk-FMBD7UC4-CbRxWx_A.js";
1
+ import { _ as o, l as te, c as H, G as fe, ai as ye, aj as be, ak as me, ag as ke, E as K, i as G, a0 as Ee, a1 as _e, ad as Se, ae as le, af as ce } from "./mermaid-GHXKKRXX-BaBCeViM.js";
2
+ import { g as Ne } from "./chunk-5VM5RSS4-D35VMAuN.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var $ = (function() {
6
6
  var e = /* @__PURE__ */ o(function(O, s, n, r) {
7
7
  for (n = n || {}, r = O.length; r--; n[O[r]] = s) ;
8
8
  return n;
9
- }, "o"), h = [1, 4], p = [1, 13], i = [1, 12], d = [1, 15], k = [1, 16], m = [1, 20], c = [1, 19], D = [6, 7, 8], I = [1, 26], u = [1, 24], w = [1, 25], _ = [6, 7, 11], G = [1, 31], N = [6, 7, 11, 24], V = [1, 6, 13, 16, 17, 20, 23], f = [1, 35], T = [1, 36], L = [1, 6, 7, 11, 13, 16, 17, 20, 23], M = [1, 38], A = {
9
+ }, "o"), h = [1, 4], p = [1, 13], i = [1, 12], d = [1, 15], k = [1, 16], m = [1, 20], c = [1, 19], D = [6, 7, 8], I = [1, 26], u = [1, 24], w = [1, 25], E = [6, 7, 11], F = [1, 31], N = [6, 7, 11, 24], V = [1, 6, 13, 16, 17, 20, 23], f = [1, 35], T = [1, 36], L = [1, 6, 7, 11, 13, 16, 17, 20, 23], M = [1, 38], A = {
10
10
  trace: /* @__PURE__ */ o(function() {
11
11
  }, "trace"),
12
12
  yy: {},
@@ -73,7 +73,7 @@ var $ = (function() {
73
73
  break;
74
74
  }
75
75
  }, "anonymous"),
76
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: h }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: h }, { 6: p, 7: [1, 10], 9: 9, 12: 11, 13: i, 14: 14, 16: d, 17: k, 18: 17, 19: 18, 20: m, 23: c }, e(D, [2, 3]), { 1: [2, 2] }, e(D, [2, 4]), e(D, [2, 5]), { 1: [2, 6], 6: p, 12: 21, 13: i, 14: 14, 16: d, 17: k, 18: 17, 19: 18, 20: m, 23: c }, { 6: p, 9: 22, 12: 11, 13: i, 14: 14, 16: d, 17: k, 18: 17, 19: 18, 20: m, 23: c }, { 6: I, 7: u, 10: 23, 11: w }, e(_, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: m, 23: c }), e(_, [2, 19]), e(_, [2, 21], { 15: 30, 24: G }), e(_, [2, 22]), e(_, [2, 23]), e(N, [2, 25]), e(N, [2, 26]), e(N, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: I, 7: u, 10: 34, 11: w }, { 1: [2, 7], 6: p, 12: 21, 13: i, 14: 14, 16: d, 17: k, 18: 17, 19: 18, 20: m, 23: c }, e(V, [2, 14], { 7: f, 11: T }), e(L, [2, 8]), e(L, [2, 9]), e(L, [2, 10]), e(_, [2, 16], { 15: 37, 24: G }), e(_, [2, 17]), e(_, [2, 18]), e(_, [2, 20], { 24: M }), e(N, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, e(V, [2, 13], { 7: f, 11: T }), e(L, [2, 11]), e(L, [2, 12]), e(_, [2, 15], { 24: M }), e(N, [2, 30]), { 22: [1, 41] }, e(N, [2, 27]), e(N, [2, 29])],
76
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: h }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: h }, { 6: p, 7: [1, 10], 9: 9, 12: 11, 13: i, 14: 14, 16: d, 17: k, 18: 17, 19: 18, 20: m, 23: c }, e(D, [2, 3]), { 1: [2, 2] }, e(D, [2, 4]), e(D, [2, 5]), { 1: [2, 6], 6: p, 12: 21, 13: i, 14: 14, 16: d, 17: k, 18: 17, 19: 18, 20: m, 23: c }, { 6: p, 9: 22, 12: 11, 13: i, 14: 14, 16: d, 17: k, 18: 17, 19: 18, 20: m, 23: c }, { 6: I, 7: u, 10: 23, 11: w }, e(E, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: m, 23: c }), e(E, [2, 19]), e(E, [2, 21], { 15: 30, 24: F }), e(E, [2, 22]), e(E, [2, 23]), e(N, [2, 25]), e(N, [2, 26]), e(N, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: I, 7: u, 10: 34, 11: w }, { 1: [2, 7], 6: p, 12: 21, 13: i, 14: 14, 16: d, 17: k, 18: 17, 19: 18, 20: m, 23: c }, e(V, [2, 14], { 7: f, 11: T }), e(L, [2, 8]), e(L, [2, 9]), e(L, [2, 10]), e(E, [2, 16], { 15: 37, 24: F }), e(E, [2, 17]), e(E, [2, 18]), e(E, [2, 20], { 24: M }), e(N, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, e(V, [2, 13], { 7: f, 11: T }), e(L, [2, 11]), e(L, [2, 12]), e(E, [2, 15], { 24: M }), e(N, [2, 30]), { 22: [1, 41] }, e(N, [2, 27]), e(N, [2, 29])],
77
77
  defaultActions: { 2: [2, 1], 6: [2, 2] },
78
78
  parseError: /* @__PURE__ */ o(function(s, n) {
79
79
  if (n.recoverable)
@@ -101,27 +101,27 @@ var $ = (function() {
101
101
  return S = a.pop() || b.lex() || re, typeof S != "number" && (S instanceof Array && (a = S, S = a.pop()), S = n.symbols_[S] || S), S;
102
102
  }
103
103
  o(ae, "lex");
104
- for (var E, P, x, Q, j = {}, z, C, oe, K; ; ) {
105
- if (P = r[r.length - 1], this.defaultActions[P] ? x = this.defaultActions[P] : ((E === null || typeof E > "u") && (E = ae()), x = U[P] && U[P][E]), typeof x > "u" || !x.length || !x[0]) {
104
+ for (var _, P, x, Q, j = {}, z, C, oe, X; ; ) {
105
+ if (P = r[r.length - 1], this.defaultActions[P] ? x = this.defaultActions[P] : ((_ === null || typeof _ > "u") && (_ = ae()), x = U[P] && U[P][_]), typeof x > "u" || !x.length || !x[0]) {
106
106
  var Z = "";
107
- K = [];
107
+ X = [];
108
108
  for (z in U[P])
109
- this.terminals_[z] && z > ge && K.push("'" + this.terminals_[z] + "'");
109
+ this.terminals_[z] && z > ge && X.push("'" + this.terminals_[z] + "'");
110
110
  b.showPosition ? Z = "Parse error on line " + (W + 1) + `:
111
111
  ` + b.showPosition() + `
112
- Expecting ` + K.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "Parse error on line " + (W + 1) + ": Unexpected " + (E == re ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError(Z, {
112
+ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : Z = "Parse error on line " + (W + 1) + ": Unexpected " + (_ == re ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(Z, {
113
113
  text: b.match,
114
- token: this.terminals_[E] || E,
114
+ token: this.terminals_[_] || _,
115
115
  line: b.yylineno,
116
116
  loc: q,
117
- expected: K
117
+ expected: X
118
118
  });
119
119
  }
120
120
  if (x[0] instanceof Array && x.length > 1)
121
- throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + E);
121
+ throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + _);
122
122
  switch (x[0]) {
123
123
  case 1:
124
- r.push(E), g.push(b.yytext), t.push(b.yylloc), r.push(x[1]), E = null, ie = b.yyleng, l = b.yytext, W = b.yylineno, q = b.yylloc;
124
+ r.push(_), g.push(b.yytext), t.push(b.yylloc), r.push(x[1]), _ = null, ie = b.yyleng, l = b.yytext, W = b.yylineno, q = b.yylloc;
125
125
  break;
126
126
  case 2:
127
127
  if (C = this.productions_[x[1]][1], j.$ = g[g.length - C], j._$ = {
@@ -450,7 +450,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
450
450
  for (const d of p) {
451
451
  const k = {
452
452
  id: d.id,
453
- label: F(d.label ?? "", i),
453
+ label: G(d.label ?? "", i),
454
454
  labelType: "markdown",
455
455
  isGroup: !0,
456
456
  ticket: d.ticket,
@@ -464,7 +464,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
464
464
  const D = {
465
465
  id: c.id,
466
466
  parentId: d.id,
467
- label: F(c.label ?? "", i),
467
+ label: G(c.label ?? "", i),
468
468
  labelType: "markdown",
469
469
  isGroup: !1,
470
470
  ticket: c?.ticket,
@@ -483,7 +483,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
483
483
  return { nodes: h, edges: e, other: {}, config: H() };
484
484
  }, "getData"), Oe = /* @__PURE__ */ o((e, h, p, i, d) => {
485
485
  const k = H();
486
- let m = k.mindmap?.padding ?? X.mindmap.padding;
486
+ let m = k.mindmap?.padding ?? K.mindmap.padding;
487
487
  switch (i) {
488
488
  case y.ROUNDED_RECT:
489
489
  case y.RECT:
@@ -491,10 +491,10 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
491
491
  m *= 2;
492
492
  }
493
493
  const c = {
494
- id: F(h, k) || "kbn" + ee++,
494
+ id: G(h, k) || "kbn" + ee++,
495
495
  level: e,
496
- label: F(p, k),
497
- width: k.mindmap?.maxNodeWidth ?? X.mindmap.maxNodeWidth,
496
+ label: G(p, k),
497
+ width: k.mindmap?.maxNodeWidth ?? K.mindmap.maxNodeWidth,
498
498
  padding: m,
499
499
  isGroup: !1
500
500
  };
@@ -505,7 +505,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
505
505
  ` : I = `{
506
506
  ` + d + `
507
507
  }`;
508
- const u = _e(I, { schema: Ee });
508
+ const u = Ee(I, { schema: _e });
509
509
  if (u.shape && (u.shape !== u.shape.toLowerCase() || u.shape.includes("_")))
510
510
  throw new Error(`No such shape: ${u.shape}. Shape names should be lowercase.`);
511
511
  u?.shape && u.shape === "kanbanItem" && (c.shape = u?.shape), u?.label && (c.label = u?.label), u?.icon && (c.icon = u?.icon.toString()), u?.assigned && (c.assigned = u?.assigned.toString()), u?.ticket && (c.ticket = u?.ticket.toString()), u?.priority && (c.priority = u?.priority);
@@ -544,7 +544,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
544
544
  if (!e)
545
545
  return;
546
546
  const h = H(), p = v[v.length - 1];
547
- e.icon && (p.icon = F(e.icon, h)), e.class && (p.cssClasses = F(e.class, h));
547
+ e.icon && (p.icon = G(e.icon, h)), e.class && (p.cssClasses = G(e.class, h));
548
548
  }, "decorateNode"), Te = /* @__PURE__ */ o((e) => {
549
549
  switch (e) {
550
550
  case y.DEFAULT:
@@ -594,17 +594,17 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
594
594
  (f) => f.isGroup
595
595
  );
596
596
  let w = 0;
597
- const _ = 10, G = [];
597
+ const E = 10, F = [];
598
598
  let N = 25;
599
599
  for (const f of u) {
600
600
  const T = m?.kanban?.sectionWidth || 200;
601
- w = w + 1, f.x = T * w + (w - 1) * _ / 2, f.width = T, f.y = 0, f.height = T * 3, f.rx = 5, f.ry = 5, f.cssClasses = f.cssClasses + " section-" + w;
601
+ w = w + 1, f.x = T * w + (w - 1) * E / 2, f.width = T, f.y = 0, f.height = T * 3, f.rx = 5, f.ry = 5, f.cssClasses = f.cssClasses + " section-" + w;
602
602
  const L = await ye(D, f);
603
- N = Math.max(N, L?.labelBBox?.height), G.push(L);
603
+ N = Math.max(N, L?.labelBBox?.height), F.push(L);
604
604
  }
605
605
  let V = 0;
606
606
  for (const f of u) {
607
- const T = G[V];
607
+ const T = F[V];
608
608
  V = V + 1;
609
609
  const L = m?.kanban?.sectionWidth || 200, M = -L * 3 / 2 + N;
610
610
  let A = M;
@@ -612,22 +612,22 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
612
612
  for (const s of Y) {
613
613
  if (s.isGroup)
614
614
  throw new Error("Groups within groups are not allowed in Kanban diagrams");
615
- s.x = f.x, s.width = L - 1.5 * _;
615
+ s.x = f.x, s.width = L - 1.5 * E;
616
616
  const r = (await be(I, s, { config: m })).node().getBBox();
617
- s.y = A + r.height / 2, await me(s), A = s.y + r.height / 2 + _ / 2;
617
+ s.y = A + r.height / 2, await me(s), A = s.y + r.height / 2 + E / 2;
618
618
  }
619
- const B = T.cluster.select("rect"), O = Math.max(A - M + 3 * _, 50) + (N - 25);
619
+ const B = T.cluster.select("rect"), O = Math.max(A - M + 3 * E, 50) + (N - 25);
620
620
  B.attr("height", O);
621
621
  }
622
622
  ke(
623
623
  void 0,
624
624
  c,
625
- m.mindmap?.padding ?? X.kanban.padding,
626
- m.mindmap?.useMaxWidth ?? X.kanban.useMaxWidth
625
+ m.mindmap?.padding ?? K.kanban.padding,
626
+ m.mindmap?.useMaxWidth ?? K.kanban.useMaxWidth
627
627
  );
628
628
  }, "draw"), je = {
629
629
  draw: Be
630
- }, Fe = /* @__PURE__ */ o((e) => {
630
+ }, Ge = /* @__PURE__ */ o((e) => {
631
631
  let h = "";
632
632
  for (let i = 0; i < e.THEME_COLOR_LIMIT; i++)
633
633
  e["lineColor" + i] = e["lineColor" + i] || e["cScaleInv" + i], Se(e["lineColor" + i]) ? e["lineColor" + i] = le(e["lineColor" + i], 20) : e["lineColor" + i] = ce(e["lineColor" + i], 20);
@@ -683,11 +683,11 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
683
683
  `;
684
684
  }
685
685
  return h;
686
- }, "genSections"), Ge = /* @__PURE__ */ o((e) => `
686
+ }, "genSections"), Fe = /* @__PURE__ */ o((e) => `
687
687
  .edge {
688
688
  stroke-width: 3;
689
689
  }
690
- ${Fe(e)}
690
+ ${Ge(e)}
691
691
  .section-root rect, .section-root path, .section-root circle, .section-root polygon {
692
692
  fill: ${e.git0};
693
693
  }
@@ -715,7 +715,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
715
715
  text-align: center;
716
716
  }
717
717
  ${Ne()}
718
- `, "getStyles"), Me = Ge, We = {
718
+ `, "getStyles"), Me = Fe, We = {
719
719
  db: Ve,
720
720
  renderer: je,
721
721
  parser: xe,
@@ -724,4 +724,4 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
724
724
  export {
725
725
  We as diagram
726
726
  };
727
- //# sourceMappingURL=kanban-definition-UN3LZRKU-5tBWjkp7.js.map
727
+ //# sourceMappingURL=kanban-definition-27J2QSJJ-C9GPAsBR.js.map