@altimateai/ui-components 0.0.64-beta6 → 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 (52) hide show
  1. package/dist/CoachForm.js +6026 -5986
  2. package/dist/_basePickBy.js +25 -25
  3. package/dist/_baseUniq.js +62 -62
  4. package/dist/arc.js +14 -14
  5. package/dist/architectureDiagram-VXUJARFQ.js +125 -125
  6. package/dist/assets/icons/index.js +1 -1
  7. package/dist/blockDiagram-VD42YOAC.js +1 -1
  8. package/dist/c4Diagram-YG6GDRKO.js +1 -1
  9. package/dist/channel.js +3 -3
  10. package/dist/chatbotV2/index.d.ts +15 -9
  11. package/dist/chatbotV2/index.js +54 -53
  12. package/dist/chunk-4BX2VUAB.js +1 -1
  13. package/dist/chunk-55IACEB6.js +1 -1
  14. package/dist/chunk-B4BG7PRW.js +7 -7
  15. package/dist/chunk-DI55MBZ5.js +1 -1
  16. package/dist/chunk-FMBD7UC4.js +1 -1
  17. package/dist/chunk-QN33PNHL.js +3 -3
  18. package/dist/chunk-QZHKN3VN.js +1 -1
  19. package/dist/chunk-TZMSLE5B.js +1 -1
  20. package/dist/classDiagram-2ON5EDUG.js +1 -1
  21. package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
  22. package/dist/cose-bilkent-S5V4N54A.js +1 -1
  23. package/dist/dagre-6UL2VRFP.js +16 -16
  24. package/dist/diagram-PSM6KHXK.js +38 -38
  25. package/dist/diagram-QEK2KX5R.js +24 -24
  26. package/dist/diagram-S2PKOQOG.js +2 -2
  27. package/dist/erDiagram-Q2GNP2WA.js +15 -15
  28. package/dist/flowDiagram-NV44I4VS.js +1 -1
  29. package/dist/ganttDiagram-LVOFAZNH.js +1 -1
  30. package/dist/gitGraphDiagram-NY62KEGX.js +1 -1
  31. package/dist/graph.js +1 -1
  32. package/dist/index.js +4 -4
  33. package/dist/index2.js +20 -20
  34. package/dist/infoDiagram-F6ZHWCRC.js +3 -3
  35. package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
  36. package/dist/kanban-definition-3W4ZIXB7.js +11 -11
  37. package/dist/layout.js +15 -15
  38. package/dist/lineage/index.js +608 -615
  39. package/dist/main.js +1 -1
  40. package/dist/mermaid-parser.core.js +1 -1
  41. package/dist/mindmap-definition-VGOIOE7T.js +1 -1
  42. package/dist/pieDiagram-ADFJNKIX.js +22 -22
  43. package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
  44. package/dist/redux-toolkit.modern.js +483 -476
  45. package/dist/requirementDiagram-UZGBJVZJ.js +76 -76
  46. package/dist/sankeyDiagram-TZEHDZUN.js +1 -1
  47. package/dist/sequenceDiagram-WL72ISMW.js +1 -1
  48. package/dist/stateDiagram-FKZM4ZOC.js +21 -21
  49. package/dist/stateDiagram-v2-4FDKWEC3.js +1 -1
  50. package/dist/timeline-definition-IT6M3QCI.js +1 -1
  51. package/dist/xychartDiagram-PRI3JC2R.js +11 -11
  52. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { d as dt, C as Yn } from "./dayjs.min.js";
2
- import { cd as un, ce as Wn, cf as Xn, cg as Kn, ch as Gn, ci as Zn, cj as rt, ck as Qn, cl as Jn } from "./CoachForm.js";
2
+ import { ce as un, cf as Wn, cg as Xn, ch as Kn, ci as Gn, cj as Zn, ck as rt, cl as Qn, cm as Jn } from "./CoachForm.js";
3
3
  import { g as yt, k as ln, A as ve, l as er, I as Ie, u as cn, m as tr } from "./redux-toolkit.modern.js";
