@altimateai/ui-components 0.0.64-beta5 → 0.0.64-beta7

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/Carousel.js +1364 -1348
  2. package/dist/CoachForm.js +6956 -6919
  3. package/dist/Stack.js +12 -12
  4. package/dist/_basePickBy.js +25 -25
  5. package/dist/_baseUniq.js +62 -62
  6. package/dist/arc.js +14 -14
  7. package/dist/architectureDiagram-VXUJARFQ.js +125 -125
  8. package/dist/assets/icons/index.js +1 -1
  9. package/dist/blockDiagram-VD42YOAC.js +1 -1
  10. package/dist/c4Diagram-YG6GDRKO.js +1 -1
  11. package/dist/channel.js +3 -3
  12. package/dist/chatbotV2/index.d.ts +15 -9
  13. package/dist/chatbotV2/index.js +54 -53
  14. package/dist/chunk-4BX2VUAB.js +1 -1
  15. package/dist/chunk-55IACEB6.js +1 -1
  16. package/dist/chunk-B4BG7PRW.js +7 -7
  17. package/dist/chunk-DI55MBZ5.js +1 -1
  18. package/dist/chunk-FMBD7UC4.js +1 -1
  19. package/dist/chunk-QN33PNHL.js +3 -3
  20. package/dist/chunk-QZHKN3VN.js +1 -1
  21. package/dist/chunk-TZMSLE5B.js +1 -1
  22. package/dist/classDiagram-2ON5EDUG.js +1 -1
  23. package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
  24. package/dist/cose-bilkent-S5V4N54A.js +1 -1
  25. package/dist/dagre-6UL2VRFP.js +16 -16
  26. package/dist/diagram-PSM6KHXK.js +38 -38
  27. package/dist/diagram-QEK2KX5R.js +24 -24
  28. package/dist/diagram-S2PKOQOG.js +2 -2
  29. package/dist/erDiagram-Q2GNP2WA.js +15 -15
  30. package/dist/flowDiagram-NV44I4VS.js +1 -1
  31. package/dist/ganttDiagram-LVOFAZNH.js +1 -1
  32. package/dist/gitGraphDiagram-NY62KEGX.js +1 -1
  33. package/dist/graph.js +1 -1
  34. package/dist/index.js +5 -5
  35. package/dist/index2.js +20 -20
  36. package/dist/infoDiagram-F6ZHWCRC.js +3 -3
  37. package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
  38. package/dist/kanban-definition-3W4ZIXB7.js +11 -11
  39. package/dist/layout.js +15 -15
  40. package/dist/lineage/index.js +608 -615
  41. package/dist/main.js +2 -2
  42. package/dist/mermaid-parser.core.js +1 -1
  43. package/dist/mindmap-definition-VGOIOE7T.js +1 -1
  44. package/dist/pieDiagram-ADFJNKIX.js +22 -22
  45. package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
  46. package/dist/redux-toolkit.modern.js +483 -476
  47. package/dist/requirementDiagram-UZGBJVZJ.js +76 -76
  48. package/dist/sankeyDiagram-TZEHDZUN.js +1 -1
  49. package/dist/sequenceDiagram-WL72ISMW.js +1 -1
  50. package/dist/shadcn/index.d.ts +2 -0
  51. package/dist/shadcn/index.js +2 -2
  52. package/dist/stateDiagram-FKZM4ZOC.js +21 -21
  53. package/dist/stateDiagram-v2-4FDKWEC3.js +1 -1
  54. package/dist/timeline-definition-IT6M3QCI.js +1 -1
  55. package/dist/xychartDiagram-PRI3JC2R.js +11 -11
  56. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- import { a0 as c, ac as te, a6 as W, ay as fe, b4 as ye, b5 as be, b6 as me, aN as Ee, at as Y, ab as G, ah as _e, ai as ke, aO as Se, aP as le, aQ as ce } from "./CoachForm.js";
1
+ import { a1 as c, ad as te, a7 as W, az as fe, b5 as ye, b6 as be, b7 as me, aO as Ee, au as Y, ac as G, ai as _e, aj as ke, aP as Se, aQ as le, aR as ce } from "./CoachForm.js";
2
2
  import { g as Ne } from "./chunk-FMBD7UC4.js";
3
3
  var $ = function() {
4
4
  var t = /* @__PURE__ */ c(function(E, s, n, a) {
5
5
  for (n = n || {}, a = E.length; a--; n[E[a]] = s) ;
6
6
  return n;
7
- }, "o"), g = [1, 4], d = [1, 13], r = [1, 12], p = [1, 15], _ = [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], M = [1, 31], x = [6, 7, 11, 24], P = [1, 6, 13, 16, 17, 20, 23], U = [1, 35], j = [1, 36], A = [1, 6, 7, 11, 13, 16, 17, 20, 23], H = [1, 38], V = {
7
+ }, "o"), g = [1, 4], d = [1, 13], r = [1, 12], p = [1, 15], _ = [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], j = [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], H = [1, 38], V = {
8
8
  trace: /* @__PURE__ */ c(function() {
9
9
  }, "trace"),
10
10
  yy: {},
@@ -71,7 +71,7 @@ var $ = function() {
71
71
  break;
72
72
  }
73
73
  }, "anonymous"),
74
- 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: _, 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: _, 18: 17, 19: 18, 20: f, 23: h }, { 6: d, 9: 22, 12: 11, 13: r, 14: 14, 16: p, 17: _, 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: M }), 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: _, 18: 17, 19: 18, 20: f, 23: h }, t(P, [2, 14], { 7: U, 11: j }), t(A, [2, 8]), t(A, [2, 9]), t(A, [2, 10]), t(i, [2, 16], { 15: 37, 24: M }), t(i, [2, 17]), t(i, [2, 18]), t(i, [2, 20], { 24: H }), t(x, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, t(P, [2, 13], { 7: U, 11: j }), t(A, [2, 11]), t(A, [2, 12]), t(i, [2, 15], { 24: H }), t(x, [2, 30]), { 22: [1, 41] }, t(x, [2, 27]), t(x, [2, 29])],
74
+ 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: _, 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: _, 18: 17, 19: 18, 20: f, 23: h }, { 6: d, 9: 22, 12: 11, 13: r, 14: 14, 16: p, 17: _, 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: j }), 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: _, 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: j }), t(i, [2, 17]), t(i, [2, 18]), t(i, [2, 20], { 24: H }), 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: H }), t(x, [2, 30]), { 22: [1, 41] }, t(x, [2, 27]), t(x, [2, 29])],
75
75
  defaultActions: { 2: [2, 1], 6: [2, 2] },