4
4
  import { B as ye, a4 as $e, a5 as He, a6 as nr, X as oe, a7 as rr, T as or, a0 as ft, Y as ir } from "./Stack.js";
5
5
  import { j as h, A as dn, e as sr, f as ar, a as ur, d as lr, D as cr, E as dr, c as fr, b as pr } from "./index2.js";
@@ -1,7 +1,7 @@
1
1
  var Ac = Object.defineProperty;
2
2
  var Ec = (n, e, t) => e in n ? Ac(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var Ze = (n, e, t) => Ec(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { cv as $c, cw as kc, bE as Nl, bZ as xc, bI as Sc, bF as ee, bp as Ic, bq as Ea, bP as Cc, bS as wl, bT as Ll, c2 as $a, bQ as Nc, bs as vt, bt as D, bG as ka, bA as wc } from "./CoachForm.js";
4
+ import { cw as $c, cx as kc, bF as Nl, b_ as xc, bJ as Sc, bG as ee, bq as Ic, br as Ea, bQ as Cc, bT as wl, bU as Ll, c3 as $a, bR as Nc, bt as vt, bu as D, bH as ka, bB as wc } from "./CoachForm.js";
5
5
  import { k as qt, j as Hs, g as nn, S as Lc, w as _c, x as bc, c as _l, v as z, y as bl, l as Oc, z as Pc, A as Mc, B as Dc, C as Fc, a as Ol, d as C, i as Ye, r as le, f as ke, D as Y } from "./_baseUniq.js";
6
6
  import { j as js, m as x, d as Gc, f as Ne, g as Yt, i as zs, h as N, l as Xt, e as Uc } from "./_basePickBy.js";
7
7
  import { c as ne } from "./clone.js";
@@ -1,6 +1,6 @@
1
1
  import { g as le } from "./chunk-55IACEB6.js";
2
2
  import { s as he } from "./chunk-QN33PNHL.js";
3
- import { a0 as l, ac as C, a6 as X, at as j, ab as F, bw as de, ap as ge, aq as ue, aO as pe, aP as fe, aQ as ye } from "./CoachForm.js";
3
+ import { a1 as l, ad as C, a7 as X, au as j, ac as F, bx as de, aq as ge, ar as ue, aP as pe, aQ as fe, aR as ye } from "./CoachForm.js";
4
4
  const E = [];
5
5
  for (let t = 0; t < 256; ++t)
6
6
  E.push((t + 256).toString(16).slice(1));
@@ -1,4 +1,4 @@
1
- import { b0 as S, aU as F, bv as Z, at as q, af as H, ag as J, a2 as K, a3 as Q, a5 as X, a4 as Y, a0 as g, ac as z, am as ee, a6 as te, au as ae, ay as re, aF as ne, ad as ie } from "./CoachForm.js";
1
+ import { b1 as S, aV as z, bw as Z, au as q, ag as H, ah as J, a3 as K, a4 as Q, a6 as X, a5 as Y, a1 as g, ad as F, an as ee, a7 as te, av as ae, az as re, aG as ne, ae as ie } from "./CoachForm.js";
2
2
  import { p as se } from "./chunk-4BX2VUAB.js";
3
3
  import { p as le } from "./mermaid-parser.core.js";
4
4
  import "./redux-toolkit.modern.js";
@@ -11,17 +11,17 @@ function ue(e) {
11
11
  return e;
12
12
  }
13
13
  function pe() {
14
- var e = ue, a = ce, f = null, y = S(0), s = S(F), o = S(0);
14
+ var e = ue, a = ce, f = null, x = S(0), s = S(z), o = S(0);
15
15
  function l(t) {
16
- var n, c = (t = Z(t)).length, u, x, m = 0, p = new Array(c), i = new Array(c), v = +y.apply(this, arguments), w = Math.min(F, Math.max(-F, s.apply(this, arguments) - v)), h, C = Math.min(Math.abs(w) / c, o.apply(this, arguments)), $ = C * (w < 0 ? -1 : 1), d;
16
+ var n, c = (t = Z(t)).length, u, y, m = 0, p = new Array(c), i = new Array(c), v = +x.apply(this, arguments), w = Math.min(z, Math.max(-z, s.apply(this, arguments) - v)), h, C = Math.min(Math.abs(w) / c, o.apply(this, arguments)), $ = C * (w < 0 ? -1 : 1), d;
17
17
  for (n = 0; n < c; ++n)
18
18
  (d = i[p[n] = n] = +e(t[n], n, t)) > 0 && (m += d);
19
19
  for (a != null ? p.sort(function(A, D) {
20
20
  return a(i[A], i[D]);
21
21
  }) : f != null && p.sort(function(A, D) {
22
22
  return f(t[A], t[D]);
23
- }), n = 0, x = m ? (w - c * $) / m : 0; n < c; ++n, v = h)
24
- u = p[n], d = i[u], h = v + (d > 0 ? d * x : 0) + $, i[u] = {
23
+ }), n = 0, y = m ? (w - c * $) / m : 0; n < c; ++n, v = h)
24
+ u = p[n], d = i[u], h = v + (d > 0 ? d * y : 0) + $, i[u] = {
25
25
  data: t[u],
26
26
  index: n,
27
27
  value: d,
@@ -38,7 +38,7 @@ function pe() {
38
38
  }, l.sort = function(t) {
39
39
  return arguments.length ? (f = t, a = null, l) : f;
40
40
  }, l.startAngle = function(t) {
41
- return arguments.length ? (y = typeof t == "function" ? t : S(+t), l) : y;
41
+ return arguments.length ? (x = typeof t == "function" ? t : S(+t), l) : x;
42
42
  }, l.endAngle = function(t) {
43
43
  return arguments.length ? (s = typeof t == "function" ? t : S(+t), l) : s;
44
44
  }, l.padAngle = function(t) {
@@ -56,7 +56,7 @@ var L = q.pie, G = {
56
56
  throw new Error(
57
57
  `"${e}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`
58
58
  );
59
- T.has(e) || (T.set(e, a), z.debug(`added new section: ${e}, with value: ${a}`));
59
+ T.has(e) || (T.set(e, a), F.debug(`added new section: ${e}, with value: ${a}`));
60
60
  }, "addSection"), me = /* @__PURE__ */ g(() => T, "getSections"), ve = /* @__PURE__ */ g((e) => {
61
61
  N = e;
62
62
  }, "setShowData"), Se = /* @__PURE__ */ g(() => N, "getShowData"), _ = {
@@ -72,12 +72,12 @@ var L = q.pie, G = {
72
72
  getSections: me,
73
73
  setShowData: ve,
74
74
  getShowData: Se
75
- }, ye = /* @__PURE__ */ g((e, a) => {
75
+ }, xe = /* @__PURE__ */ g((e, a) => {
76
76
  se(e, a), a.setShowData(e.showData), e.sections.map(a.addSection);
77
- }, "populateDb"), xe = {
77
+ }, "populateDb"), ye = {
78
78
  parse: /* @__PURE__ */ g(async (e) => {
79
79
  const a = await le("pie", e);
80
- z.debug(a), ye(a, _);
80
+ F.debug(a), xe(a, _);
81
81
  }, "parse")
82
82
  }, we = /* @__PURE__ */ g((e) => `
83
83
  .pieCircle{
@@ -110,15 +110,15 @@ var L = q.pie, G = {
110
110
  `, "getStyles"), Ae = we, De = /* @__PURE__ */ g((e) => {
111
111
  const a = [...e.values()].reduce((s, o) => s + o, 0), f = [...e.entries()].map(([s, o]) => ({ label: s, value: o })).filter((s) => s.value / a * 100 >= 1).sort((s, o) => o.value - s.value);
112
112
  return pe().value((s) => s.value)(f);
113
- }, "createPieArcs"), Ce = /* @__PURE__ */ g((e, a, f, y) => {
114
- z.debug(`rendering pie chart
113
+ }, "createPieArcs"), Ce = /* @__PURE__ */ g((e, a, f, x) => {
114
+ F.debug(`rendering pie chart
115
115
  ` + e);
116
- const s = y.db, o = te(), l = ae(s.getConfig(), o.pie), t = 40, n = 18, c = 4, u = 450, x = u, m = re(a), p = m.append("g");
117
- p.attr("transform", "translate(" + x / 2 + "," + u / 2 + ")");
116
+ const s = x.db, o = te(), l = ae(s.getConfig(), o.pie), t = 40, n = 18, c = 4, u = 450, y = u, m = re(a), p = m.append("g");
117
+ p.attr("transform", "translate(" + y / 2 + "," + u / 2 + ")");
118
118
  const { themeVariables: i } = o;
119
119
  let [v] = ne(i.pieOuterStrokeWidth);
120
120
  v ?? (v = 2);
121
- const w = l.textPosition, h = Math.min(x, u) / 2 - t, C = I().innerRadius(0).outerRadius(h), $ = I().innerRadius(h * w).outerRadius(h * w);
121
+ const w = l.textPosition, h = Math.min(y, u) / 2 - t, C = I().innerRadius(0).outerRadius(h), $ = I().innerRadius(h * w).outerRadius(h * w);
122
122
  p.append("circle").attr("cx", 0).attr("cy", 0).attr("r", h + v / 2).attr("class", "pieOuterCircle");
123
123
  const d = s.getSections(), A = De(d), D = [
124
124
  i.pie1,
@@ -144,20 +144,20 @@ var L = q.pie, G = {
144
144
  label: r,
145
145
  value: M
146
146
  })), k = p.selectAll(".legend").data(O).enter().append("g").attr("class", "legend").attr("transform", (r, M) => {
147
- const R = n + c, U = R * O.length / 2, V = 12 * n, j = M * R - U;
148
- return "translate(" + V + "," + j + ")";
147
+ const R = n + c, B = R * O.length / 2, U = 12 * n, j = M * R - B;
148
+ return "translate(" + U + "," + j + ")";
149
149
  });
150
150
  k.append("rect").attr("width", n).attr("height", n).style("fill", (r) => E(r.label)).style("stroke", (r) => E(r.label)), k.append("text").attr("x", n + c).attr("y", n - c).text((r) => s.getShowData() ? `${r.label} [${r.value}]` : r.label);
151
- const B = Math.max(
151
+ const V = Math.max(
152
152
  ...k.selectAll("text").nodes().map((r) => (r == null ? void 0 : r.getBoundingClientRect().width) ?? 0)
153
- ), P = x + t + n + c + B;
153
+ ), P = y + t + n + c + V;
154
154
  m.attr("viewBox", `0 0 ${P} ${u}`), ie(m, u, P, l.useMaxWidth);
155
- }, "draw"), $e = { draw: Ce }, ze = {
156
- parser: xe,
155
+ }, "draw"), $e = { draw: Ce }, Fe = {
156
+ parser: ye,
157
157
  db: _,
158
158
  renderer: $e,
159
159
  styles: Ae
160
160
  };
161
161
  export {
162
- ze as diagram
162
+ Fe as diagram
163
163
  };
@@ -1,4 +1,4 @@
1
- import { a0 as o, aA as _e, at as D, ac as At, a6 as wt, ab as Ae, ag as ie, a2 as ke, a3 as Fe, af as Pe, a4 as ve, a5 as Ce, am as Le, ad as Ee } from "./CoachForm.js";
1
+ import { a1 as o, aB as _e, au as D, ad as At, a7 as wt, ac as Ae, ah as ie, a3 as ke, a4 as Fe, ag as Pe, a5 as ve, a6 as Ce, an as Le, ae as Ee } from "./CoachForm.js";
2
2
  import { s as zt } from "./redux-toolkit.modern.js";
3
3
  import { l as ee } from "./linear.js";
4
4
  var Vt = function() {