76
76
  parseError: /* @__PURE__ */ c(function(s, n) {
77
77
  if (n.recoverable)
@@ -574,7 +574,7 @@ var xe = $, D = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ c(() => {
574
574
  getLogger: Te,
575
575
  getElementById: Re
576
576
  }, Ve = Pe, Be = /* @__PURE__ */ c(async (t, g, d, r) => {
577
- var U, j, A, H, V;
577
+ var M, U, A, H, V;
578
578
  te.debug(`Rendering kanban diagram
579
579
  ` + t);
580
580
  const _ = r.db.getData(), f = W();
@@ -588,17 +588,17 @@ var xe = $, D = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ c(() => {
588
588
  (m) => m.isGroup
589
589
  );
590
590
  let N = 0;
591
- const i = 10, M = [];
591
+ const i = 10, j = [];
592
592
  let x = 25;
593
593
  for (const m of w) {
594
- const O = ((U = f == null ? void 0 : f.kanban) == null ? void 0 : U.sectionWidth) || 200;
594
+ const O = ((M = f == null ? void 0 : f.kanban) == null ? void 0 : M.sectionWidth) || 200;
595
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;
596
596
  const E = await ye(L, m);
597
- x = Math.max(x, (j = E == null ? void 0 : E.labelBBox) == null ? void 0 : j.height), M.push(E);
597
+ x = Math.max(x, (U = E == null ? void 0 : E.labelBBox) == null ? void 0 : U.height), j.push(E);
598
598
  }
599
599
  let P = 0;
600
600
  for (const m of w) {
601
- const O = M[P];
601
+ const O = j[P];
602
602
  P = P + 1;
603
603
  const E = ((A = f == null ? void 0 : f.kanban) == null ? void 0 : A.sectionWidth) || 200, s = -E * 3 / 2 + x;
604
604
  let n = s;
@@ -677,7 +677,7 @@ var xe = $, D = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ c(() => {
677
677
  `;
678
678
  }
679
679
  return g;
680
- }, "genSections"), Me = /* @__PURE__ */ c((t) => `
680
+ }, "genSections"), je = /* @__PURE__ */ c((t) => `
681
681
  .edge {
682
682
  stroke-width: 3;
683
683
  }
@@ -709,11 +709,11 @@ var xe = $, D = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ c(() => {
709
709
  text-align: center;
710
710
  }
711
711
  ${Ne()}
712
- `, "getStyles"), Ue = Me, We = {
712
+ `, "getStyles"), Me = je, We = {
713
713
  db: Ve,
714
714
  renderer: Fe,
715
715
  parser: xe,
716
- styles: Ue
716
+ styles: Me
717
717
  };
718
718
  export {
719
719
  We as diagram
package/dist/layout.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { G as g } from "./graph.js";
2
2
  import { b as Te, p as ce, q as le, g as z, e as ee, l as j, o as Ie, s as Me, c as Se, u as Fe, d as f, i as m, f as _, v as x, r as M } from "./_baseUniq.js";
3
- import { f as O, b as he, a as je, c as Ve, d as Be, t as V, m as w, e as P, h as ve, g as X, l as T, i as Ae } from "./_basePickBy.js";
4
- import { bM as Ge, bN as Ye, bO as De, bC as qe, bP as $e, bG as pe, bF as we, bQ as We, bB as q, bp as ze, bI as Xe, br as Ue, bR as $ } from "./CoachForm.js";
3
+ import { f as O, b as he, a as je, c as Ve, d as Ae, t as V, m as w, e as P, h as ve, g as X, l as T, i as Be } from "./_basePickBy.js";
4
+ import { bN as Ge, bO as Ye, bP as De, bD as qe, bQ as $e, bH as pe, bG as we, bR as We, bC as q, bq as ze, bJ as Xe, bs as Ue, bS as $ } from "./CoachForm.js";
5
5
  function He(e) {
6
6
  return Ge(Ye(e, void 0, O), e + "");
7
7
  }
@@ -77,7 +77,7 @@ function on(e, n, r) {
77
77
  });
78
78
  }
79
79
  function un(e, n) {
80
- return Be(e, n, function(r, t) {
80
+ return Ae(e, n, function(r, t) {
81
81
  return Me(e, t);
82
82
  });
83
83
  }
@@ -155,20 +155,20 @@ function mn(e, n) {
155
155
  function gn(e, n, r) {
156
156
  for (var t = [], a = n[n.length - 1], i = n[0], o; e.nodeCount(); ) {
157
157
  for (; o = i.dequeue(); )
158
- B(e, n, r, o);
158
+ A(e, n, r, o);
159
159
  for (; o = a.dequeue(); )
160
- B(e, n, r, o);
160
+ A(e, n, r, o);
161
161
  if (e.nodeCount()) {
162
162
  for (var u = n.length - 2; u > 0; --u)
163
163
  if (o = n[u].dequeue(), o) {
164
- t = t.concat(B(e, n, r, o, !0));
164
+ t = t.concat(A(e, n, r, o, !0));
165
165
  break;
166
166
  }
167
167
  }
168
168
  }
169
169
  return t;
170
170
  }
171
- function B(e, n, r, t, a) {
171
+ function A(e, n, r, t, a) {
172
172
  var i = a ? [] : void 0;
173
173
  return f(e.inEdges(t.v), function(o) {
174
174
  var u = e.edge(o), d = e.node(o.v);
@@ -359,13 +359,13 @@ function ie(e) {
359
359
  }
360
360
  function In(e) {
361
361
  f(e.nodes(), function(n) {
362
- A(e.node(n));
362
+ B(e.node(n));
363
363
  }), f(e.edges(), function(n) {
364
364
  var r = e.edge(n);
365
- f(r.points, A), Object.prototype.hasOwnProperty.call(r, "y") && A(r);
365
+ f(r.points, B), Object.prototype.hasOwnProperty.call(r, "y") && B(r);
366
366
  });
367
367
  }
368
- function A(e) {
368
+ function B(e) {
369
369
  e.y = -e.y;
370
370
  }
371
371
  function Mn(e) {
@@ -433,7 +433,7 @@ function ye(e) {
433
433
  var n = new g({ directed: !1 }), r = e.nodes()[0], t = e.nodeCount();
434
434
  n.setNode(r, {});
435
435
  for (var a, i; Vn(n, e) < t; )
436
- a = Bn(n, e), i = n.hasNode(a.v) ? C(e, a) : -C(e, a), An(n, e, i);
436
+ a = An(n, e), i = n.hasNode(a.v) ? C(e, a) : -C(e, a), Bn(n, e, i);
437
437
  return n;
438
438
  }
439
439
  function Vn(e, n) {
@@ -445,13 +445,13 @@ function Vn(e, n) {
445
445
  }
446
446
  return f(e.nodes(), r), e.nodeCount();
447
447
  }
448
- function Bn(e, n) {
448
+ function An(e, n) {
449
449
  return U(n.edges(), function(r) {
450
450
  if (e.hasNode(r.v) !== e.hasNode(r.w))
451
451
  return C(n, r);
452
452
  });
453
453
  }
454
- function An(e, n, r) {
454
+ function Bn(e, n, r) {
455
455
  f(e.nodes(), function(t) {
456
456
  n.node(t).rank += r;
457
457
  });
@@ -1154,7 +1154,7 @@ function Sr(e, n) {
1154
1154
  t.points = a.points, Object.prototype.hasOwnProperty.call(a, "x") && (t.x = a.x, t.y = a.y);
1155
1155
  }), e.graph().width = n.graph().width, e.graph().height = n.graph().height;
1156
1156
  }
1157
- var Fr = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"], jr = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: "tb" }, Vr = ["acyclicer", "ranker", "rankdir", "align"], Br = ["width", "height"], Ar = { width: 0, height: 0 }, Gr = ["minlen", "weight", "width", "height", "labeloffset"], Yr = {
1157
+ var Fr = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"], jr = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: "tb" }, Vr = ["acyclicer", "ranker", "rankdir", "align"], Ar = ["width", "height"], Br = { width: 0, height: 0 }, Gr = ["minlen", "weight", "width", "height", "labeloffset"], Yr = {
1158
1158
  minlen: 1,
1159
1159
  weight: 1,
1160
1160
  width: 0,
@@ -1168,7 +1168,7 @@ function qr(e) {
1168
1168
  $({}, jr, Y(r, Fr), I(r, Vr))
1169
1169
  ), f(e.nodes(), function(t) {
1170
1170
  var a = D(e.node(t));
1171
- n.setNode(t, Ae(Y(a, Br), Ar)), n.setParent(t, e.parent(t));
1171
+ n.setNode(t, Be(Y(a, Ar), Br)), n.setParent(t, e.parent(t));
1172
1172
  }), f(e.edges(), function(t) {
1173
1173
  var a = D(e.edge(t));
1174
1174
  n.setEdge(